Repository navigation
Releases
DecompX 0.3.0
DecompX opens many more kinds of programs.
New
- Original Xbox
.xbefiles. - Xbox 360
.xexprograms and DLLs that are not encrypted and are uncompressed or basic-compressed. DecompX does not remove protection. - APK and zip packages: the main native library opens directly, and
decompx unpackextracts all of them. - PowerPC (32/64-bit) and RISC-V (32/64-bit) disassembly, alongside x86, x86-64, ARM, Thumb, ARM64 and MIPS.
Fixed
- 32-bit Android libraries made of Thumb code were disassembled as ARM, giving garbage.
Limits
- The Xbox loaders are tested only on small hand-built samples, not real games. XEX imports are not listed.
- The built-in AI decompiler model covers x86-64 only; other processors use the weaker optional assistant.
- No Java/Kotlin (DEX) or .NET bytecode decompiling, no RISC-V assembling, no PowerPC or RISC-V emulation.
- Calls between functions are not detected in position-independent MIPS code.
Update: Termux: pkg upgrade. Debian/Ubuntu: sudo apt update && sudo apt upgrade.
What was tested: 64 automated tests on Windows; the packaged Windows and Linux command lines; the packaged Windows desktop app opening an APK; the APK on an x86_64 Android emulator. ARM64 builds, used by real phones, have not been run.
Packages containing Keystone (and Unicorn) are distributed under GPL-2.0. Their sources are attached; see THIRD_PARTY.md.
DecompX 0.2.0
DecompX now has its own local AI. Ollama is no longer used or needed.
New
decompx setup-ai(also offered on first use in the desktop and Android apps) downloads a decompiler model (LLM4Decompile 1.3B v1.5, 0.87 GB) and the llama.cpp engine once, checks them against pinned checksums, then works offline.- Optional assistant model (Qwen3.5 2B, 1.28 GB) for questions, reviews and name suggestions:
decompx setup-ai --assistant. - The Android app decompiles on the phone itself.
- Windows programs are translated into the form the model understands, and string constants are shown to it.
decompile --modelwas removed; setDECOMPX_MODELto use another GGUF file.
How good it is
On small C test functions, the recompiled output behaved like the original in 155 of 224 cases (69%) with function names and 97 of 224 (43%) without. The decompiler covers x86-64 functions of up to 400 instructions; other code falls back to the assistant, which is much weaker. Always check the result against the disassembly. I also tried fine-tuning the model; it did worse on unseen functions, so the original is used.
Termux: run pkg upgrade first, then pkg install decompx and decompx setup-ai.
What was tested
- Windows and Linux (WSL Ubuntu): decompiling with the packaged command line. The desktop app was started and driven from source; the packaged one only checked to start.
- APK and Termux: on an x86_64 Android 15 emulator. The ARM64 builds, used by real phones, have not been run. The APK engine needs a 64-bit ARM processor from about 2018 or newer.
Packages containing Keystone (and Unicorn) are distributed under GPL-2.0. Their sources are attached; see THIRD_PARTY.md.
DecompX 0.1.0
First packaged release.
Downloads
- Windows x64:
decompx.exe(command line),decompx-gui-windows-x64.zip(desktop). Not code-signed, so SmartScreen may warn. - Linux x86_64:
decompx-linux-x86_64,decompx-gui-linux-x86_64.tar.gz. Built on Ubuntu 26.04 and needs an equally recent glibc. - Android 8+:
DecompX-0.1.0.apk. Touch app: browse, edit text and numbers, patch assembly, save a copy. No emulation. AI decompile needs Ollama running on the device. - Termux and Debian/Ubuntu:
.debfiles, or add the repository (see the README). Command line only.
What was tested
- Windows: command line patched programs that were then run; the desktop app was only checked to start.
- Linux: run on the build machine only.
- APK and Termux: on an x86_64 Android 15 emulator. The ARM64 builds, used by real phones, have not been run.
- AI decompilation is often wrong; check it against the disassembly.
Packages containing Keystone (and Unicorn) are distributed under GPL-2.0. Their sources are attached; see THIRD_PARTY.md.