decompiler
1.0.0
|
Compare two Varnode pointers by location then definition. More...
#include <varnode.hh>
Public Member Functions | |
bool | operator() (const Varnode *a, const Varnode *b) const |
Functional comparison operator. More... | |
Compare two Varnode pointers by location then definition.
Functional comparison operator.
Compare by location then by definition. This is the same as the normal varnode compare, but we distinguish identical frees by their pointer address. Thus varsets defined with this comparison act like multisets for free varnodes and like unique sets for everything else (with respect to the standard varnode comparison)
References ghidra::Varnode::getAddr(), ghidra::Varnode::getCreateIndex(), ghidra::Varnode::getDef(), ghidra::Varnode::getFlags(), ghidra::PcodeOp::getSeqNum(), ghidra::Varnode::getSize(), ghidra::Varnode::input, and ghidra::Varnode::written.