Package ghidra.app.cmd.function
Class CreateFunctionDefinitionCmd
java.lang.Object
ghidra.app.cmd.function.CreateFunctionDefinitionCmd
Command for creating a function definition data type based on the
function signature for a function at an address.
-
Constructor Summary
ConstructorDescriptionCreateFunctionDefinitionCmd
(Address entry, ServiceProvider serviceProvider) Constructs a new command for creating a function definition. -
Method Summary
-
Constructor Details
-
CreateFunctionDefinitionCmd
Constructs a new command for creating a function definition.- Parameters:
entry
- entry point address for the function whose signature is to be used to create the function defintion data type.serviceProvider
- optional service provider (may be null). If specified and theDataTypeManagerService
is found, the newly created function definition will be selected within the GUI.
-
-
Method Details
-
getName
Description copied from interface:Command
Returns the name of this command. -
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
-