Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon

Functions to enumerate modules loaded into the process. More...

Functions

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

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:319

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