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

A user defined p-code op for assisting the recovery of jump tables. More...

#include <userop.hh>

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

Public Member Functions

 JumpAssistOp (Architecture *g)
 Constructor. More...
 
virtual void restoreXml (const Element *el)
 Restore the detailed description from an XML stream. More...
 
- Public Member Functions inherited from UserPcodeOp
virtual string getOperatorName (const PcodeOp *op) const
 Get the symbol representing this operation in decompiled code. More...
 

Additional Inherited Members

- Protected Attributes inherited from UserPcodeOp
string name
 Low-level name of p-code operator.
 
int4 useropindex
 Index passed in the CALLOTHER op.
 
Architectureglb
 Architecture owning the user defined op.
 

Detailed Description

A user defined p-code op for assisting the recovery of jump tables.

An instance of this class refers to p-code script(s) that describe how to parse the jump table from the load image. Possible scripts include:

This class stores injection ids. The scripts themselves are managed by PcodeInjectLibrary.

Constructor & Destructor Documentation

◆ JumpAssistOp()

JumpAssistOp::JumpAssistOp ( Architecture g)

Constructor.

Parameters
gis the Architecture owning this set of jump assist scripts

Member Function Documentation

◆ restoreXml()

void JumpAssistOp::restoreXml ( const Element el)
virtual

Restore the detailed description from an XML stream.

The details of how a user defined operation behaves can be dynamically configured from an XML tag.

Parameters
elis the root XML element describing the op

Implements UserPcodeOp.


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