decompiler  1.0.0
Public Member Functions | List of all members
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:
ghidra::InjectContext

Public Member Functions

virtual void encode (Encoder &encoder) const
 Encode this context to a stream as a <context> element. More...
 
- 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()

void ghidra::InjectContextGhidra::encode ( Encoder encoder) const
virtual

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