Patch Bytes
patch_bytesWrites raw bytes to one or more addresses in an IDA Pro database, enabling targeted binary patching during reverse engineering.
Instructions
Patch bytes at address(es). Each item: {address, bytes}.
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": {
"items": "<items>"
},
"name": "patch_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of {address, bytes: [int,...] or hex_string} | |
| timeout | No | Timeout in seconds | |
| instance_id | No | REQUIRED whenever more than one database is open (from open_database's result or list_databases()); optional only while exactly one instance is live. |