rename_variable
Rename a local variable or parameter in the Ghidra decompiler by identifying its function via address or name.
Instructions
Rename a local variable or parameter as shown in the decompiler. Identify the function by function_address (preferred) or function_name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| old_name | Yes | ||
| function_name | No | ||
| function_address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||