MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / CompareExprList

Function CompareExprList

highlevelilinstruction.cpp:1614–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1612
1613
1614static bool CompareExprList(const HighLevelILInstructionList& a, const HighLevelILInstructionList& b)
1615{
1616 if (a.size() < b.size())
1617 return true;
1618 if (a.size() > b.size())
1619 return false;
1620 auto i = a.begin();
1621 auto j = b.begin();
1622 for (; i != a.end(); ++i, ++j)
1623 {
1624 if (*i < *j)
1625 return true;
1626 if (*j < *i)
1627 return false;
1628 }
1629 return false;
1630}
1631
1632
1633bool HighLevelILInstruction::operator<(const HighLevelILInstruction& other) const

Callers 1

operator<Method · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected