Noelo-Lab /kuna
An agent-first decompiler designed to be refined by other agents. Kuna is written in Rust and was originally ported from Ghidra.
★ 996⑂ 93👁 5⑃ 1,761● 268▤ 143
-1
日增长
996
stars
93
forks
5
watchers
1,761
prs
268
issues
143
releases
README
Kuna
An agent-first decompiler designed to be refined by other agents.
Kuna is written in Rust and was originally ported from Ghidra, but has since diverged on multiple features and pipeline designs.
This project is an _experiment_ to establish how far the autonomous refinement of decompilers can push research in the field.
Learn more about this approach in this post.
🏆 Kuna has held the top position on DecBench against most modern decompilers for optimized C. Kuna is also one of the _fastest_ decompilers on the planet, decompiling a 19MB binary in under 3 minutes. These wins are only possible thanks to our growing contributors and sponsors who keep Kuna improving.
Questions? Join our Discord:
Install & Usage
Kuna is distributed as a single Rust binary and can be run on most systems.
It can be used either on the CLI, the web browser, or in the Ghidra GUI (as the decompiler backend), most found in releases.
CLI Usage
If building from source, you can find the kuna binary in decompiler/target/release/kuna.
Otherwise, you can find it in the latest release for your OS (Linux, Windows, MacOS supported). The release kuna is a single self-contained binary: the compiled SLEIGH specs are built in.
bash
kuna decompile ./a.out main
kuna decompile ./stripped.bin 0x401040 --addr
decompiles a full binary, returning a .c, .h, and .asm file
kuna decompile-project ./a.out
flip a feature internal to the decompiler (useful for LLMs)
kuna decompile ./a.out main --option compareform canonical
When using it with an agent, install the built-in skill to inform your agent on its efficient usage.
It ships inside the binary, so kuna install-skill sets it up for Claude Code, Codex and OpenCode offline (--dir DIR for other agents, --print to just read it).
Web Browser Usage
Since Kuna is written in Rust, you can also use it in the web browser through WebAssembly.
This will do all of the work on your machine, which means the binary remains private.
Visit decompile.run to use it.
The code for deploying your own site can be found in ./integrations/web
Ghidra GUI Usage
Since Kuna is originally a Ghidra port, the output format has remained largely compatible with Ghidra proper.
You can use the Kuna core as the Ghidra decompiler inside of the traditional Ghidra GUI.
You can either build the extension (./integrations/ghidra), or download the extension for the latest release.
The extension will work on all platforms Kuna is supported on.
To install and activate Kuna in Ghidra, do the following:
1. Download it from the releases , named kuna-version-KunaDecompiler-ghidra....zip.
2. In Ghidra: File → Install Extensions… → + → select the zip → restart.
3. In Ghidra: File → Configure → Miscellaneous → check KunaDecompilerPlugin.
Now, when you decompile, you should see / Kuna v{version} / in the decompilation.
!
All native Ghidra features are not yet supported, so please report them when you find issues.
To disable the Kuna backend, simply disable the plugTop issues
#1824xrefs misses jump-table case bodies that decompile recovers (linear dispatch_slice / guard_limit)5 comments · 2026-11-19#1157Decompiler hangs on a function with two byte-indexed jump tables (never terminates; 600 s budget and `reliable` mode both time out)5 comments · 2026-10-18#1972[PROPOSAL] outlining: collapse repeated inline expansions into synthesised helper calls2 comments · 2026-11-25#1970feature: vftable recovery without RTTI (shape + ctor-store evidence, slot symbols, typed this)2 comments · 2026-11-25#1971feature: caller-supplied function boundaries (--boundaries), per-function output files, --rva1 comments · 2026-11-25#1969bug: spill-and-indexed-reload (float half selection) loses the scalar type, the index parameter and the arithmetic1 comments · 2026-11-25#1968bug: rotate-through-register chain is rewritten as a shift of the original and the returned value is dropped1 comments · 2026-11-25#1918[AUTOMATED] A call to an import without a prototype drops its arguments1 comments · 2026-11-24
Latest release
kuna v1.1008 v1.1008 2026-11-27Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1008-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md. kuna-v1.1008-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File - Install Extensions... - + - pick the zip - restart - enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and