platform_system_core/debuggerd/libdebuggerd
Christopher Ferris b999b82eb7 Dump threads in tombstone fallback path.
When dumping a tombstone using the fallback path, only the main
thread was showing up. Modify the code to dump the threads using
a slightly different path for the tombstone generation code.

In addition, while looking at this code, two MTE variables were
not set in the tombstone fallback code. Added those variables
so MTE devices will work properly in this fallback path.

Modified the tombstone unit tests for seccomp to have
multiple threads and verify those threads show up in the tombstone.

Bug: 208933016

Test: Ran unit tests.
Test: Ran debuggerd <PID> on a privileged process and verified
Test: all threads dumped. Also verified that the tagged_addr_ctrl
Test: variable is present on the raven device.
Change-Id: I16eadb0cc2c37a7dbc5cac16af9b5051008b5127
2022-02-16 15:02:38 -08:00
..
include/libdebuggerd Merge "debuggerd: add the PAC keys to the tombstones." 2022-01-14 18:52:01 +00:00
test debuggerd: add the PAC keys to the tombstones. 2022-01-13 15:03:19 -08:00
backtrace.cpp debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
gwp_asan.cpp Update for MapInfo objects in frame data. 2022-01-06 14:37:46 -08:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Update for MapInfo objects in frame data. 2022-01-06 14:37:46 -08:00
tombstone.cpp Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00
tombstone_proto.cpp Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00
tombstone_proto_to_text.cpp debuggerd: add the PAC keys to the tombstones. 2022-01-13 15:03:19 -08:00
utility.cpp debuggerd: add the PAC keys to the tombstones. 2022-01-13 15:03:19 -08:00