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

Class LowLevelILIndexList

lowlevelilinstruction.h:409–438  ·  view source on GitHub ↗

! \ingroup lowlevelil */

Source from the content-addressed store, hash-verified

407 \ingroup lowlevelil
408 */
409 class LowLevelILIndexList
410 {
411 struct ListIterator
412 {
413 LowLevelILIntegerList::const_iterator pos;
414 bool operator==(const ListIterator& a) const { return pos == a.pos; }
415 bool operator!=(const ListIterator& a) const { return pos != a.pos; }
416 bool operator<(const ListIterator& a) const { return pos < a.pos; }
417 ListIterator& operator++()
418 {
419 ++pos;
420 return *this;
421 }
422 size_t operator*();
423 };
424
425 LowLevelILIntegerList m_list;
426
427 public:
428 typedef ListIterator const_iterator;
429
430 LowLevelILIndexList(LowLevelILFunction* func, const BNLowLevelILInstruction& instr, size_t count);
431
432 const_iterator begin() const;
433 const_iterator end() const;
434 size_t size() const;
435 size_t operator[](size_t i) const;
436
437 operator _STD_VECTOR<size_t>() const;
438 };
439
440 /*!
441 \ingroup lowlevelil

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected