Package ghidra.app.cmd.function
Class CreateFunctionDefinitionCmd
java.lang.Object
ghidra.app.cmd.function.CreateFunctionDefinitionCmd
- All Implemented Interfaces:
Command
Command for creating a function definition data type based on the
function signature for a function at an address.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateFunctionDefinitionCmd(Address entry, ServiceProvider serviceProvider) Constructs a new command for creating a function definition. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyTo(DomainObject obj) Applies the command to the given domain object.getName()Returns the name of this command.Returns the status message indicating the status of the command.
-
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.
-
-
Method Details
-
getName
Description copied from interface:CommandReturns the name of this command. -
applyTo
Description copied from interface:CommandApplies the command to the given domain object. -
getStatusMsg
Description copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
getStatusMsgin interfaceCommand- Returns:
- reason for failure, or null if the status of the command was successful
- See Also:
-