Package ghidra.app.cmd.function
Class AddStackParameterCommand
java.lang.Object
ghidra.app.cmd.function.AddParameterCommand
ghidra.app.cmd.function.AddStackParameterCommand
@Deprecated(forRemoval=true,
since="11.1")
public class AddStackParameterCommand
extends AddParameterCommand
Deprecated, for removal: This API element is subject to removal in a future version.
A command to create a new function stack parameter.
-
Field Summary
Fields inherited from class ghidra.app.cmd.function.AddParameterCommand
function, ordinal, source, statusMessage -
Constructor Summary
ConstructorsConstructorDescriptionAddStackParameterCommand(Function function, int stackOffset, String name, DataType dataType, int ordinal, SourceType source) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of this command.protected ParametergetParameter(Program program) Deprecated, for removal: This API element is subject to removal in a future version.Get parameter to be addedMethods inherited from class ghidra.app.cmd.function.AddParameterCommand
applyTo, getStatusMsg
-
Constructor Details
-
AddStackParameterCommand
public AddStackParameterCommand(Function function, int stackOffset, String name, DataType dataType, int ordinal, SourceType source) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getParameter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AddParameterCommandGet parameter to be added- Overrides:
getParameterin classAddParameterCommand- Parameters:
program- target program- Returns:
- parameter to be added
- Throws:
InvalidInputException- if unable to generate parameter due to invalid data
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandReturns the name of this command.- Specified by:
getNamein interfaceCommand<Program>- Overrides:
getNamein classAddParameterCommand- Returns:
- the name of this command
-
UpdateFunctionCommandorApplyFunctionSignatureCmd.