rename_local_variable
Rename local variables within functions in IDA Pro. Specify the function address, current variable name, and new name to update variable identifiers during reverse engineering.
Instructions
Rename a local variable in a function
Input Schema
Name | Required | Description | Default |
---|---|---|---|
function_address | Yes | Address of the function containing the variable | |
new_name | Yes | New name for the variable (empty for a default name) | |
old_name | Yes | Current name of the variable |
Input Schema (JSON Schema)
{
"properties": {
"function_address": {
"description": "Address of the function containing the variable",
"title": "Function Address",
"type": "string"
},
"new_name": {
"description": "New name for the variable (empty for a default name)",
"title": "New Name",
"type": "string"
},
"old_name": {
"description": "Current name of the variable",
"title": "Old Name",
"type": "string"
}
},
"required": [
"function_address",
"old_name",
"new_name"
],
"title": "rename_local_variableArguments",
"type": "object"
}