breakpad/src/processor
Alex Gough fe35cd43f2 Allow breakpad to read extended amd64 contexts
Minidumps can contain extended, and compacted extended, contexts to
include xstate data such as the state of the cet registers cetumsr
and cetussp. Previously breakpad would reject dumps with contexts
larger than expected. With this chage, breakpad now accepts and reads
these minidumps. This change does not yet add processing for this
extra data, but will allow any minidumps to be passed on to other
processing tools, or be available for manual inspection.

See chromium-review.googlesource.com/c/crashpad/crashpad/+/2575920
for motivation.

Bug: 1250098
Change-Id: Id67649738ef1c7fb6308e05e6cd8fde790771cb2
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3256483
Reviewed-by: Robert Sesek <rsesek@chromium.org>
2021-11-02 20:17:21 +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 Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
basic_source_line_resolver_types.h Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
contained_range_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
contained_range_map_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
fast_source_line_resolver_types.h Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
fast_source_line_resolver_unittest.cc Add support to process INLINE records in symbol files 2021-07-22 19:09:50 +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 Suppress handler thread from appearing in MinidumpProcessor's ProcessState 2006-11-06 23:00:19 +00:00
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 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 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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_serializer.h fix pointer style to match the style guide 2020-07-15 06:20:02 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
simple_serializer.h fix pointer style to match the style guide 2020-07-15 06:20:02 +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 Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +00:00
source_line_resolver_base_types.h Make processor compatible with both old and new format INLINE/INLINE_ORIGIN 2021-10-29 23:23:38 +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 Add SPARC/Solaris support to client handler and processor (#201, 200). 2007-09-26 18:28:05 +00:00
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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_contained_range_map.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
static_contained_range_map_unittest.cc Move scoped_ptr.h to common 2013-01-17 15:53:56 +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