platform_system_core/debuggerd
Christopher Ferris b92b52c071 Add ability to handle multiple intercepts per pid.
While doing this, refactor the intercept code to be easier to understand.

The primary use case for this is to perform a parallel stack dump (both Java and native) for specific ANRs.

Add tests for all of the different intercept conditions.

Modify the tests to display the error message from the intercept
response if there is an error.

Bug: 254634348
Test: All unit tests pass.
Test: Ran debuggerd on native and java processes.
Test: Created a bugreport without error.
Change-Id: Ic531ccee05b9a470748b815cf109e0076150a0b6
2023-10-19 15:13:59 +00: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 debuggerd: fix passing of fdsan_table to crash_dump 2023-08-09 15:19:51 -07:00
include/debuggerd Recoverable GWP-ASan: Don't tell ActivityManager 2023-02-07 17:06:32 -08:00
libdebuggerd Fix potential miscellaneous debuggerd issues. 2023-08-09 17:31:55 -07:00
proto Make libdebuggerd ramdisk available. 2023-07-31 14:24:01 -07:00
rust/tombstoned_client Add safety comments. 2023-07-10 14:56:20 +01:00
seccomp_policy debuggerd: add socksetopt to seccomp policy 2023-09-05 19:29:13 +00: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 Disable warning which is not detecting problems. 2023-09-12 13:01:10 -07:00
crash_dump.cpp Merge "[debuggerd] New protocol to AM to handle recoverable crashes." 2023-03-29 20:28:35 +00: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: simplify output handling 2023-05-19 15:19:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00:00
MODULE_LICENSE_APACHE2
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 Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00: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