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:622
bool idaapi get_next_module(modinfo_t *modinfo)
Definition: dbg.hpp:625
Describes a module load event.
Definition: idd.hpp:329

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