MaxWoods
#include <iostream>
#include <windows.h>
#include <Tlhelp32.h.>
using namespace std;

int main() 
{ 
    HANDLE h= CreateToolhelp32Snapshot(8, 780);
    MODULEENTRY32 me;
    int ret = Module32First(h, &me);
    while (ret)
    {
        printf("%p\t\%s\n", me.modBaseAddr, me.szModule);
        ret = Module32Next(h, &me);
    }
    CloseHandle(h);
    return 0; 
} 

 

分类:

技术点:

相关文章: