list_variables
List all local variables, stack variables, and arguments of a function to identify its inputs and stack usage.
Instructions
List all local variables, stack variables, and arguments of a function.
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": "list_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Hex address of the function (e.g. "0x08048000") | |
| binary_path | Yes | Absolute path to the binary file | |
| function_name | No | Name of the function (e.g. "main") |