mirror of
https://github.com/encounter/ghidra-cli.git
synced 2026-07-10 03:18:56 -07:00
0470caf015a32a55487041e2f5aa2f779f842aa6
HeadlessExecutor spawned a new Ghidra process per command, which was slow. The daemon maintains a persistent connection and is now the only way to execute queries. Changes: - Delete src/ghidra/headless.rs entirely - Remove dead handler functions that used HeadlessExecutor: - handle_query, handle_function_command, handle_decompile, - handle_decompile_impl, handle_strings_command, - handle_memory_command, handle_dump_command, handle_summary - Update handle_quick to inform user about daemon requirement - Query::execute replaced with Query::process_results for post-processing of daemon results All query commands (function list, decompile, strings, memory, etc.) now require the daemon to be running. The CLI prints clear instructions when daemon is not available. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ghidra CLI
A high-performance Rust CLI for automating Ghidra reverse engineering tasks, designed for both direct usage and AI agent integration (like Claude Code).
Languages
Rust
70.8%
Java
24.8%
C#
3.3%
Python
1.1%