# Human-Readable Decompilation 反编译 C 代码整理工具

> Human-Readable Decompilation 使用 ANTLR 解析 Ghidra 从二进制文件反编译得到的 C 代码，并进行 AST 转换。功能包括从条件链恢复 switch、引入卫语句、压平嵌套分支及简化部分表达式；图形界面可先启动 Ghidra 无头分析，命令行也能处理已有 C 文件。

- 类型：工具
- 目标：二进制
- 类别：原生分析工具
- 关联：基础工具
- 来源复核于：2026-11-06
- 收录于：2026-11-06
- 原始资源：<https://github.com/aaronwb/human-readable-decompilation>
- 一手来源：<https://github.com/aaronwb/human-readable-decompilation/blob/1cde62db2e3c941ea1ba6dfea67394124704fc58/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/human-readable-decompilation/>
- 记录 JSON：<https://awesomerea.org/resources/human-readable-decompilation/record.json>
- 英文版：[English](https://awesomerea.org/resources/human-readable-decompilation/index.md)

## 使用条件与局限

- **前提条件：**完整流程要求 Ghidra 11.4.2 或更新版本、Java 运行时和 Python 3。
- **前提条件：**生成解析器需要 ANTLR Python 运行库及工具。
- **局限：**循环语句等更多转换类型仍在计划中。
- **许可：**BSD-3-Clause 许可证。

## 一手来源

1. <https://github.com/aaronwb/human-readable-decompilation/blob/1cde62db2e3c941ea1ba6dfea67394124704fc58/README.md>

## 同分区更多条目：原生二进制

- [BinStruct Inspector 二进制结构分析器](https://awesomerea.org/zh/resources/binstruct-inspector/index.md) · 工具
- [SimpleParserPE PE32 文件解析器](https://awesomerea.org/zh/resources/simpleparserpe/index.md) · 工具
- [tenet_tracer Tenet 指令轨迹采集器](https://awesomerea.org/zh/resources/tenet-tracer/index.md) · 工具
- [BinScan 批量二进制文件结构分析工具](https://awesomerea.org/zh/resources/binscan/index.md) · 工具
- [Patch-0xC0000022 SysMain 运行时研究工具](https://awesomerea.org/zh/resources/patch-0xc0000022/index.md) · 工具
- [iMonitor Windows 系统行为分析工具](https://awesomerea.org/zh/resources/imonitor-system-activity-monitor/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
