rzil_set_memory
Write hex bytes or ASCII strings to RzIL emulated memory at a given address within an active RzIL session. Use it to modify emulated memory state for testing and analysis.
Instructions
Write data to 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>",
"data": "<data>"
},
"name": "rzil_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 | Yes | RzIL session ID returned by rzil_init |