rzil_get_memory
Read bytes from the RzIL emulated memory at a specified address, with hex, string, or hexdump output, using an active emulation session.
Instructions
Read memory contents from the Rizin RzIL emulated memory space at a given address. Requires a persistent session from rzil_init.
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": {
"session_id": "<session_id>",
"address": "<address>"
},
"name": "rzil_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 | Yes | RzIL session ID returned by rzil_init |