Perform disassembly, decompilation, debugging, and analysis of code and document files, manually or as part of an analysis pipeline. Use JEB to analyze Android apps, reverse engineer Windows malware, audit embedded code, and much more.
The Android modules for JEB provide static and dynamic analysis capabilities to analyze Android applications, goodware or badware, small or large.
The native code analysis modules provide advanced code analyzers and decompilers for Intel x86, ARM, MIPS, RISC-V processors, WebAssembly modules, Ethereum smart contracts, and Nvidia GPU SASS code.
Our PDF module for JEB can be used to manually or automatically reverse engineer and assess PDF documents.
: Test unluac first. If that fails, try luadec . For LuaJIT, accept disassembly and rewrite. And always respect licensing—decompile responsibly.
Open the .luac file in a hex editor (like HxD or VS Code Hex Editor).
Variables outside the immediate scope of the local function. decompile luac
java -jar unluac.jar compiled_script.luac > decompiled_script.lua Use code with caution.
Last updated: May 2026 – covers Lua versions 5.1 to 5.4.2. : Test unluac first
Decompiling .luac files involves converting compiled Lua bytecode back into human-readable source code. Because Lua is an interpreted language, its bytecode often retains significant structure, making restoration easier than with compiled languages like C++. Key Tools for Decompilation
Decompiling a .luac (Lua Compiled) file involves converting precompiled bytecode back into human-readable Lua source code. This process is highly dependent on the (e.g., 5.1, 5.2, 5.3, or LuaJIT) used to compile the file, as bytecode is generally incompatible across versions. Recommended Tools for Decompilation And always respect licensing—decompile responsibly
Legitimate reasons include:
Open your .luac file in a Hex Editor (like HxD for Windows, or using the xxd command in Linux/macOS). Look at the first few bytes (the file header).
for f in *.luac; do java -jar unluac.jar "$f" > "$f%.luac.lua" done
| Scenario | Reason | |----------|--------| | | Analyze how a game calculates damage, spawns entities, or triggers events to create mods or cheats (single-player). | | Malware analysis | Many IoT bots (e.g., Lua-based botnets like “LuaBot”) use compiled Lua to evade detection. Decompilation reveals network commands and encryption. | | Legacy code recovery | Lost source for embedded device firmware or old game server scripts. | | Security audits | Ensure 3rd-party compiled plugins don’t contain backdoors or anti-competitive code. | | Education | Understand how Lua bytecode maps to high-level constructs. |