Ghidra 11.3.2
Ghidra internal decompiler documentation.
Loading...
Searching...
No Matches
ghidra::InjectContextGhidra Class Reference

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

#include <inject_ghidra.hh>

Inheritance diagram for ghidra::InjectContextGhidra:
[legend]
Collaboration diagram for ghidra::InjectContextGhidra:
[legend]

Public Member Functions

virtual void encode (Encoder &encoder) const
 Encode this context to a stream as a <context> element.
 
- Public Member Functions inherited from ghidra::InjectContext
virtual ~InjectContext (void)
 Destructor.
 
virtual void clear (void)
 Release resources (from last injection)
 

Additional Inherited Members

- Public Attributes inherited from ghidra::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

◆ encode()


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