Package ghidra.app.cmd.function
Class AddFunctionTagCmd
- java.lang.Object
-
- ghidra.app.cmd.function.AddFunctionTagCmd
-
-
Constructor Summary
Constructors Constructor Description AddFunctionTagCmd(java.lang.String tagName, Address entryPoint)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyTo(DomainObject obj)
Applies the command to the given domain object.java.lang.String
getName()
Returns the name of this command.java.lang.String
getStatusMsg()
Returns the status message indicating the status of the command.
-
-
-
Constructor Detail
-
AddFunctionTagCmd
public AddFunctionTagCmd(java.lang.String tagName, Address entryPoint)
Constructor- Parameters:
tagName
- the name of the tag to addentryPoint
- the function address
-
-
Method Detail
-
applyTo
public boolean applyTo(DomainObject obj)
Description copied from interface:Command
Applies the command to the given domain object.
-
getStatusMsg
public java.lang.String getStatusMsg()
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand
- Returns:
- reason for failure, or null if the status of the command was successful
-
-