esil_set_register
Set a register value in the ESIL virtual machine to control emulation state. Use a persistent session ID for continuity, or provide a binary path to create a fresh session.
Instructions
Set a register value in the ESIL virtual machine. If session_id is provided, uses a persistent session; otherwise creates a fresh session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set the register to (hex string, e.g. "0x41414141") | |
| address | No | Address (hex) to set as program counter before modifying registers | |
| session_id | No | Persistent ESIL session ID from esil_init. If provided, binary_path and address are ignored. | |
| binary_path | No | Absolute path to the binary file. Required when session_id is not provided. | |
| register_name | Yes | Register name to set (e.g. "eax", "rip", "rsp") |