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

Class MediumLevelILSSAVariableList

mediumlevelilinstruction.h:360–391  ·  view source on GitHub ↗

! \ingroup mediumlevelil */

Source from the content-addressed store, hash-verified

358 \ingroup mediumlevelil
359 */
360 class MediumLevelILSSAVariableList
361 {
362 struct ListIterator
363 {
364 MediumLevelILIntegerList::const_iterator pos;
365 bool operator==(const ListIterator& a) const { return pos == a.pos; }
366 bool operator!=(const ListIterator& a) const { return pos != a.pos; }
367 bool operator<(const ListIterator& a) const { return pos < a.pos; }
368 ListIterator& operator++()
369 {
370 ++pos;
371 ++pos;
372 return *this;
373 }
374 const SSAVariable operator*();
375 };
376
377 MediumLevelILIntegerList m_list;
378
379 public:
380 typedef ListIterator const_iterator;
381
382 MediumLevelILSSAVariableList(
383 MediumLevelILFunction* func, const BNMediumLevelILInstruction& instr, size_t count);
384
385 const_iterator begin() const;
386 const_iterator end() const;
387 size_t size() const;
388 const SSAVariable operator[](size_t i) const;
389
390 operator _STD_VECTOR<SSAVariable>() const;
391 };
392
393 /*!
394 \ingroup mediumlevelil

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected