2026-01-26 07:30:32 -08:00
|
|
|
# ghidra-cli Navigation Index
|
|
|
|
|
|
|
|
|
|
See @AGENTS.md for agent-specific instructions.
|
|
|
|
|
|
|
|
|
|
## Key Files
|
|
|
|
|
|
|
|
|
|
| What | When |
|
|
|
|
|
|------|------|
|
2026-02-04 14:26:33 -08:00
|
|
|
| `src/main.rs` | Modifying CLI entry point, bridge lifecycle, or output format detection |
|
2026-02-04 18:54:58 -08:00
|
|
|
| `src/main.rs` `verify_bridge()` | Changing bridge ping verification after connecting to an existing bridge |
|
|
|
|
|
| `src/main.rs` `extract_program_from_command()` | Adding new command variants that support `--program` switching |
|
2026-01-26 07:30:32 -08:00
|
|
|
| `src/cli.rs` | Adding/modifying CLI arguments and subcommands |
|
|
|
|
|
| `src/format/mod.rs` | Implementing new output formats or changing format detection logic |
|
2026-02-04 14:26:33 -08:00
|
|
|
| `src/ghidra/bridge.rs` | Bridge process management (start/stop/status/connect via TCP) |
|
|
|
|
|
| `src/ghidra/scripts/GhidraCliBridge.java` | Java bridge server (TCP, command handlers, Ghidra API) |
|
|
|
|
|
| `src/ipc/client.rs` | BridgeClient (TCP connection, command methods) |
|
|
|
|
|
| `src/ipc/protocol.rs` | BridgeRequest/BridgeResponse wire format |
|
|
|
|
|
| `PLAN-java-plugin.md` | Architecture decisions and migration rationale |
|
2026-01-26 07:30:32 -08:00
|
|
|
| `README.md` | Understanding project architecture or user-facing command documentation |
|
|
|
|
|
|
|
|
|
|
## Modules
|
|
|
|
|
|
|
|
|
|
| What | When |
|
|
|
|
|
|------|------|
|
2026-02-04 14:26:33 -08:00
|
|
|
| `src/ghidra/` | Bridge management, Ghidra setup/installation, Java bridge script |
|
|
|
|
|
| `src/ipc/` | TCP client, protocol definitions, transport helpers |
|
2026-01-26 07:30:32 -08:00
|
|
|
| `src/format/` | Handling output format conversion (Table, Compact, JSON, CSV, etc.) |
|
|
|
|
|
| `tests/` | Writing integration or unit tests |
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|
| What | When |
|
|
|
|
|
|------|------|
|
2026-01-26 16:04:00 -08:00
|
|
|
| `CHANGELOG.md` | Reviewing version history and release notes |
|
2026-02-04 18:54:58 -08:00
|
|
|
| `src/ghidra/README.md` | Understanding bridge lifecycle, PID file sequence, TOCTOU elimination, BridgeClient adoption |
|
|
|
|
|
| `src/ipc/README.md` | Understanding TCP wire format, BridgeClient API, single implementation rationale |
|
2026-01-26 07:30:32 -08:00
|
|
|
| `tests/README.md` | Understanding test structure and conventions |
|