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

A pair of Varnode objects that have been split (and should be merged) More...

Public Member Functions

 MergePair (Varnode *s1, Varnode *s2)
 Construct from Varnode objects.
 
bool operator< (const MergePair &op2) const
 Lexicographic comparator. More...
 

Public Attributes

Varnodeside1
 Varnode coming from block1.
 
Varnodeside2
 Varnode coming from block2.
 

Detailed Description

A pair of Varnode objects that have been split (and should be merged)

Member Function Documentation

◆ operator<()

bool ghidra::ConditionalJoin::MergePair::operator< ( const MergePair op2) const

Lexicographic comparator.

Compare based on the creation index of side1 first then side2

Parameters
op2is the MergePair to compare to this
Returns
true if this comes before op2

References ghidra::Varnode::getCreateIndex(), side1, and side2.


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