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

Class LowLevelILSSARegisterList

lowlevelilinstruction.h:549–579  ·  view source on GitHub ↗

! \ingroup lowlevelil */

Source from the content-addressed store, hash-verified

547 \ingroup lowlevelil
548 */
549 class LowLevelILSSARegisterList
550 {
551 struct ListIterator
552 {
553 LowLevelILIntegerList::const_iterator pos;
554 bool operator==(const ListIterator& a) const { return pos == a.pos; }
555 bool operator!=(const ListIterator& a) const { return pos != a.pos; }
556 bool operator<(const ListIterator& a) const { return pos < a.pos; }
557 ListIterator& operator++()
558 {
559 ++pos;
560 ++pos;
561 return *this;
562 }
563 const SSARegister operator*();
564 };
565
566 LowLevelILIntegerList m_list;
567
568 public:
569 typedef ListIterator const_iterator;
570
571 LowLevelILSSARegisterList(LowLevelILFunction* func, const BNLowLevelILInstruction& instr, size_t count);
572
573 const_iterator begin() const;
574 const_iterator end() const;
575 size_t size() const;
576 const SSARegister operator[](size_t i) const;
577
578 operator _STD_VECTOR<SSARegister>() const;
579 };
580
581 /*!
582 \ingroup lowlevelil

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected