decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
ghidra::PcodeOpNode Struct Reference

An edge in a data-flow path or graph. More...

#include <op.hh>

Public Member Functions

 PcodeOpNode (void)
 Unused constructor.
 
 PcodeOpNode (PcodeOp *o, int4 s)
 Constructor.
 
bool operator< (const PcodeOpNode &op2) const
 Simple comparator for putting edges in a sorted container. More...
 

Public Attributes

PcodeOpop
 The p-code end-point of the edge.
 
int4 slot
 Slot indicating the input Varnode end-point of the edge.
 

Detailed Description

An edge in a data-flow path or graph.

A minimal node for traversing expressions in the data-flow

Member Function Documentation

◆ operator<()

bool ghidra::PcodeOpNode::operator< ( const PcodeOpNode op2) const
inline

Simple comparator for putting edges in a sorted container.

Compare PcodeOps (as pointers) first, then slot

Parameters
op2is the other edge to compare with this
Returns
true if this should come before the other PcodeOp

References ghidra::PcodeOp::getSeqNum(), ghidra::SeqNum::getTime(), op, and slot.


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