android_system_core/debuggerd/libdebuggerd
Mitch Phillips bf2d6dd7d4 Update debuggerd for stack MTE.
Two things need changing for debuggerd_test to pass.

 1. The seccomp policy needs to allow for PROT_MTE (0x20) in both
    mprotect() and mmap(). Stack MTE processes do a mprotect()/mmap() of
    the stack when launching a process.
 2. The fault address and stack pointer need to be untagged when trying
    to figure out the stack overflow cause.

Bug: 320448268
Bug: 292478827
Test: atest debuggerd_test --iterations=10
Change-Id: I56471c32ca40edffbb61b7547bdf2b85a6eb1ff7
2024-02-06 15:18:04 +01:00
..
include/libdebuggerd Merge "Use scudo_stack_depot_size from process_info" into main 2023-12-11 23:38:13 +00:00
test Move tombstone_proto_to_text out of libdebuggerd. 2023-12-05 10:14:27 +00:00
backtrace.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
gwp_asan.cpp Pass fault address to GWP-ASan's changed API. 2023-01-12 09:48:11 -08:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Use correct stack depot size in __scudo_get_error 2023-12-13 22:21:19 +00:00
tombstone.cpp Remove unnecessary logging. 2022-10-27 17:56:27 -07:00
tombstone_proto.cpp Update debuggerd for stack MTE. 2024-02-06 15:18:04 +01:00
tombstone_proto_to_text.cpp Move tombstone_proto_to_text out of libdebuggerd. 2023-12-05 10:14:27 +00:00
utility.cpp Move tombstone_proto_to_text out of libdebuggerd. 2023-12-05 10:14:27 +00:00