LuaJIT Decompiler v2 is a replacement tool for the old and now mostly defunct python decompiler.
The project fixes all of the bugs and quirks the python decompiler had while also offering
full support for gotos and stripped bytecode including upvalues.
- Head to the release section and download the latest executable.
- Drag and drop a valid LuaJIT bytecode file or a folder containing such files onto the exe.
- All successfully decompiled
.lua
files are placed into theoutput
folder
located in the same directory as the exe.
Feel free to report any issues you have.
- bytecode big endian support
- improved decompilation logic for conditional assignments and if statements
multi threading for faster recursive file processing
not needed, should already be fast enough
This project uses an boolean expression decompilation algorithm which is based on this paper:
www.cse.iitd.ac.in/~sak/reports/isec2016-paper.pdf