IDA Domain Python API
ida_domain.XrefsFromIterator Class Reference
+ Inheritance diagram for ida_domain.XrefsFromIterator:
+ Collaboration diagram for ida_domain.XrefsFromIterator:

Public Member Functions

def __init__ (self, database, ea)
 
def get_first (self)
 
def get_next (self)
 
"Iterator[xref_t]" __iter__ (self)
 
- Public Member Functions inherited from ida_domain.XrefsIterator
def __init__ (self, *args, **kwargs)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from ida_domain.XrefsIterator
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Iterator for outgoing cross-references (from the specified address).

Constructor & Destructor Documentation

◆ __init__()

def ida_domain.XrefsFromIterator.__init__ (   self,
  database,
  ea 
)
__init__(self, database, ea) -> XrefsFromIterator
Constructs an iterator for cross-references

:param database: Reference to the active IDA database.
:param ea: The source effective address.

Member Function Documentation

◆ __iter__()

"Iterator[xref_t]" ida_domain.XrefsFromIterator.__iter__ (   self)
__iter__(self) -> Iterator[xref_t]

◆ get_first()

def ida_domain.XrefsFromIterator.get_first (   self)
get_first(self) -> BoolXrefBlkPair
Retrieves the first outgoing xref.

:return: A pair <bool, xrefblk_t>. The bool is false if no xref is found.

◆ get_next()

def ida_domain.XrefsFromIterator.get_next (   self)
get_next(self) -> BoolXrefBlkPair
Retrieves the next outgoing xref.

:return: A pair <bool, xrefblk_t>. The bool is false if no more xrefs exist.

Property Documentation

◆ thisown

ida_domain.XrefsFromIterator.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static