19 #ifndef __GHIDRA_PROCESS__ 20 #define __GHIDRA_PROCESS__ 77 virtual void loadParameters(
void);
78 virtual void sendResult(
void);
89 virtual void rawAction(
void)=0;
107 virtual void loadParameters(
void);
108 virtual void sendResult(
void);
111 virtual void rawAction(
void);
121 virtual void loadParameters(
void);
122 virtual void sendResult(
void);
125 virtual void rawAction(
void);
136 virtual void sendResult(
void);
139 virtual void rawAction(
void);
154 virtual void loadParameters(
void);
156 virtual void rawAction(
void);
172 virtual void loadParameters(
void);
174 virtual void rawAction(
void);
206 virtual void loadParameters(
void);
207 virtual void sendResult(
void);
210 virtual void rawAction(
void);
224 virtual void loadParameters(
void);
225 virtual void sendResult(
void);
230 virtual void rawAction(
void);
233 #ifdef OPACTION_DEBUG 234 extern void turn_on_debugging(
Funcdata *fd);
235 extern void turn_off_debugging(
Funcdata *fd);
GhidraCommand(void)
Construct given i/o streams.
Definition: ghidra_process.hh:80
const string & getName(void) const
Get the capability name.
Definition: ghidra_process.hh:43
Base class for a command to the decompiler as issued by a Ghidra client.
Definition: ghidra_process.hh:71
static map< string, GhidraCommand * > commandmap
The central map from name to Ghidra command.
Definition: ghidra_process.hh:40
string name
Identifier for capability and associated commands.
Definition: ghidra_process.hh:41
Container for data structures associated with a single function.
Definition: funcdata.hh:45
Command to toggle options within the decompiler.
Definition: ghidra_process.hh:222
int4 archid
Resulting id of the program to send back.
Definition: ghidra_process.hh:110
Infrastructure for discovering code extensions to the decompiler.
int4 res
The meta-command being issued to send back.
Definition: ghidra_process.hh:124
The core decompiler commands capability.
Definition: ghidra_process.hh:52
bool res
Set to true if the option change succeeded.
Definition: ghidra_process.hh:229
bool res
Set to true if the configuration action was successful.
Definition: ghidra_process.hh:209
A low-level machine address for labelling bytes and data.
Definition: address.hh:46
Command to decompile a specific function.
Definition: ghidra_process.hh:152
ostream & sout
The output stream to the Ghidra client.
Definition: ghidra_process.hh:74
A control-flow block built out of sub-components.
Definition: block.hh:270
Registration point and dispatcher for commands sent to the decompiler.
Definition: ghidra_process.hh:38
istream & sin
The input stream from the Ghidra client.
Definition: ghidra_process.hh:73
virtual void initialize(void)=0
Complete initialization of an extension point.
A complete in-memory XML document.
Definition: xml.hh:206
Command to flush all symbols associated with a Program (executable)
Definition: ghidra_process.hh:135
virtual ~GhidraCommand(void)
Destructor.
Definition: ghidra_process.hh:83
Class for automatically registering extension points to the decompiler.
Definition: capability.hh:36
Ghidra specific architecture information and connection to a Ghidra client.
An implementation of the Architecture interface and connection to a Ghidra client.
Definition: ghidra_arch.hh:60
Command to register a new Program (executable) with the decompiler.
Definition: ghidra_process.hh:102
static int4 readCommand(istream &sin, ostream &out)
Dispatch a Ghidra command.
Definition: ghidra_process.cc:459
ArchitectureGhidra * ghidra
The Architecture on which to perform the command.
Definition: ghidra_process.hh:75
Interface for requesting data-type information from a Ghidra client.
Command to set the root Action used by the decompiler or toggle output components.
Definition: ghidra_process.hh:203
Command to release all resources associated with a Program (executable) in the decompiler.
Definition: ghidra_process.hh:119
int4 status
Meta-command to system (0=wait for next command, 1=terminate process)
Definition: ghidra_process.hh:76
static void shutDown(void)
Release all GhidraCommand resources.
Definition: ghidra_process.cc:483
Command to structure a control-flow graph.
Definition: ghidra_process.hh:170
int4 res
Success status returned to the client (0=success)
Definition: ghidra_process.hh:138