希望没撞车
#include <windows.h>
DWORD dwTickCount;
DWORD dwExceptionCode;
BOOL bFlag;
LONG CALLBACK VEHandler(PEXCEPTION_POINTERS ExceptionInfo)
{
if (ExceptionInfo->ExceptionRecord->ExceptionCode == dwExceptionCode)
{
bFlag = TRUE;
if (GetTickCount() - dwTickCount > 50) MessageBoxA(NULL,"别调试哥",NULL,0);
}
return EXCEPTION_CONTINUE_EXECUTION;
}
void main()
{
AddVectoredExceptionHandler(1,&VEHandler);
dwExceptionCode = (DWORD)EncodePointer((PVOID)GetTickCount());
dwTickCount = GetTickCount();
bFlag = FALSE;
RaiseException(dwExceptionCode,0,0,NULL);
if (!bFlag) MessageBoxA(NULL,"别调试哥",NULL,0);
MessageBoxA(NULL,"!",NULL,0);
ExitProcess(0);
}
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)