A Rust CLI for AI agents automating native-binary reverse engineering with Ghidra: decompilation, queries, types, scripts, and patches. One persistent Java bridge per project keeps analysis state in Ghidra's JVM between commands.
Requires a stable Rust toolchain and a full JDK compatible with your Ghidra version (JDK 21 for Ghidra 12.x).
git clone https://github.com/toratako/ghidra-cli
cd ghidra-cli
cargo install --path .
ghidra-cli setup
ghidra-cli doctorFor an existing Ghidra installation, set GHIDRA_INSTALL_DIR instead of running
ghidra-cli setup. Doctor exits with code 1 if a readiness check fails.
Use explicit addresses such as 0x401000 or overlay:0x1000; unprefixed
targets are exact names. Address results can be reused directly as inputs.
- ghidra-cli skill: commands and operational semantics for RE agents.
- Configuration and recovery: JDK selection, environment variables, and troubleshooting.
Development: AGENTS.md, tests, documentation map, and release history.
Licensed under GPL-3.0.