|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
Lazy-forward iterator that disassembles instructions on demand. More...
#include <Instruction.hpp>


Public Types | |
| using | implementation = details::InstructionIt |
| Public Types inherited from LIEF::iterator_facade_base< Iterator, std::forward_iterator_tag, Instruction, std::ptrdiff_t, const Instruction *, const Instruction & > | |
| using | iterator_category |
| using | value_type |
| using | difference_type |
| using | pointer |
| using | reference |
Public Member Functions | |
| Iterator () | |
| Iterator (std::unique_ptr< details::InstructionIt > impl) | |
| Iterator (const Iterator &) | |
| Iterator & | operator= (const Iterator &) |
| Iterator (Iterator &&) noexcept | |
| Iterator & | operator= (Iterator &&) noexcept |
| ~Iterator () | |
| Iterator & | operator++ () |
| const Instruction & | operator* () const |
| const Instruction * | operator-> () const |
| std::unique_ptr< Instruction > | yield () |
| Transfer ownership of the instruction at the current position to the caller. Returns nullptr if the iterator is past-the-end. | |
| DerivedT | operator++ (int) |
| Public Member Functions inherited from LIEF::iterator_facade_base< Iterator, std::forward_iterator_tag, Instruction, std::ptrdiff_t, const Instruction *, const Instruction & > | |
| Iterator | operator+ (std::ptrdiff_t n) const |
| Iterator | operator- (std::ptrdiff_t n) const |
| Iterator & | operator++ () |
| Iterator & | operator-- () |
| bool | operator!= (const Iterator &RHS) const |
| bool | operator> (const Iterator &RHS) const |
| bool | operator<= (const Iterator &RHS) const |
| bool | operator>= (const Iterator &RHS) const |
| PointerProxy | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Lazy-forward iterator that disassembles instructions on demand.
| using LIEF::assembly::Instruction::Iterator::implementation = details::InstructionIt |
| LIEF::assembly::Instruction::Iterator::Iterator | ( | ) |
References LIEF_API.
Referenced by Iterator(), Iterator(), operator!=, operator++(), operator=(), operator=(), operator==, and ~Iterator().
| LIEF::assembly::Instruction::Iterator::Iterator | ( | std::unique_ptr< details::InstructionIt > | impl | ) |
References LIEF_API.
| LIEF::assembly::Instruction::Iterator::Iterator | ( | const Iterator & | ) |
References Iterator(), and LIEF_API.
|
noexcept |
References Iterator(), and LIEF_API.
| LIEF::assembly::Instruction::Iterator::~Iterator | ( | ) |
References Iterator(), and LIEF_API.
| const Instruction & LIEF::assembly::Instruction::Iterator::operator* | ( | ) | const |
References LIEF_API.
| Iterator & LIEF::assembly::Instruction::Iterator::operator++ | ( | ) |
References Iterator(), and LIEF_API.
|
inline |
| const Instruction * LIEF::assembly::Instruction::Iterator::operator-> | ( | ) | const |
References LIEF_API.
References Iterator(), and LIEF_API.
References Iterator(), and LIEF_API.
| std::unique_ptr< Instruction > LIEF::assembly::Instruction::Iterator::yield | ( | ) |
Transfer ownership of the instruction at the current position to the caller. Returns nullptr if the iterator is past-the-end.
References LIEF_API.