rzil_il_ast
Retrieve the RzIL intermediate language AST for instructions at a given address, providing a structured, typed expression tree with bitvector operations for deeper binary analysis.
Instructions
Get the RzIL intermediate language AST for instructions at a given address. Each instruction is lifted to a typed RzIL expression tree with bitvector operations. This is unique to Rizin — r2 ESIL only has flat string expressions.
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": "rzil_il_ast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of instructions to lift (default 5) | |
| address | No | Address to disassemble from (hex). Defaults to entry point. | |
| binary_path | Yes | Absolute path to the binary file |