Class SetVariableNameCmd

java.lang.Object
ghidra.app.cmd.function.SetVariableNameCmd
All Implemented Interfaces:
Command

public class SetVariableNameCmd extends Object implements Command
Command to rename a stack variable.
  • Constructor Details

    • SetVariableNameCmd

      public SetVariableNameCmd(Variable var, String newName, SourceType source)
      Constructs a new command to rename a stack/reg variable.
      Parameters:
      var - variable to rename
      newName - the new name to give to the stack variable.
      source - the source of this variable name
    • SetVariableNameCmd

      public SetVariableNameCmd(Address fnEntry, String varName, String newName, SourceType source)
      Constructs a new command to rename a stack/reg variable.
      Parameters:
      fnEntry -
      varName -
      newName -
      source -
  • Method Details