小太郎
小太郎

Reputation: 5620

Enumerate segments of a module given a module handle

I want to enumerate all the loaded segments of a module given a module handle. Are there any API functions I can call to do this? Or is the only way reading the PE header and working out which segments are loaded and which are not?

If I have to end up reading the PE header, could someone help describe the structure of the header or link me to a guide and also give steps to enumerate the segments? I know how to do this with an ELF header but not PE.

Upvotes: 0

Views: 260

Answers (1)

Related Questions