IDA SDK

Detailed Description

Functions to enumerate modules loaded into the process.

Parameters
modinfostructure to receive the answer
Returns
false if there are no (more) modules

Typical loop to enumerate modules would look like:

modinfo_t minfo;
for ( bool ok=get_first_module(&minfo); ok; ok=get_next_module(&minfo) )
...
bool idaapi get_first_module(modinfo_t *modinfo)
Definition: dbg.hpp:604
bool idaapi get_next_module(modinfo_t *modinfo)
Definition: dbg.hpp:607
Describes a module load event.
Definition: idd.hpp:313

Functions

bool idaapi get_first_module (modinfo_t *modinfo)
 
bool idaapi get_next_module (modinfo_t *modinfo)
 

Function Documentation

◆ get_first_module()

bool idaapi get_first_module ( modinfo_t modinfo)
inline
Parameters
modinfoSee Modules

◆ get_next_module()

bool idaapi get_next_module ( modinfo_t modinfo)
inline
Parameters
modinfoSee Modules