Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Side by Side Diff: src/google_breakpad/common/minidump_exception_win32.h

Issue 189001: Added the base exploitability module for windows. This only adds the very bas... (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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__ */
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted