Package ghidra.app.cmd.function
Class SetFunctionVarArgsCommand
java.lang.Object
ghidra.app.cmd.function.SetFunctionVarArgsCommand
- All Implemented Interfaces:
Command
A simple command to set whether or not a function has VarArgs.
-
Constructor Summary
ConstructorsConstructorDescriptionSetFunctionVarArgsCommand(Function function, boolean hasVarArgs) Creates a new command that will set whether or not there are VarArgs on the given function. -
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
-
SetFunctionVarArgsCommand
Creates a new command that will set whether or not there are VarArgs on the given function.- Parameters:
function- The function on which to set whether or not there are VarArgs.hasVarArgs- true if you want to set this function to have VarArgs.
-
-
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.
-