Package ghidra.app.cmd.function
Class SetFunctionVarArgsCommand
java.lang.Object
ghidra.app.cmd.function.SetFunctionVarArgsCommand
A simple command to set whether or not a function has VarArgs.
-
Constructor Summary
ConstructorDescriptionSetFunctionVarArgsCommand
(Function function, boolean hasVarArgs) Creates a new command that will set whether or not there are VarArgs on the given function. -
Method Summary
-
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:Command
Applies the command to the given domain object. -
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:Command
Returns the name of this command.
-