IDA Pro MCP

by mrexodia
Verified
MIT License
1,471
  • Linux
  • Apple

rename_local_variable

Modify local variable names within a function in IDA Pro to improve code clarity and maintain reverse engineering workflows. Specify function address, old name, and new name to update variable identifiers.

Instructions

Rename a local variable in a function

Input Schema

NameRequiredDescriptionDefault
function_addressYesAddress of the function containing the variable
new_nameYesNew name for the variable (empty for a default name)
old_nameYesCurrent 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" }
ID: 35q428b8zg