esil_set_memory
Write data to ESIL emulated memory at a specified address, supporting hex bytes or ASCII strings and persistent sessions for continued emulation.
Instructions
Write data to the ESIL emulated memory space at a given address. If session_id is provided, uses a persistent session; otherwise creates a fresh session.
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": {
"address": "<address>",
"data": "<data>"
},
"name": "esil_set_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to write: hex bytes (e.g. "90909090") or a string if as_string is true | |
| address | Yes | Address (hex) to write memory to | |
| as_string | No | If true, write data as an ASCII string; otherwise write as raw hex bytes | |
| session_id | No | Persistent ESIL session ID from esil_init. If provided, binary_path is ignored. | |
| binary_path | No | Absolute path to the binary file. Required when session_id is not provided. |