platform_system_core/debuggerd/libdebuggerd
Peter Collingbourne ebc78cc852 Switch to the new kernel API for obtaining fault address tag bits.
The discussion on LKML is converging on v16 of the fault address tag
bits patch [1]. In this version of the patch the presence of the tag
bits in si_addr is controlled by a sa_flags bit, and a protocol is
introduced to allow userspace to detect kernel support for sa_flags
bits. Update the tombstone signal handler to use this API to read
the tag bits, update the interceptors in libsigchain to implement
the flag support detection protocol and hide the tag bits in si_addr
from chained signal handlers that did not request them to match the
kernel behavior.

[1] https://lore.kernel.org/linux-arm-kernel/cover.1605235762.git.pcc@google.com/

Change-Id: I57f24c07c01ceb3e5b81cfc15edf559ef7dfc740
2020-11-13 16:08:27 -08:00
..
include/libdebuggerd Switch to the new kernel API for obtaining fault address tag bits. 2020-11-13 16:08:27 -08:00
test Merge "debuggerd: use One True timestamp function." 2020-07-24 15:47:03 +00:00
backtrace.cpp Add arch member into Unwinder object. 2020-09-24 18:46:23 -07:00
gwp_asan.cpp Move PC-only unwind frame generation to libunwindstack. 2020-03-26 13:39:05 -07:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Add support for MTE error reports in tombstones. 2020-04-27 13:15:49 -07:00
tombstone.cpp Add arch member into Unwinder object. 2020-09-24 18:46:23 -07:00
utility.cpp Switch to the new kernel API for obtaining fault address tag bits. 2020-11-13 16:08:27 -08:00