Package ghidra.app.cmd.refs
Class AddShiftedMemRefCmd
java.lang.Object
ghidra.app.cmd.refs.AddShiftedMemRefCmd
Command class to add a shifted memory reference to the program.
-
Constructor Summary
ConstructorsConstructorDescriptionAddShiftedMemRefCmd(Address fromAddr, Address toAddr, RefType refType, SourceType source, int opIndex, int shift) Command constructor for adding a shifted memory reference -
Method Summary
-
Constructor Details
-
AddShiftedMemRefCmd
public AddShiftedMemRefCmd(Address fromAddr, Address toAddr, RefType refType, SourceType source, int opIndex, int shift) Command constructor for adding a shifted memory reference- Parameters:
fromAddr- address of the codeunit where the reference occurstoAddr- computed as the value of the operand at opIndex shifted by the number of bits specified by shiftValuerefType- reference type - how the location is being referenced.source- the source of the referenceopIndex- the operand index in the code unit where the reference occursshift- the number of bits to shift the value by
-
-
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
Description copied from interface:CommandReturns the name of this command.
-