esil_init
Initialize an ESIL virtual machine with stack memory and obtain a persistent session ID, preserving registers, memory, and program counter across subsequent emulation calls.
Instructions
Initialize the ESIL virtual machine with stack memory and return a persistent session_id for subsequent ESIL tool calls. The session preserves ESIL state (registers, memory, PC) across calls.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"binary_path": "<binary_path>"
},
"name": "esil_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Start address (hex). If omitted, entry point is used. | |
| stack_size | No | ESIL stack size in bytes (default 0x100000) | |
| binary_path | Yes | Absolute path to the binary file | |
| stack_address | No | ESIL stack base address (default "0x00100000") | 0x00100000 |