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.
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 |