Iterator for incoming cross-references (to the specified address).
More...
#include <xref.hpp>
|
| ToIterator (const Database &database, const ea_t ea) |
| Constructs an iterator for cross-references to a given address. More...
|
|
std::pair< bool, xrefblk_t > | get_first () |
| Retrieves the first incoming xref. More...
|
|
std::pair< bool, xrefblk_t > | get_next () |
| Retrieves the next incoming xref. More...
|
|
Iterator for incoming cross-references (to the specified address).
◆ ToIterator()
Xrefs::ToIterator::ToIterator |
( |
const Database & |
database, |
|
|
const ea_t |
ea |
|
) |
| |
|
inline |
Constructs an iterator for cross-references to a given address.
- Parameters
-
database | Reference to the active IDA database. |
ea | The target effective address. |
◆ get_first()
std::pair<bool, xrefblk_t> Xrefs::ToIterator::get_first |
( |
| ) |
|
Retrieves the first incoming xref.
- Returns
- A pair <bool, xrefblk_t>. The bool is false if no xref is found.
◆ get_next()
std::pair<bool, xrefblk_t> Xrefs::ToIterator::get_next |
( |
| ) |
|
Retrieves the next incoming xref.
- Returns
- A pair <bool, xrefblk_t>. The bool is false if no more xrefs exist.
The documentation for this class was generated from the following file:
- /home/runner/work/ida-api-domain/ida-api-domain/include/entities/xref.hpp