ghidriff_run_diff
Run a blocking binary diff, comparing old and new binaries to produce structured function changes and match statistics.
Instructions
Run a diff and wait for it to finish (blocking convenience wrapper).
Prefer ghidriff_start_diff for large binaries: this call occupies the tool call for the whole analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Diff engine: VersionTrackingDiff (default), SimpleDiff or StructualGraphDiff. | VersionTrackingDiff |
| summary | No | Also diff the oldest against the newest binary. | |
| timeout_s | No | Overall budget in 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. | |
| output_dir | No | Where to write diffs. Defaults to the job run directory. | |
| new_binaries | Yes | One or more newer binaries, oldest first. | |
| force_analysis | No | Re-analyse every binary instead of reusing cached analysis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||