Skip to content

Headless Ghidra Decompilation

rekit integrates directly with Ghidra's analyzeHeadless automation pipeline on both x86_64 and ARM64 architectures.

Architecture

[Target Binary] ──▶ [rekit CLI/MCP] ──▶ [Ghidra analyzeHeadless] ──▶ [DecompileAll.java] ──▶ [C Pseudocode]

Setup & ARM64 Support

Ghidra runs fully natively on Linux ARM64 with JDK 21:

export GHIDRA_INSTALL_DIR=/opt/ghidra
python3 rekit.py ghidra /bin/ls --func main

Results are saved to structured markdown or .c files without manual GUI interaction.