Package ghidra.app.cmd.function
Class AddStackParameterCommand
- java.lang.Object
-
- ghidra.app.cmd.function.AddParameterCommand
-
- ghidra.app.cmd.function.AddStackParameterCommand
-
- All Implemented Interfaces:
Command
public class AddStackParameterCommand extends AddParameterCommand
A command to create a new function stack parameter.- Since:
- Tracker Id 526
-
-
Field Summary
-
Fields inherited from class ghidra.app.cmd.function.AddParameterCommand
function, ordinal, parameter, source, statusMessage
-
-
Constructor Summary
Constructors Constructor Description AddStackParameterCommand(Function function, int stackOffset, java.lang.String name, DataType dataType, int ordinal, SourceType source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this command.protected Parameter
getParameter(Program program)
-
Methods inherited from class ghidra.app.cmd.function.AddParameterCommand
applyTo, getStatusMsg
-
-
-
-
Constructor Detail
-
AddStackParameterCommand
public AddStackParameterCommand(Function function, int stackOffset, java.lang.String name, DataType dataType, int ordinal, SourceType source)
-
-
Method Detail
-
getParameter
protected Parameter getParameter(Program program) throws InvalidInputException
- Overrides:
getParameter
in classAddParameterCommand
- Throws:
InvalidInputException
-
getName
public java.lang.String getName()
Description copied from interface:Command
Returns the name of this command.- Specified by:
getName
in interfaceCommand
- Overrides:
getName
in classAddParameterCommand
- Returns:
- the name of this command
- See Also:
Command.getName()
-
-