breakpad/src/processor
Ivan Penkov 64b25d6653 Fixing issues in the Breakpad symbol file serialization code.
- FastSourceLineResolver::Module::LoadMapFromMemory now rejects an older version of the serialization format.
- Cleaned up several unneeded usages of scoped_ptr::get.
- Fixed the serialization of bool. The serialization code was using 255 for 'true' while the deserialization code was expecting to see 1.
- Serialization for PublicSymbol.is_multiple was missing. Deserialization was expecting it
- Added some logging to processor/source_line_resolver_base.cc

Change-Id: Iadc7d8ee23bf3a07e4ea280d5d4c3f25f6278b69
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3324395
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
2021-12-09 05:03:53 +00:00
..
proto Update links 2016-11-18 17:24:37 +00:00
testdata Allow breakpad to read extended amd64 contexts 2021-11-02 20:17:21 +00:00
address_map-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
address_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
address_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
basic_code_module.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
basic_code_modules.cc Enable truncation of module ranges 2019-06-11 19:04:02 +00:00
basic_code_modules.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
basic_source_line_resolver.cc Fix corrupted symbol file due to malformed INLINE/INLINE_ORIGIN records 2021-12-07 20:40:40 +00:00
basic_source_line_resolver_types.h Change Inlines in Function to be ContainedRangeMap that is easier to serialize. 2021-11-30 23:24:59 +00:00
basic_source_line_resolver_unittest.cc Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
call_stack.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
cfi_frame_info-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
cfi_frame_info.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
cfi_frame_info.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
cfi_frame_info_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
contained_range_map-inl.h Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
contained_range_map.h Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
contained_range_map_unittest.cc Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
convert_old_arm64_context.cc Define and use a a new MDRawContextARM64 2018-08-01 19:27:25 +00:00
convert_old_arm64_context.h Define and use a a new MDRawContextARM64 2018-08-01 19:27:25 +00:00
disassembler_x86.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
disassembler_x86.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
disassembler_x86_unittest.cc Cleanup: Remove duplicate wording in license headers. 2013-04-23 23:18:39 +00:00
dump_context.cc processor: Fix memory leak after 88d8114f 2018-08-02 00:02:10 +00:00
dump_object.cc Refactoring in preparation for microdump processing 2014-09-08 19:10:42 +00:00
exploitability.cc Improving the support for Fuchsia in Breakpad Processor. 2019-07-12 18:29:23 +00:00
exploitability_linux.cc Fix compiler errors found with -Wunreachable-code-aggressive. 2021-09-03 13:36:45 +00:00
exploitability_linux.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
exploitability_unittest.cc Updating ExploitabilityLinux to check memory mapping names against a prefix 2016-08-29 18:39:01 +00:00
exploitability_win.cc Fix compiler errors found with -Wunreachable-code-aggressive. 2021-09-03 13:36:45 +00:00
exploitability_win.h Added the base exploitability module for windows. This only adds the very basic exception type based analysis for now. 2010-09-22 02:37:19 +00:00
fast_source_line_resolver.cc Fixing issues in the Breakpad symbol file serialization code. 2021-12-09 05:03:53 +00:00
fast_source_line_resolver_types.h Fixing issues in the Breakpad symbol file serialization code. 2021-12-09 05:03:53 +00:00
fast_source_line_resolver_unittest.cc Add serialization of inlines and inline origins for FastSourceLineResolver so that it can construct inlined frames later. 2021-12-01 00:31:39 +00:00
linked_ptr.h Fix processor to build with clang 2012-09-10 19:46:19 +00:00
logging.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
logging.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
map_serializers-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
map_serializers.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
map_serializers_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
microdump.cc Enable truncation of module ranges 2019-06-11 19:04:02 +00:00
microdump_processor.cc Add -s flag to microdump_stackwalk for dumping stack contents. 2017-10-17 10:22:46 +00:00
microdump_processor_unittest.cc Revert "arm: Allow the first function to use linked register as return pc" 2021-03-16 18:00:35 +00:00
microdump_stackwalk.cc Add option to dump crash thread only 2021-04-01 17:42:21 +00:00
microdump_stackwalk_machine_readable_test microdump_stackwalk_test: fix bashism in test 2016-11-25 04:53:01 +00:00
microdump_stackwalk_test microdump_stackwalk_test: fix bashism in test 2016-11-25 04:53:01 +00:00
microdump_stackwalk_test_vars Microdumps: support aarch64 and lib mapping from APK 2014-12-02 15:31:25 +00:00
minidump.cc Allow breakpad to read extended amd64 contexts 2021-11-02 20:17:21 +00:00
minidump_dump.cc Consistently call BaseName() in various Usage() functions. 2021-04-07 20:37:52 +00:00
minidump_dump_test
minidump_processor.cc ios/mac: Add exception code for Crashpad uncaught exceptions. 2021-10-14 17:11:21 +00:00
minidump_processor_unittest.cc Allow breakpad to read extended amd64 contexts 2021-11-02 20:17:21 +00:00
minidump_stackwalk.cc Add option to dump crash thread only 2021-04-01 17:42:21 +00:00
minidump_stackwalk_machine_readable_test
minidump_stackwalk_test
minidump_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_comparer.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_comparer.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_factory.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_serializer.cc Add serialization of inlines and inline origins for FastSourceLineResolver so that it can construct inlined frames later. 2021-12-01 00:31:39 +00:00
module_serializer.h Add serialization of inlines and inline origins for FastSourceLineResolver so that it can construct inlined frames later. 2021-12-01 00:31:39 +00:00
pathname_stripper.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
pathname_stripper.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
pathname_stripper_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
postfix_evaluator-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
postfix_evaluator.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
postfix_evaluator_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
proc_maps_linux.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. 2016-08-30 23:31:43 +00:00
proc_maps_linux_unittest.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. 2016-08-30 23:31:43 +00:00
process_state.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
processor.gyp Enable truncation of module ranges 2019-06-11 19:04:02 +00:00
processor_tools.gypi Add GYP build for the src/tools directory on Mac and Linux. 2014-07-24 15:22:51 +00:00
range_map-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
range_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
range_map_truncate_lower_unittest.cc Removed unused includes/declarations 2019-06-11 23:36:23 +00:00
range_map_truncate_upper_unittest.cc Removed unused includes/declarations 2019-06-11 23:36:23 +00:00
range_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
simple_serializer-inl.h Fixing issues in the Breakpad symbol file serialization code. 2021-12-09 05:03:53 +00:00
simple_serializer.h Fixing issues in the Breakpad symbol file serialization code. 2021-12-09 05:03:53 +00:00
simple_symbol_supplier.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
simple_symbol_supplier.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
source_line_resolver_base.cc Fixing issues in the Breakpad symbol file serialization code. 2021-12-09 05:03:53 +00:00
source_line_resolver_base_types.h Add serialization of inlines and inline origins for FastSourceLineResolver so that it can construct inlined frames later. 2021-12-01 00:31:39 +00:00
stack_frame_cpu.cc Process minidumps generated on ARM64 in iOS apps. 2013-11-23 01:45:20 +00:00
stack_frame_symbolizer.cc Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
stackwalk_common.cc Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
stackwalk_common.h Add option to dump crash thread only 2021-04-01 17:42:21 +00:00
stackwalker.cc Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
stackwalker_address_list.cc Make StackWalkerAddressList use FRAME_TRUST_PREWALKED trust level. 2013-09-04 20:43:10 +00:00
stackwalker_address_list.h Create StackwalkerAddressList. 2013-08-23 14:38:36 +00:00
stackwalker_address_list_unittest.cc update to newer googletest 2021-01-04 22:49:21 +00:00
stackwalker_amd64.cc amd64: reject frames with invalid rsp/rip 2020-10-07 19:33:38 +00:00
stackwalker_amd64.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_amd64_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_arm.cc Revert "arm: Allow the first function to use linked register as return pc" 2021-03-16 18:00:35 +00:00
stackwalker_arm.h Revert "arm: Allow the first function to use linked register as return pc" 2021-03-16 18:00:35 +00:00
stackwalker_arm64.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_arm64.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_arm64_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_arm_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_mips.cc Handle very large stack traces 2017-07-12 17:53:15 +00:00
stackwalker_mips.h Adding support for mips. 2013-09-11 11:37:04 +00:00
stackwalker_mips64_unittest.cc update to newer googletest 2021-01-04 22:49:21 +00:00
stackwalker_mips_unittest.cc update to newer googletest 2021-01-04 22:49:21 +00:00
stackwalker_ppc.cc Fix memory leak in ppc stackwalker 2017-08-18 10:24:52 +00:00
stackwalker_ppc.h Allow setting a limit on the number of frames to be recovered by stack scanning. 2013-08-19 18:31:51 +00:00
stackwalker_ppc64.cc Fix memory leak in ppc64 stackwalker 2017-08-30 17:28:54 +00:00
stackwalker_ppc64.h Allow setting a limit on the number of frames to be recovered by stack scanning. 2013-08-19 18:31:51 +00:00
stackwalker_selftest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_selftest_sol.s
stackwalker_sparc.cc Handle very large stack traces 2017-07-12 17:53:15 +00:00
stackwalker_sparc.h Allow setting a limit on the number of frames to be recovered by stack scanning. 2013-08-19 18:31:51 +00:00
stackwalker_unittest_utils.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_x86.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_x86.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalker_x86_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_address_map-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_address_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_address_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_contained_range_map-inl.h Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
static_contained_range_map.h Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
static_contained_range_map_unittest.cc Extend ContainedRangeMap and StaticContainedRangeMap 2021-11-30 23:24:46 +00:00
static_map-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_map_iterator-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_map_iterator.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_range_map-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_range_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_range_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
symbolic_constants_win.cc Allow compiling the google-breakpad code using a global ::string class instead of std::string. 2016-11-08 01:29:06 +00:00
symbolic_constants_win.h Allow compiling the google-breakpad code using a global ::string class instead of std::string. 2016-11-08 01:29:06 +00:00
synth_minidump.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
synth_minidump.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
synth_minidump_unittest.cc Use stdint types everywhere 2013-03-06 14:04:42 +00:00
synth_minidump_unittest_data.h Use stdint types everywhere 2013-03-06 14:04:42 +00:00
tokenize.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
tokenize.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
windows_frame_info.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00