esil_get_registers
Read all registers or a specific register from the ESIL virtual machine state. Optionally set the program counter address before reading.
Instructions
Read all register values or a specific register from the ESIL virtual machine state. If session_id is provided, uses a persistent session; otherwise creates a fresh session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Address (hex) to set as program counter before reading 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 | No | Specific register name to read (e.g. "eax", "rip"). If omitted, all registers are returned. |