android_system_core/debuggerd
Christopher Ferris 2d5d46ca85 Fix check for thread unwind.
If a process requires executing fallback unwinder and the thread
crashing is not the main thread, the wrong unwinder is used.
Fix this case, and add a new unit test that causes an abort in
the non main thread.

Bug: 233721755

Test: New unit test passes with fix and fails without.
Test: Ran debuggerd on swcodec process and it still dumps all threads.
Change-Id: I70fffc5d680256ce867e7a1d427593b584259160
2022-05-24 21:31:03 -07:00
..
client
common/include
crasher Add two new crash commands. 2022-04-13 16:38:16 -07:00
handler Update for SetProcessMemory removal. 2022-04-19 22:06:58 -07:00
include/debuggerd
libdebuggerd Fix check for thread unwind. 2022-05-24 21:31:03 -07:00
proto Update for accurate unreadable elf files. 2022-03-15 09:50:48 -07:00
rust/tombstoned_client Make some debuggerd libraries available in apex com.android.virt 2022-04-05 15:55:16 +00:00
seccomp_policy Symbolic constants for older minijails 2022-03-21 16:31:00 -07:00
tombstoned Remove double check of fd value. 2021-09-01 13:36:03 -07:00
.clang-format
Android.bp Make some debuggerd libraries available in apex com.android.virt 2022-04-05 15:55:16 +00:00
MODULE_LICENSE_APACHE2
OWNERS
TEST_MAPPING Add hwasan presubmit for debuggerd. 2022-04-18 20:27:52 +00:00
crash_dump.cpp debuggerd: add the PAC keys to the tombstones. 2022-01-13 15:03:19 -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_benchmark.cpp
debuggerd_test.cpp Fix check for thread unwind. 2022-05-24 21:31:03 -07:00
pbtombstone.cpp
protocol.h
util.cpp Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00