emu_write_mem
Write hex data to emulated memory at a specified address and get the number of bytes written, enabling controlled memory setup for binary function emulation.
Instructions
Write hex data to emulated memory. Returns number of bytes written.
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": {
"addr": "<addr>",
"data_hex": "<data_hex>"
},
"name": "emu_write_mem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | ||
| data_hex | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |