platform_system_core/debuggerd
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
..
client debuggerd: simplify output handling 2023-05-19 15:19:06 -07:00
common/include Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00:00
crasher Add the missing copyright headers to the .S files. 2023-09-28 10:41:21 -07:00
handler Use scudo_stack_depot_size from process_info 2023-12-04 16:48:45 -08:00
include/debuggerd Use scudo_stack_depot_size from process_info 2023-12-04 16:48:45 -08:00
libdebuggerd Update debuggerd for stack MTE. 2024-02-06 15:18:04 +01:00
proto Move tombstone_proto_to_text out of libdebuggerd. 2023-12-05 10:14:27 +00:00
rust/tombstoned_client Add safety comments. 2023-07-10 14:56:20 +01:00
seccomp_policy Update debuggerd for stack MTE. 2024-02-06 15:18:04 +01:00
test_permissive_mte Disable clang-tidy on crash test. 2023-01-03 15:58:29 -08:00
tombstoned Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Make apex availability of libpropertyinfoparser and libpropertyinfoparser explicit 2024-01-04 01:34:40 +00:00
crash_dump.cpp Use scudo_stack_depot_size from process_info 2023-12-04 16:48:45 -08:00
crash_test.cpp Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
crash_test.h Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
debuggerd.cpp debuggerd: dump frozen Java processes 2024-01-12 14:06:43 -08:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Avoid sleep in test. 2024-01-03 04:32:35 +00:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Remove jmgao from OWNERS files. 2021-08-10 21:42:14 -07:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h Use scudo_stack_depot_size from process_info 2023-12-04 16:48:45 -08:00
TEST_MAPPING Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
tombstone_handler.cpp Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
tombstone_handler.h Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
util.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00