-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.c
106 lines (106 loc) · 3.16 KB
/
data.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#include <stdint.h>
const uint32_t codes[] = {
0x000000C0L,
0x00000102L,
0x00000103L,
0x40000005L,
0x40000015L,
0x80000026L,
0x80000029L,
0xC000000DL,
0xC0000017L,
0xC0000135L,
0xC0000138L,
0xC0000139L,
0xC000013AL,
0xC0000142L,
0xC00001B2L,
0xC00002B4L,
0xC00002B5L,
0xC00002C9L,
0xC0000374L,
0xC0000409L,
0xC0000417L,
0xC0000420L,
0xC00004A2L,
0xC0000515L,
0xC0000516L,
0xC0000718L,
0xC015000FL,
0xC0150010L,
0xC0000005L,
0xC000008CL,
0x80000003L,
0x80000002L,
0xC000008DL,
0xC000008EL,
0xC000008FL,
0xC0000090L,
0xC0000091L,
0xC0000092L,
0xC0000093L,
0x80000001L,
0xC000001DL,
0xC0000006L,
0xC0000094L,
0xC0000095L,
0xC0000026L,
0xC0000008L,
0xC0000025L,
0xC0000096L,
0x80000004L,
0xC00000FDL,
};
const char* names[] = {
"STATUS_USER_APC",
"STATUS_TIMEOUT",
"STATUS_PENDING",
"STATUS_SEGMENT_NOTIFICATION",
"STATUS_FATAL_APP_EXIT",
"STATUS_LONGJUMP",
"STATUS_UNWIND_CONSOLIDATE",
"STATUS_INVALID_PARAMETER",
"STATUS_NO_MEMORY",
"STATUS_DLL_NOT_FOUND",
"STATUS_ORDINAL_NOT_FOUND",
"STATUS_ENTRYPOINT_NOT_FOUND",
"STATUS_CONTROL_C_EXIT",
"STATUS_DLL_INIT_FAILED",
"STATUS_CONTROL_STACK_VIOLATION",
"STATUS_FLOAT_MULTIPLE_FAULTS",
"STATUS_FLOAT_MULTIPLE_TRAPS",
"STATUS_REG_NAT_CONSUMPTION",
"STATUS_HEAP_CORRUPTION",
"STATUS_STACK_BUFFER_OVERRUN",
"STATUS_INVALID_CRUNTIME_PARAMETER",
"STATUS_ASSERTION_FAILURE",
"STATUS_ENCLAVE_VIOLATION",
"STATUS_INTERRUPTED",
"STATUS_THREAD_NOT_RUNNING",
"STATUS_ALREADY_REGISTERED",
"STATUS_SXS_EARLY_DEACTIVATION",
"STATUS_SXS_INVALID_DEACTIVATION",
"STATUS_ACCESS_VIOLATION aka EXCEPTION_ACCESS_VIOLATION",
"STATUS_ARRAY_BOUNDS_EXCEEDED aka EXCEPTION_ARRAY_BOUNDS_EXCEEDED",
"STATUS_BREAKPOINT aka EXCEPTION_BREAKPOINT",
"STATUS_DATATYPE_MISALIGNMENT aka EXCEPTION_DATATYPE_MISALIGNMENT",
"STATUS_FLOAT_DENORMAL_OPERAND aka EXCEPTION_FLT_DENORMAL_OPERAND",
"STATUS_FLOAT_DIVIDE_BY_ZERO aka EXCEPTION_FLT_DIVIDE_BY_ZERO",
"STATUS_FLOAT_INEXACT_RESULT aka EXCEPTION_FLT_INEXACT_RESULT",
"STATUS_FLOAT_INVALID_OPERATION aka EXCEPTION_FLT_INVALID_OPERATION",
"STATUS_FLOAT_OVERFLOW aka EXCEPTION_FLT_OVERFLOW",
"STATUS_FLOAT_STACK_CHECK aka EXCEPTION_FLT_STACK_CHECK",
"STATUS_FLOAT_UNDERFLOW aka EXCEPTION_FLT_UNDERFLOW",
"STATUS_GUARD_PAGE_VIOLATION aka EXCEPTION_GUARD_PAGE",
"STATUS_ILLEGAL_INSTRUCTION aka EXCEPTION_ILLEGAL_INSTRUCTION",
"STATUS_IN_PAGE_ERROR aka EXCEPTION_IN_PAGE_ERROR",
"STATUS_INTEGER_DIVIDE_BY_ZERO aka EXCEPTION_INT_DIVIDE_BY_ZERO",
"STATUS_INTEGER_OVERFLOW aka EXCEPTION_INT_OVERFLOW",
"STATUS_INVALID_DISPOSITION aka EXCEPTION_INVALID_DISPOSITION",
"STATUS_INVALID_HANDLE aka EXCEPTION_INVALID_HANDLE",
"STATUS_NONCONTINUABLE_EXCEPTION aka EXCEPTION_NONCONTINUABLE_EXCEPTION",
"STATUS_PRIVILEGED_INSTRUCTION aka EXCEPTION_PRIV_INSTRUCTION",
"STATUS_SINGLE_STEP aka EXCEPTION_SINGLE_STEP",
"STATUS_STACK_OVERFLOW aka EXCEPTION_STACK_OVERFLOW",
};
const int data_len = 50;