Is it possible to change strings (content and size) in Lua bytecode so that it will still be correct?

后端 未结 3 1038
耶瑟儿~
耶瑟儿~ 2021-01-14 23:59

Is it possible to change strings (content and size) in Lua bytecode so that it will still be correct? It\'s about translating strings in Lua bytecode. Of course, not every l

3条回答
  •  被撕碎了的回忆
    2021-01-15 00:46

    You can try using the decompiler LuaDec. The decompiler would allow the strings to be modified in generated Lua code similar to the original source.

    ChunkSpy has A No-Frills Introduction to Lua 5.1 VM Instructions that may help you understand the compiled chunk format and make the changes directly to bytecode if necessary.

提交回复
热议问题