#include <excpt.h>
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <signal.h>
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
Go to the source code of this file.
◆ __ImageBase
◆ _NTSYSTEM_
This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.
Definition at line 14 of file crt_handler.c.
◆ GCC_MAGIC
#define GCC_MAGIC (('G' << 16) | ('C' << 8) | 'C' | (1U << 29)) |
◆ PUNWIND_INFO
◆ UNWIND_INFO
◆ __mingw_init_ehandler()
◆ _FindPESectionByName()
Definition at line 70 of file pesect.c.
71{
75 unsigned int iSection;
76
77
80
84
86
89 ++iSection,++pSection)
90 {
92 return pSection;
93 }
95}
ACPI_SIZE strlen(const char *String)
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
#define IMAGE_FIRST_SECTION(NtHeader)
#define IMAGE_SIZEOF_SHORT_NAME
WINBOOL _ValidateImageBase(PBYTE)
IMAGE_DOS_HEADER __ImageBase
◆ _FindPESectionExec()
Definition at line 133 of file pesect.c.
134{
138 unsigned int iSection;
139
143
145
148 ++iSection,++pSection)
149 {
151 {
153 return pSection;
155 }
156 }
158}
#define IMAGE_SCN_MEM_EXECUTE
◆ _fpreset()
◆ _GetPEImageBase()
Definition at line 163 of file pesect.c.
164{
169 return pImageBase;
170}
◆ _gnu_exception_handler()
Definition at line 196 of file crt_handler.c.
197{
200 int reset_fpu = 0;
201
202#ifdef __SEH__
204 {
207 }
208#endif
209
211 {
213
216 {
217
218
221 }
222 else if (old_handler !=
SIG_DFL)
223 {
224
227 }
228 break;
229
232
235 {
236
237
240 }
241 else if (old_handler !=
SIG_DFL)
242 {
243
246 }
247 break;
248
255 reset_fpu = 1;
256
257
259
262 {
264 if (reset_fpu)
267 }
268 else if (old_handler !=
SIG_DFL)
269 {
270
273 }
274 break;
275#ifdef _WIN64
281
283 break;
284#endif
285 default:
286 break;
287 }
288
290 action = (*__mingw_oldexcpt_handler)(exception_data);
292}
LPTOP_LEVEL_EXCEPTION_FILTER __mingw_oldexcpt_handler
void __cdecl _fpreset(void)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define EXCEPTION_CONTINUE_SEARCH
#define EXCEPTION_CONTINUE_EXECUTION
PEXCEPTION_RECORD ExceptionRecord
#define EXCEPTION_NONCONTINUABLE
#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
◆ __ImageBase
◆ __mingw_oldexcpt_handler