Package ghidra.app.cmd.function
Class AddRegisterParameterCommand
java.lang.Object
ghidra.app.cmd.function.AddParameterCommand
ghidra.app.cmd.function.AddRegisterParameterCommand
Deprecated.
A command to create a new function register parameter.
-
Field Summary
Fields inherited from class ghidra.app.cmd.function.AddParameterCommand
function, ordinal, source, statusMessage
-
Constructor Summary
ConstructorDescriptionAddRegisterParameterCommand
(Function function, Register register, String name, DataType dataType, int ordinal, SourceType source) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Deprecated.Returns the name of this command.protected Parameter
getParameter
(Program program) Deprecated.Get parameter to be addedMethods inherited from class ghidra.app.cmd.function.AddParameterCommand
applyTo, getStatusMsg
-
Constructor Details
-
AddRegisterParameterCommand
public AddRegisterParameterCommand(Function function, Register register, String name, DataType dataType, int ordinal, SourceType source) Deprecated.
-
-
Method Details
-
getParameter
Deprecated.Description copied from class:AddParameterCommand
Get parameter to be added- Overrides:
getParameter
in classAddParameterCommand
- Parameters:
program
- target program- Returns:
- parameter to be added
- Throws:
InvalidInputException
- if unable to generate parameter due to invalid data
-
getName
Deprecated.Description copied from interface:Command
Returns the name of this command.- Specified by:
getName
in interfaceCommand<Program>
- Overrides:
getName
in classAddParameterCommand
- Returns:
- the name of this command
-
UpdateFunctionCommand
orApplyFunctionSignatureCmd
.