Class AddRegisterRefCmd

java.lang.Object
ghidra.app.cmd.refs.AddRegisterRefCmd
All Implemented Interfaces:
Command

public class AddRegisterRefCmd extends Object implements Command
Command class to add a register reference to the program.
  • Constructor Details

    • AddRegisterRefCmd

      public AddRegisterRefCmd(Address fromAddr, int opIndex, Register reg, SourceType source)
      Constructs a new command for adding a register reference.
      Parameters:
      fromAddr - "from" address
      opIndex - operand index
      reg - register to add the reference to
      source - the source of this reference
    • AddRegisterRefCmd

      public AddRegisterRefCmd(Address fromAddr, int opIndex, Register reg, RefType refType, SourceType source)
      Constructs a new command for adding a register reference.
      Parameters:
      fromAddr - "from" address
      opIndex - operand index
      reg - register to add the reference to
      refType - reference type or null to use a default RefType
      source - the source of this reference
  • Method Details