#include <setjmp.h>
#include <windows.h>
#include "seh.h"
Go to the source code of this file.
◆ AccessViolation()
Definition at line 16 of file seh0013.c.
16 {
17 *BlackHole += *BadAddress;
18 return;
19}
Referenced by main().
◆ main()
Definition at line 21 of file seh0013.c.
21 {
27
30 BadByte += 1;
32
34
35 try {
37 }
39
40
41
42
43 {
45 try {
47 }
49
50 {
53 return -1;
54 }
55
57 }
59 }
61
64 return -1;
65 }
66
67 return 0;
68}
#define EXCEPTION_CONTINUE_SEARCH
#define STATUS_ACCESS_VIOLATION
void rtlRaiseException(DWORD Status)
void AccessViolation(PLONG BlackHole, PLONG BadAddress)
#define GetExceptionCode()
static LARGE_INTEGER Counter
◆ rtlRaiseException()
Definition at line 11 of file seh0013.c.
11 {
13 return;
14}
VOID WINAPI RaiseException(_In_ DWORD dwExceptionCode, _In_ DWORD dwExceptionFlags, _In_ DWORD nNumberOfArguments, _In_opt_ const ULONG_PTR *lpArguments)
Referenced by main().
◆ test
char test[] = "SEH0013.c" |