← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Kuna Decompiler Developed Primarily by LLM Rivals IDA Pro in Control Flow Structuring

🔄 Updated 49d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Kuna is an experimental decompiler primarily coded by an LLM.
  • It achieves 44.4% perfect control flow structuring on C programs, close to IDA Pro's 45.7%.
  • The LLM used autonomous refinement, learning from examples where it underperformed.
  • Kuna is a Rust port of Ghidra, re-engineered to match angr's pipeline.

Introduction of Kuna Decompiler

Kuna, an experimental decompiler, has been released. Its development over the summer involved a large language model (LLM) writing nearly every line of code. This project was undertaken while the developer worked as a visiting faculty researcher at the Air Force Research Lab (AFRL) and a research fellow at Metalware.

Performance and Development Methodology

Kuna's performance in control flow structuring on C programs rivals that of IDA Pro (9.2), an industry standard. Recent benchmarks show Kuna achieving perfect structuring on 44.4% of functions, compared to IDA's 45.7%. This was largely accomplished through autonomous refinement, where the LLM studied examples of underperformance against IDA Pro and other decompilers like Ghidra and angr.

This autonomous learning allowed the LLM to re-implement over 20 fundamental features from angr, which previously took years of scientific advancements to design. This approach highlights a new method for developing scientifically interesting tools that can improve automatically.

Context and Limitations

Kuna's existence is built upon decades of decompiler research. It is a Rust port of the NSA’s Ghidra, modified to align with angr’s pipeline. The developer notes that angr remains the primary tool for developing frontier algorithms in decompilation due to its design.

Kuna is primarily an experiment exploring what can be achieved with high-level scientific feedback. Currently, manual coding within Kuna would be significantly more challenging. The project relies on existing open-source research, with the hope that its success could eventually benefit projects like angr.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A new experimental decompiler named Kuna, largely coded by a large language model (LLM), has been released. Kuna demonstrates comparable control flow structuring performance to industry-standard decompilers like IDA Pro on C programs, indicating the potential of LLMs in complex software development tasks through autonomous refinement.