{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/NOTICE",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/LICENSE",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/decompiler/Cargo.toml",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/docs/history.md",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/integrations/ghidra/KunaDecompiler/README.md",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/skills/kuna/SKILL.md",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/.github/workflows/tests.yml",
    "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/.github/workflows/release.yml",
    "https://github.com/Noelo-Lab/kuna/releases/tag/v1.906"
  ],
  "category": "native-analysis",
  "description_en": "Agent-first decompiler written in Rust that began as a port of Ghidra’s C++ decompiler and SLEIGH compiler, and has since diverged with option-gated features, some ported from angr. A single self-contained kuna binary decompiles one function or exports a whole binary to C, header and assembly files, and the same engine runs in the browser through WebAssembly or as the decompiler backend inside Ghidra. The project calls itself an experiment in having LLM agents refine the decompiler; most code is agent-written and steered by regression and benchmark results.",
  "description_zh": "以智能体为核心、用 Rust 编写的反编译器，最初移植自 Ghidra 的 C++ 反编译器和 SLEIGH 编译器，此后加入了可按选项开关的功能（部分移植自 angr），已与上游分化。单个自包含的 kuna 程序可反编译单个函数，也可将整个二进制导出为 C、头文件和汇编文件；同一引擎还能通过 WebAssembly 在浏览器中运行，或在 Ghidra 中充当反编译后端。项目自称是让 LLM 智能体持续改进反编译器的实验，大部分代码由智能体编写，并以回归测试和基准结果为导向。",
  "entry_url": "https://awesomerea.org/resources/kuna/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/kuna/",
  "evidence_url": "https://github.com/Noelo-Lab/kuna/blob/d1f98e52e054bc7684fd5bb13fca5088f3e09a2d/README.md",
  "group": "tools",
  "id": "kuna",
  "json_url": "https://awesomerea.org/resources/kuna/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/kuna/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/kuna/index.md",
  "name": "Kuna",
  "name_zh": "Kuna 智能体优先反编译器",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "The README calls Kuna an experiment. A scheduled workflow publishes releases daily; the latest at review, v1.906 of 2026-10-18, has kuna archives for Linux x86_64 (glibc and musl) and arm64, macOS arm64 and x86_64 and Windows x86_64, a specs archive and a Ghidra 12.1.2 extension zip. The reviewed main commit is 40 commits ahead of it, and the README’s Ghidra install step still links the older v1.157 zip.",
    "Release binaries embed the compiled SLEIGH specs. Source builds need only a Rust toolchain, with the workspace declaring Rust 1.90+; make specs compiles the vendored Ghidra processor specs before a release-style kuna build. Users supply the binaries to analyze; the README says the browser version decompiles on the user’s machine, so the file stays local.",
    "The Ghidra extension is version-locked to the Ghidra release in its file name and bundles Linux, macOS and Windows backends; other 12.x releases are marked unverified, and the README says not all native Ghidra features are supported yet. Headless Ghidra never loads the plugin, so the README swaps the stock decompile binary or uses a PyGhidra toggle, and reports testing that swap with Ghidra 12.1.2 and REA 3.1.0.",
    "CI runs the 675-assertion XML regression corpus vendored from Ghidra against a checked-in baseline, Kuna’s own stage testcases, the cargo workspace suite, a spec-documentation check, CLI tests and the browser page’s modules. docs/history.md reports that the Rust port matched all 675 assertions against the untouched C++ decompiler before the C++ tree was removed. The README’s top DecBench standing and speed figures are project-reported.",
    "Apache-2.0. NOTICE says the engine, SLEIGH compiler, processor specs and regression corpus derive from Ghidra, also Apache-2.0, and that some structuring and region-recovery code is ported from angr under BSD-2-Clause. Output can differ from stock Ghidra by design and is a reading aid."
  ],
  "requirements_zh": [
    "README 称 Kuna 是一项实验。项目由定时工作流每天发布版本；审阅时最新为 2026-10-18 的 v1.906，提供 Linux x86_64（glibc 与 musl）和 arm64、macOS arm64 与 x86_64、Windows x86_64 的 kuna 压缩包，以及规格文件包和适配 Ghidra 12.1.2 的扩展 zip。所审阅的 main 分支提交比该版本多 40 个提交，而 README 的 Ghidra 安装步骤仍链接较旧的 v1.157 扩展包。",
    "发布版二进制已内置编译好的 SLEIGH 规格。从源码构建只需 Rust 工具链，工作区声明 Rust 1.90+；构建与发布版一致的 kuna 之前，需先用 make specs 编译随仓库附带的 Ghidra 处理器规格。待分析的二进制由使用者自备；README 称浏览器版在使用者本机完成反编译，文件不会离开本地。",
    "Ghidra 扩展与文件名中的 Ghidra 版本绑定，内含 Linux、macOS 和 Windows 后端；其他 12.x 版本被标为未经验证，README 也说明尚不支持 Ghidra 原生的全部功能。无界面 Ghidra 不加载该插件，因此 README 改为替换原有的 decompile 程序或使用 PyGhidra 开关，并称已在 Ghidra 12.1.2 和 REA 3.1.0 上测试过这种替换。",
    "CI 运行从 Ghidra 引入的 XML 回归语料（675 条断言）并与仓库内的基线比对，同时运行 Kuna 自有的阶段测试用例、cargo 工作区测试、规格文档检查、CLI 测试和浏览器页面模块测试。docs/history.md 称 Rust 移植版在移除 C++ 代码树之前，已在全部 675 条断言上与未改动的 C++ 反编译器一致。README 中的 DecBench 领先名次和速度数据为项目自述。",
    "采用 Apache-2.0 许可。NOTICE 说明引擎、SLEIGH 编译器、处理器规格和回归语料源自同为 Apache-2.0 的 Ghidra，部分结构化与区域恢复代码按 BSD-2-Clause 移植自 angr。其输出按设计可能与原版 Ghidra 不同，只是阅读辅助。"
  ],
  "targets": [
    "binary"
  ],
  "url": "https://github.com/Noelo-Lab/kuna",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
