create_stack_frame_variable
Generate stack frame variables in IDA Pro by specifying function address, offset, variable name, and type to enhance reverse engineering analysis.
Instructions
For a given function, create a stack variable at an offset and with a specific type
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": {
"function_address": "<function_address>",
"offset": "<offset>",
"variable_name": "<variable_name>",
"type_name": "<type_name>"
},
"name": "create_stack_frame_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_address | Yes | Address of the disassembled function to set the stack frame variables | |
| offset | Yes | Offset of the stack frame variable | |
| type_name | Yes | Type of the stack variable | |
| variable_name | Yes | Name of the stack variable |