breakpad/src/processor
Sim Sun f2b3ab5e0a arm: Allow the first function to use linked register as return pc
For a crash at the function entry with corrupted PC, the caller's PC
could be lying in the link register. Using the PC from link register
would be more effective than blindly scanning the stack immediately.

Change-Id: I51673b7298e70faeeab2bfa97075e3c4793f94bc
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2678992
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
2021-02-09 01:00:32 +00:00
..
proto Update links 2016-11-18 17:24:37 +00:00
testdata fix pointer style to match the style guide 2020-07-15 06:20:02 +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 pointer style to match the style guide 2020-07-15 06:20:02 +00:00
basic_source_line_resolver_types.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
basic_source_line_resolver_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 pointer style to match the style guide 2020-07-15 06:20:02 +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 pointer style to match the style guide 2020-07-15 06:20:02 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
fast_source_line_resolver_types.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
fast_source_line_resolver_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 arm: Allow the first function to use linked register as return pc 2021-02-09 01:00:32 +00:00
microdump_stackwalk.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_dump.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_processor_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_stackwalk.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +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 fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
source_line_resolver_base_types.h fix pointer style to match the style guide 2020-07-15 06:20:02 +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 Populate stack frames with unloaded module info. 2017-01-19 19:33:56 +00:00
stackwalk_common.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stackwalk_common.h Revert "Added a switch to dump minidump modules in minidump_stackwalk." 2016-02-10 13:11:20 -08:00
stackwalker.cc Define and use a a new MDRawContextARM64 2018-08-01 19:27:25 +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 arm: Allow the first function to use linked register as return pc 2021-02-09 01:00:32 +00:00
stackwalker_arm.h arm: Allow the first function to use linked register as return pc 2021-02-09 01:00:32 +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