Ghidra Decompiler Analysis Engine
|
Command to toggle options within the decompiler. More...
#include <ghidra_process.hh>
Public Member Functions | |
virtual void | rawAction (void) |
Perform the action of the command. More... | |
Public Member Functions inherited from GhidraCommand | |
int4 | doit (void) |
Configure and execute the command, then send back results. More... | |
Public Attributes | |
bool | res |
Set to true if the option change succeeded. | |
Additional Inherited Members | |
Protected Attributes inherited from GhidraCommand | |
istream & | sin |
The input stream from the Ghidra client. | |
ostream & | sout |
The output stream to the Ghidra client. | |
ArchitectureGhidra * | ghidra |
The Architecture on which to perform the command. | |
int4 | status |
Meta-command to system (0=wait for next command, 1=terminate process) | |
Command to toggle options within the decompiler.
The decompiler supports configuration of a variety of named options that affect everything from how code is transformed to how it is displayed (See ArchOption). The command expects 2 string parameters: the encoded integer id of the program, and an XML document containing an <optionslist> tag. The <optionslist> tag contains one child tag for each option to be configured. The command returns a single character message, 't' or 'f', indicating whether the configuration succeeded.
|
virtual |
Perform the action of the command.
Configuration is assumed to have happened, and this object can immediately begin examining and manipulating data under the active Architecture object to perform the command.
Implements GhidraCommand.