Hex-Rays logo State-of-the-art binary code analysis tools
email icon

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