ghidriff_start_diff
Launch a background binary diff between old and new binaries, returning a job ID for immediate tracking. Configure diff engine, BSIM correlation, and analysis options.
Instructions
Start a binary diff in the background and return a job id immediately.
Raw engine pass-through arguments are deliberately not accepted here: the agent decides what to diff, the operator decides how the engine runs, through GHIDRIFF_MCP_EXTRA_ARGS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bsim | No | Enable Ghidra BSIM function correlation (default: upstream default, on). | |
| engine | No | Diff engine: VersionTrackingDiff (default), SimpleDiff or StructualGraphDiff. | VersionTrackingDiff |
| summary | No | Also diff the oldest against the newest binary (only useful with 3+ binaries). | |
| bsim_full | No | Slower but higher-quality BSIM matching. | |
| timeout_s | No | Kill the run after this many seconds (default: server setting, 3600). | |
| force_diff | No | Diff even when architecture or symbols do not match. | |
| no_symbols | No | Turn symbols off for analysis. Use it for offline/air-gapped work: ghidriff otherwise queries PDB symbol servers such as Microsoft's. | |
| old_binary | Yes | Path to the older binary (relative paths resolve against the workspace). | |
| output_dir | No | Where to write the report and pdiff JSON. Defaults to <run_dir>/ghidriff. | |
| project_dir | No | Ghidra project location. Must not contain a path element starting with '.'. | |
| base_address | No | Base address for both programs, e.g. '0x2000'. | |
| min_func_len | No | Minimum function length considered for diffing. | |
| new_binaries | Yes | One or more newer binaries, oldest first. Several entries produce chained diffs. | |
| side_by_side | No | Also emit side-by-side HTML code diffs (more disk, slower). | |
| force_analysis | No | Re-analyse every binary instead of reusing the Ghidra project (very slow). | |
| max_section_funcs | No | Cap on functions rendered per report section. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||