Package ghidra.app.cmd.refs
Class RemoveAllReferencesCmd
java.lang.Object
ghidra.app.cmd.refs.RemoveAllReferencesCmd
- All Implemented Interfaces:
Command
Command to remove all references at an address or for a particular operand
index at an address.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveAllReferencesCmd(Address fromAddr) Constructs a new command for removing all references.RemoveAllReferencesCmd(Address fromAddr, int opIndex) Constructs a new command for removing all references. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyTo(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
-
RemoveAllReferencesCmd
Constructs a new command for removing all references.- Parameters:
fromAddr- the address of the codeunit making the reference.
-
RemoveAllReferencesCmd
Constructs a new command for removing all references.- Parameters:
fromAddr- the address of the codeunit making the reference.opIndex- the operand index.
-
-
Method Details
-
applyTo
Description copied from interface:CommandApplies the command to the given domain object. -
getStatusMsg
Description copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
getStatusMsgin interfaceCommand- Returns:
- reason for failure, or null if the status of the command was successful
- See Also:
-
getName
Description copied from interface:CommandReturns the name of this command.
-