luadec icon indicating copy to clipboard operation
luadec copied to clipboard

Lua Decompiler for lua 5.1 , 5.2 and 5.3

Results 61 luadec issues
Sort by recently updated
recently updated
newest added

[10:05 luadec ]$ make LUAVER=5.3 gcc -o luadec guess.o luadec.o decompile.o disassemble.o proto.o StringBuffer.o structs.o statement.o macro-array.o expression.o ../lua-5.3/src/liblua.a -lm luadec.o: In function `main': luadec.c:(.text.startup+0x204): undefined reference to `luaL_loadfile' collect2:...

'make' is not recognized as an internal or external command w h a t

make LUAVER=5.3 gcc -O2 -Wall -DSRCVERSION=\"895d923\" -I../lua-5.3/src -c -o luaopswap.o luaopswap.c luaopswap.c: In function ‘doargs’: luaopswap.c:117:50: error: ‘allopcodes_lua_len’ undeclared (first use in this function); did you mean ‘allopcodes_luac_len’? fwrite(allopcodes_lua, sizeof(unsigned...

Currently, the only thing brief display mode of ChunkSpy shows for locals, besides their names, is the local "number," which is a basically useless value. (Nothing ever refers to local...

This was a straight-up oversight I discovered while testing compatibility with some more substantial changes.

hello i have this kind of lua files [https://cdn.discordapp.com/attachments/465472550193856526/736522199954882620/LuaPanda.lua](url) i try all possible decompilers but not success to decompile it i need to have a decompiler for this lua files...

assume the lua file is testbyte.lua and the code is : ``` function add(x, y) return x + y end print (add(3, 4)) ``` first i use `luac -s -o...

Fix #74. The decompiler currently handles `OP_CLOSURE` improperly, and looks for the function index in register C, when Lua uses combined register Bx. This will actually work as expected with...

Normal Lua stores opcode and operands in 32 bits in `Op-A-C-B` order, but I have an implementation here that uses a different ordering which caused `OP_CLOSURE` to decompile incorrectly. I...