decompiler  1.0.0
Public Member Functions | List of all members
VarnodeCompareDefLoc Struct Reference

Compare two Varnode pointers by definition then location. More...

#include <varnode.hh>

Public Member Functions

bool operator() (const Varnode *a, const Varnode *b) const
 Functional comparison operator. More...
 

Detailed Description

Compare two Varnode pointers by definition then location.

Member Function Documentation

bool VarnodeCompareDefLoc::operator() ( const Varnode a,
const Varnode b 
) const
inline

Functional comparison operator.

Compare by definition then by location. This is different than the standard ordering but we still allow multiple identical frees.

Parameters
ais the first Varnode to compare
bis the second Varnode to compare
Returns
true if a occurs earlier than b

References Varnode::getAddr(), Varnode::getCreateIndex(), Varnode::getDef(), Varnode::getFlags(), PcodeOp::getSeqNum(), Varnode::getSize(), Varnode::input, and Varnode::written.


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