摘要:
#include <stdio.h> #include <windows.h> #include <tlhelp32.h>//声明快照函数的头文件DWORD g_arList[1024]; //地址列表 int g_nListCnt=0; //有效地址个数 HANDLE g_hProcess; //目标进程句柄bool CompareAPage(DWORD dwBaseAddr,DWORD dwValue) { //读取一页内存 BYTE arBytes[4096]; if(!::ReadProcessMemory(g_hProcess,(LPVOID*)d 阅读全文