New Features
- CLI Tool (
ghydra): Standalone command-line interface with Rich tables, syntax highlighting, and--jsonmode for scripting. Full command coverage for all API endpoints. - MCP text output: Decorator-based human-readable text output for all MCP bridge tools
- Project management: Get project info, list files, open files in new CodeBrowser windows
- Analysis control: Trigger and monitor program analysis, call graph and data flow analysis
- Disassembly pagination:
offset/limitparameters with metadata (totalInstructions,returned) - Decompile line filtering: Filter decompiled output for context management
- Xrefs shortcuts: Quick cross-reference lookup and function-containing-address resolution
- Configurable decompiler:
show_constants,timeout, and multiple simplification styles - Struct management: Create, modify, and delete struct data types
- Data type management: Foundation for managing data types programmatically
- Port range expansion: Up to 256 simultaneous Ghidra instances (ports 8192-8447)
Bug Fixes
- Fix StackOverflow from pointer-chain symbol name resolution (dynamic symbols at pointer addresses causing infinite recursion in
SymbolDB.getName()) - Increase HTTP handler thread stack to 4MB for deep B-tree traversal in large binaries
- Wrap HTTP handlers to catch
Errortypes (StackOverflow, OutOfMemory) - Fix
hexBytesformat in memory read responses (strip spaces) - Fix xrefs API parameter names (
to_addr/from_addr) - Fix table formatter field names to match API response format
- Fix data type clearing when changing types
- Fix program opening and type detection
- Resolve Enum type ambiguity in DataTypeEndpoints
Docs
- CLI tool highlighted in README with quick start examples
- Full CLI reference in GHYDRA_CLI.md
- Updated API docs for v2.2.0