breakpad/src/processor
jimblandy 1e73bad86e Breakpad stack walker: remove embedded newlines from module names.
pdb filenames in crash reports may contain embedded newlines. When
minidump-stackwalk prints these lines, it ends up with:

Module|olek8r4u.dll|6.0.6000.16386|\\xc2\\xeb\\x17\\x04J\\xb6:\\xbaT\\xf3\\xef\\xe8Y\\x90\\x86\\xaa\\xe5\\x16n\\xb1\\x80\\x85\\t\\x12!\\x16\\x0f\\x98\\xf8\\x89\\x16"\\x96\\xd4\\x84\\x88\\xea\\xe3\\r\\r\\x1b\\xca\\x85*^h\\xf5\\xdc\n\\xd9\\xf4}j\\x1d7\\xe39o\\x1f\\xc5\\xc4\\xa6x\\x8ba\\xe8\\xd6K\\x89H\\xe1\\xff\\xe7\\xf5\\xf0Y\\xfd\\xf5\\xdbu\\x0c\\x07\\x86\\xed|29E0B04FCCBE47EB86A6C819E8B89D051|0x00f60000|0x00ff2fff|0\n

Which has an embedded newline and the machine parser can't handle it. This
patch just strips the embedded newline, just as we strip embedded |
separator characters.

