Firmware patch diff
firmware_patch_diffCompare two firmware versions to identify patch-level changes through SHA-256 and size checks, entropy shifts, added or removed strings, and detected component version differences. Read-only analysis.
Instructions
Compare two firmware versions to support patch analysis: SHA-256 and size of both, entropy comparison, the set-difference of extracted strings (added/removed), and component version differences detected in both images. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"beforePath": "<beforePath>",
"afterPath": "<afterPath>"
},
"name": "firmware_patch_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| afterPath | Yes | Path to the newer firmware image (workspace-relative). | |
| beforePath | Yes | Path to the artifact, relative to the authorized workspace root. |