IDA Domain Python API
ida_domain.FunctionsIterator Class Reference

Inherits object.

Public Member Functions

def __init__ (self, database, start_ea, end_ea)
 
def get_first (self)
 
def get_next (self)
 
"Iterator[func_t]" __iter__ (self)
 

Properties

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

Detailed Description

Iterator for functions within a specified address range.

Constructor & Destructor Documentation

◆ __init__()

def ida_domain.FunctionsIterator.__init__ (   self,
  database,
  start_ea,
  end_ea 
)
__init__(self, database, start_ea, end_ea) -> FunctionsIterator
Constructs a functions iterator for the given range.

:param database: Reference to the active IDA database.
:param start_ea: Start address of the range.
:param end_ea: End address of the range.

Member Function Documentation

◆ __iter__()

"Iterator[func_t]" ida_domain.FunctionsIterator.__iter__ (   self)
__iter__(self) -> Iterator[func_t]

◆ get_first()

def ida_domain.FunctionsIterator.get_first (   self)
get_first(self) -> func_t
Retrieves the first function in the range.

:return: A pointer to the first function (func_t*), or nullptr if none exist.

◆ get_next()

def ida_domain.FunctionsIterator.get_next (   self)
get_next(self) -> func_t
Retrieves the next function after the current one.

:return: A pointer to the next function (func_t*), or nullptr if none remain.

Property Documentation

◆ thisown

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