decompiler  1.0.0
Public Member Functions | List of all members
ghidra::UnspecializedPcodeOp Class Reference

A user defined p-code op with no specialization. More...

#include <userop.hh>

Inheritance diagram for ghidra::UnspecializedPcodeOp:
ghidra::UserPcodeOp

Public Member Functions

 UnspecializedPcodeOp (Architecture *g, const string &nm, int4 ind)
 Constructor.
 
virtual void decode (Decoder &decoder)
 Restore the detailed description from a stream element. More...
 
- Public Member Functions inherited from ghidra::UserPcodeOp
 UserPcodeOp (Architecture *g, const string &nm, int4 ind)
 Construct from name and index.
 
const string & getName (void) const
 Get the low-level name of the p-code op.
 
int4 getIndex (void) const
 Get the constant id of the op.
 
uint4 getDisplay (void) const
 Get display type (0=functional)
 
virtual ~UserPcodeOp (void)
 Destructor.
 
virtual string getOperatorName (const PcodeOp *op) const
 Get the symbol representing this operation in decompiled code. More...
 
virtual int4 extractAnnotationSize (const Varnode *vn, const PcodeOp *op)
 Assign a size to an annotation input to this userop. More...
 

Additional Inherited Members

- Public Types inherited from ghidra::UserPcodeOp
enum  userop_flags { annotation_assignment = 1, no_operator = 2 }
 Enumeration of different boolean properties that can be assigned to a CALLOTHER. More...
 
- Protected Attributes inherited from ghidra::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.
 
uint4 flags
 Boolean attributes of the CALLOTHER.
 

Detailed Description

A user defined p-code op with no specialization.

This class is used by the manager for CALLOTHER indices that have not been mapped to a specialization. The p-code operation has the (SLEIGH assigned) name, but still has an unknown effect.

Member Function Documentation

◆ decode()

virtual void ghidra::UnspecializedPcodeOp::decode ( Decoder decoder)
inlinevirtual

Restore the detailed description from a stream element.

The details of how a user defined operation behaves are parsed from the element.

Parameters
decoderis the stream decoder

Implements ghidra::UserPcodeOp.


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