Package ghidra.app.cmd.function
Class CreateExternalFunctionCmd
java.lang.Object
ghidra.app.cmd.function.CreateExternalFunctionCmd
-
Constructor Summary
ConstructorDescriptionCreateExternalFunctionCmd
(Namespace externalParentNamespace, String name, Address address, SourceType source) Create an external function in the specified external namespace.CreateExternalFunctionCmd
(Symbol extSymbol) Create an external functionCreateExternalFunctionCmd
(String libraryName, String name, Address address, SourceType source) Create an external function -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
CreateExternalFunctionCmd
Create an external function- Parameters:
extSymbol
- a non-function external symbol
-
CreateExternalFunctionCmd
public CreateExternalFunctionCmd(String libraryName, String name, Address address, SourceType source) Create an external function- Parameters:
libraryName
- library name, if null the UNKNOWN library will be usedname
- function name (required)address
- the address of the function's entry point in the external library (optional)source
- the source type for this external function
-
CreateExternalFunctionCmd
public CreateExternalFunctionCmd(Namespace externalParentNamespace, String name, Address address, SourceType source) Create an external function in the specified external namespace.- Parameters:
externalParentNamespace
- the external parent namespace where the named function should be created (required)name
- function name (required)address
- the address of the function's entry point in the external library (optional)source
- the source type for this external function
-
-
Method Details
-
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
-
getName
Description copied from interface:Command
Returns the name of this command. -
getExtSymbol
-