944 printf(
"Start of exception test\n");
1052 *BlackHole += *BadAddress;
1104 *BlackHole += *BadAddress;
1156 foo2(BlackHole, BadAddress);
1262 foo2(BlackHole, BadAddress);
1291 #if !defined(WIN_CE) // gotos from except/finally not allowed on WinCE 1451 if (
setjmp(JumpBuffer) == 0) {
1473 if (
setjmp(JumpBuffer) == 0) {
1501 if (
setjmp(JumpBuffer) == 0) {
1532 if (
setjmp(JumpBuffer) == 0) {
1566 if (
setjmp(JumpBuffer) == 0) {
1604 if (
setjmp(JumpBuffer) == 0) {
1636 if (
setjmp(JumpBuffer) == 0) {
1714 #if !defined(i386) && !defined(_M_IA64) && !defined(_M_AMD64) && \ 1715 !defined(_M_ARM) && !defined(_M_ARM64) 1742 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1744 if ((Index1 & 0
x1) == 0) {
1763 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 1770 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1772 if ((Index1 & 0
x1) == 0) {
1799 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1802 if ((Index1 & 0
x1) == 0) {
1825 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 1832 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1835 if ((Index1 & 0
x1) == 0) {
1864 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1866 if ((Index1 & 0
x1) == 0) {
1891 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1894 if ((Index1 & 0
x1) == 0) {
1923 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1926 if ((Index1 & 0
x1) == 0) {
1956 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1958 if ((Index1 & 0
x1) == 1) {
1977 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 1984 for (Index1 = 0; Index1 < 10; Index1 += 1) {
1986 if ((Index1 & 0
x1) == 1) {
2013 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2016 if ((Index1 & 0
x1) == 1) {
2039 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 2046 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2049 if ((Index1 & 0
x1) == 1) {
2078 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2080 if ((Index1 & 0
x1) == 1) {
2105 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2108 if ((Index1 & 0
x1) == 1) {
2137 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2140 if ((Index1 & 0
x1) == 1) {
2178 if ((Index1 & 0
x1) == 1) {
2198 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 2213 if ((Index1 & 0
x1) == 1) {
2249 if ((Index1 & 0
x1) == 1) {
2272 #if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE 2288 if ((Index1 & 0
x1) == 1) {
2325 if ((Index1 & 0
x1) == 1) {
2359 if ((Index1 & 0
x1) == 1) {
2397 if ((Index1 & 0
x1) == 1) {
2456 for (Index1 = 0; Index1 < 10; Index1 += 1) {
2457 if (
Echo(Index1) == Index1) {
2553 #if !defined(WIN_CE) // leave from finally not allowed on WinCE 2657 #if !defined(NEST_IN_FINALLY) 2744 #if !defined(NEST_IN_FINALLY) 2767 #if defined(i386) || defined(_M_IA64) || defined(_M_ALPHA) || defined(_M_AMD64) 2874 *BlackHole += *BadAddress;
2897 *BlackHole += *BadAddress;
2902 *BlackHole += *BadAddress;
2923 *BlackHole += *BadAddress;
2936 *BlackHole += *BadAddress;
2985 #if defined(_AMD64_) || defined(_X86_) 3128 printf(
" test69...filter entered...succeeded\n");
3129 printf(
" test70...filter entered...succeeded\n");
3130 printf(
" test71...filter entered...succeeded\n");
3131 printf(
" test72...filter entered...succeeded\n");
3132 printf(
" test73...filter entered...succeeded\n");
3133 printf(
" test74...filter entered...succeeded\n");
3134 printf(
" test75...filter entered...succeeded\n");
3135 printf(
" test76...filter entered...succeeded\n");
3136 printf(
" test77...filter entered...succeeded\n");
3137 printf(
" test78...filter entered...succeeded\n");
3142 printf(
"filter 1...filter 2...finally 1...filter 1...filter 2...finally " 3251 printf(
"End of exception test\n");
DECLSPEC_NORETURN NTSYSAPI VOID NTAPI RtlRaiseStatus(_In_ NTSTATUS Status)
#define GetExceptionInformation()
VOID Test61Part2(IN OUT PULONG Counter)
VOID except1(IN PLONG Counter)
VOID PgTest77(IN PLONG State, IN PLONG Fault)
VOID foo1(IN NTSTATUS Status)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
VOID Test79(PLONG Counter, PLONG Fault)
VOID PgTest76(IN PLONG State, IN PLONG Fault)
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _clearfp(void)
unsigned int __cdecl _control87(unsigned int, unsigned int)
VOID PgTest74(IN PLONG State, IN PLONG Fault)
VOID Test82(__inout PLONG Counter)
ULONG except2(IN PEXCEPTION_POINTERS ExceptionPointers, IN PLONG Counter)
VOID PgTest78(IN PLONG State, IN PLONG Fault)
NTSYSAPI VOID NTAPI RtlRaiseException(_In_ PEXCEPTION_RECORD ExceptionRecord)
DECLSPEC_NOINLINE VOID Test84(_Inout_ PLONG Counter)
DWORD WINAPI GetVersion(VOID)
VOID PgTest72(IN PLONG State, IN PLONG Fault)
#define EXCEPTION_CONTINUE_SEARCH
#define STATUS_INTEGER_OVERFLOW
#define EXCEPTION_EXECUTE_HANDLER
VOID PgTest75(IN PLONG State, IN PLONG Fault)
int longjmp(jmp_buf buf, int retval)
VOID foo2(IN PLONG BlackHole, IN PLONG BadAddress)
VOID PgTest70(IN PLONG State, IN PLONG Fault)
VOID bar1(IN NTSTATUS Status, IN PLONG Counter)
VOID bar2(IN PLONG BlackHole, IN PLONG BadAddress, IN PLONG Counter)
struct _EXCEPTION_RECORD * ExceptionRecord
VOID PgTest71(IN PLONG State, IN PLONG Fault)
#define STATUS_ACCESS_VIOLATION
VOID Test88(_Inout_ PLONG Counter)
VOID dojump(IN jmp_buf JumpBuffer, IN PLONG Counter)
VOID addtwo(IN LONG First, IN LONG Second, IN PLONG Place)
static LARGE_INTEGER Counter
void Test81(int *pCounter)
#define STATUS_DATATYPE_MISALIGNMENT
VOID eret(IN NTSTATUS Status, IN PLONG Counter)
#define GetExceptionCode()
VOID PgTest69(IN PLONG State, IN PLONG Fault)
DECLSPEC_NOINLINE VOID Test86(_Inout_ PLONG Counter)
VOID PgTest73(IN PLONG State, IN PLONG Fault)
DECLSPEC_NOINLINE LONG Test85(_Inout_ PLONG Counter)
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _controlfp(_In_ unsigned int unNew, _In_ unsigned int unMask)
VOID Test87(_Inout_ PLONG Counter)
VOID fret(IN PLONG Counter)
double SquareDouble(IN double op)
#define abnormal_termination