|
decompiler
1.0.0
|
A dummy command used during parsing. More...
#include <interface.hh>
Public Member Functions | |
| virtual void | setData (IfaceStatus *root, IfaceData *data) |
| Associate a specific data object with this command. More... | |
| virtual void | execute (istream &s) |
| virtual string | getModule (void) const |
| Get the formal module name to which this command belongs. More... | |
| virtual IfaceData * | createData (void) |
| Create a specialized data object for this command (and its module) More... | |
Public Member Functions inherited from ghidra::IfaceCommand | |
| virtual | ~IfaceCommand (void) |
| Destructor. | |
| void | addWord (const string &temp) |
| Add a token to the command line string associated with this command. More... | |
| void | removeWord (void) |
| Remove the last token from the associated command line string. | |
| const string & | getCommandWord (int4 i) const |
| Get the i-th command token. | |
| void | addWords (const vector< string > &wordlist) |
| Add words to the associated command line string. | |
| int4 | numWords (void) const |
| Return the number of tokens in the command line string. | |
| void | commandString (string &res) const |
| Get the complete command line string. More... | |
| int4 | compare (const IfaceCommand &op2) const |
| Order two commands by their command line strings. More... | |
A dummy command used during parsing.
|
inlinevirtual |
Create a specialized data object for this command (and its module)
This method is only called once per module
Implements ghidra::IfaceCommand.
|
inlinevirtual |
Execute this command. Additional state can be read from the given command line stream. Otherwise, the command gets its data from its registered IfaceData object
| s | is the input stream from the command line |
Implements ghidra::IfaceCommand.
|
inlinevirtual |
Get the formal module name to which this command belongs.
Commands in the same module share data through their registered IfaceData object
Implements ghidra::IfaceCommand.
|
inlinevirtual |
Associate a specific data object with this command.
| root | is the interface object this command is registered with |
| data | is the data object the command should use |
Implements ghidra::IfaceCommand.
1.8.13