#include <windows.h>
#include "seh.h"
Go to the source code of this file.
◆ faill
◆ finish
◆ startest
◆ AccessViolation()
Definition at line 14 of file seh0029.c.
14 {
15 *BlackHole += *BadAddress;
16 return;
17}
Referenced by main().
◆ main()
Definition at line 19 of file seh0029.c.
19 {
24
26 BadByte += 1;
28
30
31 try {
32
34
35
36
37
39 }
42 ? 1
45 }
47
50 return -1;
51 } else {
52
53
54
55
56
57
58
59
63 "TEST 29 FAILED. Expected ACCESS_VIOLATION, got exception = %d\n\r",
65 return -1;
66 }
67 }
68 return 0;
69}
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
void AccessViolation(PLONG BlackHole, PLONG BadAddress)
static LARGE_INTEGER Counter
◆ test
char test[] = "SEH0029.c" |