Patch Asm
patch_asmAssemble assembly instructions and patch them into a binary at specified addresses, enabling precise code modifications when processor assembler support is available.
Instructions
Assemble instruction text and patch it at address(es). Requires processor assembler support (e.g. x86).
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_asm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of {address, asm} objects | |
| 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. |