7#ifndef WIN32_LEAN_AND_MEAN
8#define WIN32_LEAN_AND_MEAN
10#define WIN32_NO_STATUS
23#define DEFAULT_SECURITY_COOKIE 0x00002B992DDFA232ll
25#define DEFAULT_SECURITY_COOKIE 0xBB40E64E
32#define UNW_FLAG_NHANDLER 0x00
88 cookie &= 0x0000ffffffffffffll;
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;
114 PRUNTIME_FUNCTION fctEntry;
120 if (fctEntry !=
NULL)
#define __MINGW_ATTRIB_UNUSED
#define GetCurrentProcess()
LONG WINAPI UnhandledExceptionFilter(IN PEXCEPTION_POINTERS ExceptionInfo)
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI DECLSPEC_HOTPATCH SetUnhandledExceptionFilter(IN LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
BOOL WINAPI QueryPerformanceCounter(OUT PLARGE_INTEGER lpPerformanceCount)
BOOL WINAPI TerminateProcess(IN HANDLE hProcess, IN UINT uExitCode)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
DWORD WINAPI GetTickCount(VOID)
void __declspec(noinline) __cdecl _free_base(void *const block)
#define UNW_FLAG_NHANDLER
static EXCEPTION_RECORD GS_ExceptionRecord
static CONTEXT GS_ContextRecord
#define DEFAULT_SECURITY_COOKIE
void __cdecl __security_init_cookie(void)
DECLSPEC_SELECTANY UINT_PTR __security_cookie_complement
DECLSPEC_SELECTANY UINT_PTR __security_cookie
static const EXCEPTION_POINTERS GS_ExceptionPointers
#define _AddressOfReturnAddress()
unsigned __int3264 UINT_PTR
NTSYSAPI VOID NTAPI RtlCaptureContext(_Out_ PCONTEXT ContextRecord)
#define STATUS_STACK_BUFFER_OVERRUN
#define DECLSPEC_SELECTANY
#define EXCEPTION_NONCONTINUABLE
unsigned __int64 ft_scalar
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_opt_ PKNONVOLATILE_CONTEXT_POINTERS ContextPointers)
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. https://learn....
DWORD WINAPI GetCurrentThreadId(void)
DWORD WINAPI GetCurrentProcessId(void)