IDA Domain
Functions::Iterator Class Reference

Iterator for functions within a specified address range. More...

#include <function.hpp>

Public Member Functions

 Iterator (const Database &database, const ea_t start_ea, const ea_t end_ea)
 Constructs a functions iterator for the given range. More...
 
func_t * get_first ()
 Retrieves the first function in the range. More...
 
func_t * get_next ()
 Retrieves the next function after the current one. More...
 

Detailed Description

Iterator for functions within a specified address range.

Constructor & Destructor Documentation

◆ Iterator()

Functions::Iterator::Iterator ( const Database database,
const ea_t  start_ea,
const ea_t  end_ea 
)
inline

Constructs a functions iterator for the given range.

Parameters
databaseReference to the active IDA database.
start_eaStart address of the range.
end_eaEnd address of the range.

Member Function Documentation

◆ get_first()

func_t* Functions::Iterator::get_first ( )

Retrieves the first function in the range.

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

◆ get_next()

func_t* Functions::Iterator::get_next ( )

Retrieves the next function after the current one.

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

The documentation for this class was generated from the following file: