Left: | ||
Right: |
OLD | NEW |
---|---|
1 /* Copyright (c) 2006, Google Inc. | 1 /* Copyright (c) 2006, Google Inc. |
2 * All rights reserved. | 2 * All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... | |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ |
29 | 29 |
30 /* minidump_exception_win32.h: Definitions of exception codes for | 30 /* minidump_exception_win32.h: Definitions of exception codes for |
31 * Win32 platform | 31 * Win32 platform |
32 * | 32 * |
33 * (This is C99 source, please don't corrupt it with C++.) | 33 * (This is C99 source, please don't corrupt it with C++.) |
34 * | 34 * |
35 * Author: Mark Mentovai | 35 * Author: Mark Mentovai |
36 * Split into its own file: Neal Sidhwaney */ | 36 * Split into its own file: Neal Sidhwaney */ |
37 | 37 |
38 | 38 |
39 #ifndef GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ | 39 #ifndef GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ |
40 #define GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ | 40 #define GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ |
41 | 41 |
42 #include <stddef.h> | 42 #include <stddef.h> |
43 | 43 |
44 #include "google_breakpad/common/breakpad_types.h" | 44 #include "google_breakpad/common/breakpad_types.h" |
45 | 45 |
46 | 46 |
47 /* For (MDException).exception_code. These values come from WinBase.h | 47 /* For (MDException).exception_code. These values come from WinBase.h |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 /* EXCEPTION_POSSIBLE_DEADLOCK */ | 98 /* EXCEPTION_POSSIBLE_DEADLOCK */ |
99 MD_EXCEPTION_CODE_WIN_STACK_BUFFER_OVERRUN = 0xc0000409, | 99 MD_EXCEPTION_CODE_WIN_STACK_BUFFER_OVERRUN = 0xc0000409, |
100 /* STATUS_STACK_BUFFER_OVERRUN */ | 100 /* STATUS_STACK_BUFFER_OVERRUN */ |
101 MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION = 0xc0000374, | 101 MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION = 0xc0000374, |
102 /* STATUS_HEAP_CORRUPTION */ | 102 /* STATUS_HEAP_CORRUPTION */ |
103 MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION = 0xe06d7363 | 103 MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION = 0xe06d7363 |
104 /* Per http://support.microsoft.com/kb/185294, | 104 /* Per http://support.microsoft.com/kb/185294, |
105 generated by Visual C++ compiler */ | 105 generated by Visual C++ compiler */ |
106 } MDExceptionCodeWin; | 106 } MDExceptionCodeWin; |
107 | 107 |
108 typedef enum { | |
mochalatte
2010/09/20 18:05:55
it seems to me that the constants in this enum are
Cris Neckar
2010/09/21 17:41:14
Done.
| |
109 MD_ACCESS_VIOLATION_WIN_READ = 0, | |
110 MD_ACCESS_VIOLATION_WIN_WRITE = 1, | |
111 MD_ACCESS_VIOLATION_WIN_EXEC = 8 | |
112 } MDAccessViolationTypeWin; | |
108 | 113 |
109 #endif /* GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ */ | 114 #endif /* GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ */ |
OLD | NEW |