Package ghidra.app.cmd.refs
Class RemoveReferenceCmd
java.lang.Object
ghidra.app.cmd.refs.RemoveReferenceCmd
- All Implemented Interfaces:
Command
Command for removing memory references.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveReferenceCmd
(Address fromAddr, Address toAddr, int opIndex) Constructs a new command for removing a memory reference.Constructs a new command for removing a memory reference. -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(DomainObject obj) Applies the command to the given domain object.getName()
Returns the name of this command.Returns the status message indicating the status of the command.
-
Constructor Details
-
RemoveReferenceCmd
Constructs a new command for removing a memory reference.- Parameters:
ref
- the reference to remove
-
RemoveReferenceCmd
Constructs a new command for removing a memory reference.- Parameters:
fromAddr
- the address of the codeunit making the reference.toAddr
- the address being referred to.opIndex
- the operand index.
-
-
Method Details
-
applyTo
Description copied from interface:Command
Applies the command to the given domain object. -
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand
- Returns:
- reason for failure, or null if the status of the command was successful
- See Also:
-
getName
Description copied from interface:Command
Returns the name of this command.
-