Ghidra Decompiler Analysis Engine
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:
Inheritance graph
[legend]
Collaboration diagram for InjectContextGhidra:
Collaboration graph
[legend]

Public Member Functions

virtual void saveXml (ostream &s) const
 Save this context to an XML stream as a <context> tag. More...
 

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

Save this context to an XML stream as a <context> tag.

Parameters
sis the output stream

Implements InjectContext.


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