18#if defined (_WIN64) && defined (__ia64__)
19#error FIXME: Unsupported __ImageBase implementation.
22#define __ImageBase __MINGW_LSYMBOL(_image_base__)
45#if defined(_WIN64) && !defined(_MSC_VER)
48#define MAX_PDATA_ENTRIES 32
55 static int was_here = 0;
60 if (was_here || !_ImageBase)
76 (
DWORD)(
size_t) ((
LPBYTE)__mingw_SEH_error_handler - _ImageBase);
79 emu_pdata[
e].UnwindData =
84 if (!
e ||
e > MAX_PDATA_ENTRIES)
117 else if (old_handler !=
SIG_DFL)
137 else if (old_handler !=
SIG_DFL)
165 else if (old_handler !=
SIG_DFL)
193#define GCC_MAGIC (('G' << 16) | ('C' << 8) | 'C' | (1U << 29))
222 else if (old_handler !=
SIG_DFL)
241 else if (old_handler !=
SIG_DFL)
268 else if (old_handler !=
SIG_DFL)
290 action = (*__mingw_oldexcpt_handler)(exception_data);
PIMAGE_SECTION_HEADER _FindPESectionByName(const char *)
struct _UNWIND_INFO * PUNWIND_INFO
LPTOP_LEVEL_EXCEPTION_FILTER __mingw_oldexcpt_handler
void __cdecl _fpreset(void)
struct _UNWIND_INFO UNWIND_INFO
PIMAGE_SECTION_HEADER _FindPESectionExec(size_t)
int __mingw_init_ehandler(void)
long CALLBACK _gnu_exception_handler(EXCEPTION_POINTERS *exception_data)
PBYTE _GetPEImageBase(void)
@ ExceptionContinueSearch
enum _EXCEPTION_DISPOSITION EXCEPTION_DISPOSITION
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
BOOLEAN NTAPI RtlAddFunctionTable(_In_ PRUNTIME_FUNCTION FunctionTable, _In_ DWORD EntryCount, _In_ DWORD64 BaseAddress)
#define EXCEPTION_CONTINUE_SEARCH
#define EXCEPTION_CONTINUE_EXECUTION
_IRQL_requires_same_ _In_ PVOID EstablisherFrame
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT _In_ PVOID DispatcherContext
PEXCEPTION_RECORD ExceptionRecord
BYTE FrameRegisterAndOffset
ULONG AddressOfExceptionHandler
#define EXCEPTION_NONCONTINUABLE
PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER
#define EXCEPTION_FLT_STACK_CHECK
#define EXCEPTION_INT_DIVIDE_BY_ZERO
#define EXCEPTION_FLT_UNDERFLOW
#define EXCEPTION_INT_OVERFLOW
#define EXCEPTION_INVALID_HANDLE
#define EXCEPTION_FLT_OVERFLOW
#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED
#define EXCEPTION_DATATYPE_MISALIGNMENT
#define EXCEPTION_FLT_DENORMAL_OPERAND
#define EXCEPTION_FLT_INEXACT_RESULT
#define EXCEPTION_ILLEGAL_INSTRUCTION
#define EXCEPTION_ACCESS_VIOLATION
#define EXCEPTION_FLT_INVALID_OPERATION
#define EXCEPTION_PRIV_INSTRUCTION
#define EXCEPTION_FLT_DIVIDE_BY_ZERO