HeadlinesBriefing favicon HeadlinesBriefing.com

Kuna: LLM-Developed Decompiler Rivals IDA Pro

Hacker News •
×

Today I'm releasing Kuna, an experimental decompiler developed over the summer while at AFRL and Metalware. Nearly every line was written by an LLM, yet Kuna rivals IDA Pro (9.2) in control flow structuring on C programs: Kuna achieves perfect structuring on 44.4% of functions versus IDA's 45.7%.

This resulted from autonomous refinement: the LLM studies examples where it underperforms IDA, Ghidra, and angr on fundamental metrics. Through trial and error, it learned how other decompilers solve hard problems, reimplementing over 20 fundamental angr features that took years to design. I spent my PhD as a core angr developer.

Kuna is a Rust port of the NSA's Ghidra, reworked to match angr's pipeline. It stands on decades of scientific effort and requires human-led research to define meaningful benchmarks. Structuring is only one aspect; types, optimizations, recompilability, and variable identification need work.

Thanks to my PhD advisors Fish and Yan, Metalware, AFRL, and the DoD. Interested contributors can explore the code or await a technical follow-up.