Class AddRegisterVarCmd

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

public class AddRegisterVarCmd extends Object implements Command
Command to add a register variable to a function.
  • Constructor Details

    • AddRegisterVarCmd

      public AddRegisterVarCmd(Address addr, Register reg, String name, SourceType source)
      Constructs a new command to add a register variable to a function.
      Parameters:
      addr - initial declaration point of variable.
      reg - register for the new variable.
      name - name of the new variable.
      source - the source of this register variable
    • AddRegisterVarCmd

      public AddRegisterVarCmd(Address addr, Register reg, String name, DataType dataType, SourceType source)
      Constructs a new command to add a register variable to a function.
      Parameters:
      addr - initial declaration point of variable.
      reg - register for the new variable.
      name - name of the new variable.
      dataType - data type to set on the new variable
      source - the source of this register variable
  • Method Details