decompiler  1.0.0
Public Member Functions | List of all members
InjectContextGhidra Class Reference

An injection context that can be serialized and sent to the Ghidra client. More...

#include <inject_ghidra.hh>

Inheritance diagram for InjectContextGhidra:
InjectContext

Public Member Functions

virtual void saveXml (ostream &s) const
 Save this context to an XML stream as a <context> tag. More...
 
- Public Member Functions inherited from InjectContext
virtual ~InjectContext (void)
 Destructor.
 
virtual void clear (void)
 Release resources (from last injection)
 

Additional Inherited Members

- Public Attributes inherited from InjectContext
Architectureglb
 Architecture associated with the injection.
 
Address baseaddr
 Address of instruction causing inject.
 
Address nextaddr
 Address of following instruction.
 
Address calladdr
 If the instruction being injected is a call, this is the address being called.
 
vector< VarnodeDatainputlist
 Storage location for input parameters.
 
vector< VarnodeDataoutput
 Storage location for output.
 

Detailed Description

An injection context that can be serialized and sent to the Ghidra client.

This adds the capability to wrap up the context data in <context> XML tag that can then be forwarded to the Ghidra client.

Member Function Documentation

◆ saveXml()

void InjectContextGhidra::saveXml ( ostream &  s) const
virtual

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