Package ghidra.app.cmd.function
Class SetReturnDataTypeCmd
java.lang.Object
ghidra.app.cmd.function.SetReturnDataTypeCmd
- All Implemented Interfaces:
Command
Command for setting a function's return type.
-
Constructor Summary
ConstructorsConstructorDescriptionSetReturnDataTypeCmd(Address entry, DataType dataType, SourceType source) Constructs a new command for setting a function's return type. -
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
-
SetReturnDataTypeCmd
Constructs a new command for setting a function's return type.- Parameters:
entry- the entry point of the function having its return type set.dataType- the datatype to set on the function.source- TODO
-
-
Method Details
-
getName
Description copied from interface:CommandReturns the name of this command. -
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:
-