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

Class LowLevelILInstructionList

lowlevelilinstruction.h:478–510  ·  view source on GitHub ↗

! \ingroup lowlevelil */

Source from the content-addressed store, hash-verified

476 \ingroup lowlevelil
477 */
478 class LowLevelILInstructionList
479 {
480 struct ListIterator
481 {
482 LowLevelILIntegerList::const_iterator pos;
483 size_t instructionIndex;
484 bool operator==(const ListIterator& a) const { return pos == a.pos; }
485 bool operator!=(const ListIterator& a) const { return pos != a.pos; }
486 bool operator<(const ListIterator& a) const { return pos < a.pos; }
487 ListIterator& operator++()
488 {
489 ++pos;
490 return *this;
491 }
492 const LowLevelILInstruction operator*();
493 };
494
495 LowLevelILIntegerList m_list;
496 size_t m_instructionIndex;
497
498 public:
499 typedef ListIterator const_iterator;
500
501 LowLevelILInstructionList(
502 LowLevelILFunction* func, const BNLowLevelILInstruction& instr, size_t count, size_t instrIndex);
503
504 const_iterator begin() const;
505 const_iterator end() const;
506 size_t size() const;
507 const LowLevelILInstruction operator[](size_t i) const;
508
509 operator _STD_VECTOR<LowLevelILInstruction>() const;
510 };
511
512 /*!
513 \ingroup lowlevelil

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected