{
  "added_at": "2026-11-06",
  "category": "native-analysis",
  "description_en": "Human-Readable Decompilation restructures C produced by Ghidra's binary decompiler using an ANTLR parser and AST transformations. It recovers switches from conditional chains, introduces guard clauses, flattens nested branches and simplifies selected expressions. A GUI can launch Ghidra headlessly before transformation, while a CLI handles existing C output.",
  "description_zh": "Human-Readable Decompilation 使用 ANTLR 解析 Ghidra 从二进制文件反编译得到的 C 代码，并进行 AST 转换。功能包括从条件链恢复 switch、引入卫语句、压平嵌套分支及简化部分表达式；图形界面可先启动 Ghidra 无头分析，命令行也能处理已有 C 文件。",
  "entry_url": "https://awesomerea.org/resources/human-readable-decompilation/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/human-readable-decompilation/",
  "evidence_url": "https://github.com/aaronwb/human-readable-decompilation/blob/1cde62db2e3c941ea1ba6dfea67394124704fc58/README.md",
  "group": "tools",
  "id": "human-readable-decompilation",
  "json_url": "https://awesomerea.org/resources/human-readable-decompilation/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/human-readable-decompilation/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/human-readable-decompilation/index.md",
  "name": "Human-Readable Decompilation",
  "name_zh": "Human-Readable Decompilation 反编译 C 代码整理工具",
  "record_type": "resource",
  "relationship": "foundation",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Ghidra 11.4.2 or later, a Java runtime and Python 3 are specified for the full workflow.",
    "ANTLR Python runtime and tools are needed to generate the parser.",
    "Further transformation coverage, including iteration statements, remains planned.",
    "BSD-3-Clause license."
  ],
  "requirements_zh": [
    "完整流程要求 Ghidra 11.4.2 或更新版本、Java 运行时和 Python 3。",
    "生成解析器需要 ANTLR Python 运行库及工具。",
    "循环语句等更多转换类型仍在计划中。",
    "BSD-3-Clause 许可证。"
  ],
  "targets": [
    "binary"
  ],
  "url": "https://github.com/aaronwb/human-readable-decompilation",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
