7 #ifndef WIN32_LEAN_AND_MEAN 8 #define WIN32_LEAN_AND_MEAN 10 #define WIN32_NO_STATUS 16 #undef WIN32_NO_STATUS 23 #define DEFAULT_SECURITY_COOKIE 0x00002B992DDFA232ll 25 #define DEFAULT_SECURITY_COOKIE 0xBB40E64E 32 #define UNW_FLAG_NHANDLER 0x00 100 #undef _AddressOfReturnAddress 101 #define _ReturnAddress() __builtin_return_address(0) 102 #define _AddressOfReturnAddress() __builtin_frame_address (0) 109 __report_gsfailure (
ULONG_PTR StackCookie)
113 ULONG64 controlPC, imgBase, establisherFrame;
120 if (fctEntry !=
NULL)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
DWORD WINAPI GetTickCount(VOID)
#define EXCEPTION_NONCONTINUABLE
void * _AddressOfReturnAddress(void)
#define DEFAULT_SECURITY_COOKIE
#define DECLSPEC_SELECTANY
NTSYSAPI VOID NTAPI RtlCaptureContext(_Out_ PCONTEXT ContextRecord)
void __cdecl __security_init_cookie(void)
#define STATUS_STACK_BUFFER_OVERRUN
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI DECLSPEC_HOTPATCH SetUnhandledExceptionFilter(IN LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
LONG WINAPI UnhandledExceptionFilter(IN PEXCEPTION_POINTERS ExceptionInfo)
static const EXCEPTION_POINTERS GS_ExceptionPointers
static EXCEPTION_RECORD GS_ExceptionRecord
DWORD WINAPI GetCurrentThreadId(VOID)
#define __MINGW_ATTRIB_UNUSED
unsigned __int3264 UINT_PTR
BOOL WINAPI QueryPerformanceCounter(OUT PLARGE_INTEGER lpPerformanceCount)
DECLSPEC_SELECTANY UINT_PTR __security_cookie_complement
PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind(_In_ ULONG HandlerType, _In_ ULONG64 ImageBase, _In_ ULONG64 ControlPc, _In_ PRUNTIME_FUNCTION FunctionEntry, _Inout_ PCONTEXT Context, _Outptr_ PVOID *HandlerData, _Out_ PULONG64 EstablisherFrame, _Inout_ PKNONVOLATILE_CONTEXT_POINTERS ContextPointers)
#define GetCurrentProcess()
BOOL WINAPI TerminateProcess(IN HANDLE hProcess, IN UINT uExitCode)
unsigned __int64 ft_scalar
static CONTEXT GS_ContextRecord
void * _ReturnAddress(void)
PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry(IN DWORD64 ControlPc, OUT PDWORD64 ImageBase, OUT PUNWIND_HISTORY_TABLE HistoryTable)
Locates the RUNTIME_FUNCTION entry corresponding to a code address. http://msdn.microsoft....
DWORD WINAPI GetCurrentProcessId(VOID)
DECLSPEC_SELECTANY UINT_PTR __security_cookie
#define UNW_FLAG_NHANDLER