a=bsmedberg, r=jimblandy


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@571 4c0a9323-5329-0410-9bdc-e9ce6186880e
2010-04-15 19:00:28 +00:00
..
testdata Breakpad: Add minidump processor support for DWARF Call Frame Information. 2010-03-16 16:28:32 +00:00
address_map-inl.h Add logging to minidump processor (#82). Part 2: add messages to the rest of 2007-05-21 20:09:33 +00:00
address_map.h Add logging to minidump processor (#82). Part 2: add messages to the rest of 2007-05-21 20:09:33 +00:00
address_map_unittest.cc Provide for logging initialization routines (#179). r=bryner 2007-05-25 18:04:17 +00:00
basic_code_module.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
basic_code_modules.cc Add logging to minidump processor (#82). Part 2: add messages to the rest of 2007-05-21 20:09:33 +00:00
basic_code_modules.h Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
basic_source_line_resolver.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
basic_source_line_resolver_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
binarystream.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
binarystream.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
binarystream_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
call_stack.cc Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
cfi_frame_info-inl.h Breakpad: Add minidump processor support for DWARF Call Frame Information. 2010-03-16 16:28:32 +00:00
cfi_frame_info.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
cfi_frame_info.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
cfi_frame_info_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
contained_range_map-inl.h Fix for issues 296, 297. Various symbol supplier classes need to be updated with new overload('make check' was failing, as well as crash_report), and remove logging that was flooding output 2009-02-27 23:59:40 +00:00
contained_range_map.h Add logging to minidump processor (#82). Part 2: add messages to the rest of 2007-05-21 20:09:33 +00:00
contained_range_map_unittest.cc Provide for logging initialization routines (#179). r=bryner 2007-05-25 18:04:17 +00:00
linked_ptr.h Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
logging.cc Use "%" PRIx64 instead of "%llx" (#241). r=bryner 2008-02-25 19:32:00 +00:00
logging.h Allow building with -pedantic (#186). r=ted.mielczarek 2007-05-31 19:44:52 +00:00
minidump.cc Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
minidump_dump.cc issue 170 - Report assertion type in minidump_stackwalk output. r=mark at http://breakpad.appspot.com/45001 2009-12-02 17:43:57 +00:00
minidump_dump_test Suppress handler thread from appearing in MinidumpProcessor's ProcessState 2006-11-06 23:00:19 +00:00
minidump_processor.cc Basic arm cpu support for processor. r=mark at http://breakpad.appspot.com/49011 2009-12-19 21:43:53 +00:00
minidump_processor_unittest.cc Fix to cache NOT_FOUND results from symbol supplier on a per-minidump basis 2010-03-03 01:29:04 +00:00
minidump_stackwalk.cc Breakpad stack walker: remove embedded newlines from module names. 2010-04-15 19:00:28 +00:00
minidump_stackwalk_machine_readable_test Add module list to machine-readable minidump_stackwalk output (#119). 2007-01-29 21:30:31 +00:00
minidump_stackwalk_test minidump_stackwalk should use MinidumpProcessor (#64). r=bryner 2006-10-27 00:40:56 +00:00
minidump_unittest.cc Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
network_interface.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_protocol.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_resolver.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_resolver_server_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_resolver_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_server.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_server.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
network_source_line_server_unittest.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
pathname_stripper.cc Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
pathname_stripper.h Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
pathname_stripper_unittest.cc Fix build errors with gcc 4.4. Patch by Silvius Rus <rus@google.com>. 2009-08-14 18:46:43 +00:00
postfix_evaluator-inl.h Breakpad processor: Support negative literals in the postfix evaluator. 2010-02-24 19:17:54 +00:00
postfix_evaluator.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
postfix_evaluator_unittest.cc Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
process_state.cc issue 170 - Report assertion type in minidump_stackwalk output. r=mark at http://breakpad.appspot.com/45001 2009-12-02 17:43:57 +00:00
range_map-inl.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
range_map.h Add logging to minidump processor (#82). Part 2: add messages to the rest of 2007-05-21 20:09:33 +00:00
range_map_unittest.cc Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
scoped_ptr.h Rename Airbag to Breakpad. 2007-02-14 19:51:05 +00:00
simple_symbol_supplier.cc Fix for issues 296, 297. Various symbol supplier classes need to be updated with new overload('make check' was failing, as well as crash_report), and remove logging that was flooding output 2009-02-27 23:59:40 +00:00
simple_symbol_supplier.h Fix for issues 296, 297. Various symbol supplier classes need to be updated with new overload('make check' was failing, as well as crash_report), and remove logging that was flooding output 2009-02-27 23:59:40 +00:00
source_daemon.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
stackwalker.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
stackwalker_amd64.cc Breakpad processor: Support AMD64 stack unwinding driven by DWARF CFI. 2010-03-16 16:49:53 +00:00
stackwalker_amd64.h Breakpad processor: Support AMD64 stack unwinding driven by DWARF CFI. 2010-03-16 16:49:53 +00:00
stackwalker_amd64_unittest.cc Breakpad processor: Support AMD64 stack unwinding driven by DWARF CFI. 2010-03-16 16:49:53 +00:00
stackwalker_arm.cc Breakpad: Support DWARF CFI-driven stack walking on ARM. 2010-03-16 16:46:22 +00:00
stackwalker_arm.h Breakpad: Support DWARF CFI-driven stack walking on ARM. 2010-03-16 16:46:22 +00:00
stackwalker_arm_unittest.cc Breakpad: Support DWARF CFI-driven stack walking on ARM. 2010-03-16 16:46:22 +00:00
stackwalker_ppc.cc Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
stackwalker_ppc.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
stackwalker_selftest.cc Use "%" PRIx64 instead of "%llx" (#241). r=bryner 2008-02-25 19:32:00 +00:00
stackwalker_selftest_sol.s Add SPARC/Solaris support to client handler and processor (#201, 200). 2007-09-26 18:28:05 +00:00
stackwalker_sparc.cc Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
stackwalker_sparc.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
stackwalker_unittest_utils.h Breakpad processor: Unit tests for StackwalkerX86. 2010-03-16 16:25:30 +00:00
stackwalker_x86.cc Breakpad: Add minidump processor support for DWARF Call Frame Information. 2010-03-16 16:28:32 +00:00
stackwalker_x86.h Breakpad: Add minidump processor support for DWARF Call Frame Information. 2010-03-16 16:28:32 +00:00
stackwalker_x86_unittest.cc Breakpad: Add minidump processor support for DWARF Call Frame Information. 2010-03-16 16:28:32 +00:00
synth_minidump.cc Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
synth_minidump.h Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
synth_minidump_unittest.cc Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
synth_minidump_unittest_data.h Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
test_assembler.cc Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
test_assembler.h Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
test_assembler_unittest.cc Breakpad Processor: Add new unit tests for google_breakpad::Minidump 2010-03-16 16:20:34 +00:00
tokenize.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
tokenize.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
udp_network.cc provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
udp_network.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00
windows_frame_info.h provide a network source line resolver + server. r=mark,jimb at http://breakpad.appspot.com/36001 2010-04-08 23:06:23 +00:00