Class SetExternalRefCmd
java.lang.Object
ghidra.app.cmd.refs.SetExternalRefCmd
-
Constructor Summary
ConstructorsConstructorDescriptionSetExternalRefCmd(Address fromAddr, int opIndex, String extName, String extLabel, Address extAddr, RefType refType, SourceType source) Constructs a new command for adding external references. -
Method Summary
-
Constructor Details
-
SetExternalRefCmd
public SetExternalRefCmd(Address fromAddr, int opIndex, String extName, String extLabel, Address extAddr, RefType refType, SourceType source) Constructs a new command for adding external references.- Parameters:
fromAddr- from address (source of the reference)opIndex- operand indexextName- name of external programextLabel- label within the external program, may be null if extAddr is not nullextAddr- address within the external program, may be nullrefType- reference type (NOTE: data/pointer should generally utilizeRefType.DATAsource- the source of this reference
-
-
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<Program>- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
-