![]() |
IDA Domain
|
Iterator for instructions within a specified address range. More...
#include <instruction.hpp>
Public Member Functions | |
Iterator (const Database &database, const ea_t start_ea, const ea_t end_ea) | |
Constructs an instructions iterator for the specified range. More... | |
std::pair< bool, insn_t > | get_first () |
Retrieves the first instruction in the range. More... | |
std::pair< bool, insn_t > | get_next () |
Retrieves the next instruction in the range. More... | |
Iterator for instructions within a specified address range.
|
inline |
Constructs an instructions iterator for the specified range.
database | Reference to the active IDA database. |
start_ea | Start address of the range. |
end_ea | End address of the range. |
std::pair<bool, insn_t> Instructions::Iterator::get_first | ( | ) |
Retrieves the first instruction in the range.
std::pair<bool, insn_t> Instructions::Iterator::get_next | ( | ) |
Retrieves the next instruction in the range.