esil_expression
Evaluate raw ESIL expressions in postfix/RPN notation to get computed results, using persistent sessions or a fresh session when needed.
Instructions
Evaluate a raw ESIL expression string and return the result. 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 evaluating the expression | |
| expression | Yes | ESIL expression to evaluate (postfix/RPN notation, e.g. "1,2,+") | |
| 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. |