1 #ifndef IDA_DOMAIN_XREF_HPP
2 #define IDA_DOMAIN_XREF_HPP
Provides access and control over the loaded IDA database.
Definition: database.hpp:25
Iterator for outgoing cross-references (from the specified address).
Definition: xref.hpp:70
FromIterator(const Database &database, const ea_t ea)
Constructs an iterator for cross-references from a given address.
Definition: xref.hpp:78
std::pair< bool, xrefblk_t > get_first()
Retrieves the first outgoing xref.
std::pair< bool, xrefblk_t > get_next()
Retrieves the next outgoing xref.
Base class for cross-reference iterators.
Definition: xref.hpp:28
xrefblk_t m_xrefblk
Definition: xref.hpp:37
const ea_t m_ea
Definition: xref.hpp:34
Iterator(const Database &database, const ea_t ea)
Definition: xref.hpp:40
const Database & m_database
Definition: xref.hpp:31
Iterator for incoming cross-references (to the specified address).
Definition: xref.hpp:47
ToIterator(const Database &database, const ea_t ea)
Constructs an iterator for cross-references to a given address.
Definition: xref.hpp:55
std::pair< bool, xrefblk_t > get_next()
Retrieves the next incoming xref.
std::pair< bool, xrefblk_t > get_first()
Retrieves the first incoming xref.
Provides access to cross-reference (xref) analysis in the IDA database.
Definition: xref.hpp:18
Xrefs(const Database &database)
Constructs an xrefs handler for the given database.
Definition: xref.hpp:94
FromIterator get_from(const ea_t ea) const
Creates an iterator over all xrefs originating from a given address.
Definition: xref.hpp:109
ToIterator get_to(const ea_t ea) const
Creates an iterator over all xrefs pointing to a given address.
Definition: xref.hpp:101
#define IDA_API
Definition: common_defines.hpp:11
#define ABI_VERSION_NS
Definition: version.hpp:17