Ghidra Decompiler Analysis Engine
Public Member Functions | Public Attributes | List of all members
DeregisterProgram Class Reference

Command to release all resources associated with a Program (executable) in the decompiler. More...

#include <ghidra_process.hh>

Inheritance diagram for DeregisterProgram:
Inheritance graph
[legend]
Collaboration diagram for DeregisterProgram:
Collaboration graph
[legend]

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

int4 res
 The meta-command being issued to send back.
 

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.
 
ArchitectureGhidraghidra
 The Architecture on which to perform the command.
 
int4 status
 Meta-command to system (0=wait for next command, 1=terminate process)
 

Detailed Description

Command to release all resources associated with a Program (executable) in the decompiler.

The command frees the ArchitectureGhidra object (recursively affecting all resources) associated with the program. A termination meta-command is issued for this process. The command expects a single string parameter encoding the id of the program.

Member Function Documentation

◆ rawAction()

void DeregisterProgram::rawAction ( void  )
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.


The documentation for this class was generated from the following files: