| 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 #include "google_breakpad/processor/minidump_processor.h" | 30 #include "google_breakpad/processor/minidump_processor.h" |
| 31 | 31 |
| 32 #include <assert.h> | 32 #include <assert.h> |
| 33 | 33 |
| 34 #include <string> | 34 #include <string> |
| 35 | 35 |
| 36 #include "common/scoped_ptr.h" | 36 #include "common/scoped_ptr.h" |
| 37 #include "common/stdio.h" | 37 #include "common/stdio_wrapper.h" |
| 38 #include "common/using_std_string.h" | 38 #include "common/using_std_string.h" |
| 39 #include "google_breakpad/processor/call_stack.h" | 39 #include "google_breakpad/processor/call_stack.h" |
| 40 #include "google_breakpad/processor/minidump.h" | 40 #include "google_breakpad/processor/minidump.h" |
| 41 #include "google_breakpad/processor/process_state.h" | 41 #include "google_breakpad/processor/process_state.h" |
| 42 #include "google_breakpad/processor/exploitability.h" | 42 #include "google_breakpad/processor/exploitability.h" |
| 43 #include "google_breakpad/processor/stack_frame_symbolizer.h" | 43 #include "google_breakpad/processor/stack_frame_symbolizer.h" |
| 44 #include "processor/logging.h" | 44 #include "processor/logging.h" |
| 45 #include "processor/stackwalker_x86.h" | 45 #include "processor/stackwalker_x86.h" |
| 46 #include "processor/symbolic_constants_win.h" | 46 #include "processor/symbolic_constants_win.h" |
| 47 | 47 |
| (...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 char assertion_line[32]; | 1553 char assertion_line[32]; |
| 1554 snprintf(assertion_line, sizeof(assertion_line), "%u", raw_assertion->line); | 1554 snprintf(assertion_line, sizeof(assertion_line), "%u", raw_assertion->line); |
| 1555 assertion_string.append(" at line "); | 1555 assertion_string.append(" at line "); |
| 1556 assertion_string.append(assertion_line); | 1556 assertion_string.append(assertion_line); |
| 1557 } | 1557 } |
| 1558 | 1558 |
| 1559 return assertion_string; | 1559 return assertion_string; |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 } // namespace google_breakpad | 1562 } // namespace google_breakpad |
| OLD | NEW |