esil_get_memory
Read bytes from ESIL-emulated memory at a specified address, using a persistent session when provided or creating a fresh one. Choose hex, ASCII, or hexdump output to inspect emulated state.
Instructions
Read memory contents from 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>"
},
"name": "esil_get_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of bytes to read (default 64) | |
| format | No | Output format: "hex" (raw hex bytes), "string" (ASCII), or "hexdump" (classic hex dump) | hex |
| address | Yes | Address (hex) to read memory from | |
| 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. |