Headless Ghidra Scope — P0.5
Deprecated compatibility-only alias. Scope selection is now part of P0 Intake; do not route new workflows here as a primary pipeline stage. Keep this document only for older CLI phase aliases or historical runs that still mention P0.5.
Required ghidra-agent-cli Commands
ghidra-agent-cli scope showghidra-agent-cli scope setghidra-agent-cli scope add-entryghidra-agent-cli scope remove-entryghidra-agent-cli gate check --phase P0.5
Inputs
artifacts/<target-id>/pipeline-state.yaml(from P0)artifacts/<target-id>/scope.yaml(initially empty from P0)- User guidance on what to analyze (function names, address ranges, symbols)
- Binary inspection results from
ghidra-agent-cli inspect binary
Outputs
- Updated
artifacts/<target-id>/scope.yamlwith non-emptyentries - Scope mode:
manual,auto, ormixed
Exit Expectations
scope.yamlhas a non-emptyentriessequence.- Each entry references a valid address, function name, or symbol.
- Compatibility P0.5 gate passes when older runs still require it.
Constraints
- Do not run Ghidra analysis or baseline export in this phase.
- Do not modify
pipeline-state.yaml. - Only use
ghidra-agent-cli scopecommands for scope mutations.
Next Step
- Compatibility P0.5 gate passes →
headless-ghidra-baseline