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