platform_system_core/debuggerd/libdebuggerd
Peter Collingbourne f03af8844a Read fault address on arm64 using proposed kernel API.
On aarch64, the top 8 bits of the address (i.e. the tag bits) of
the fault address in si_addr are always clear. This isn't ideal for
MTE which will require these bits in order to correctly diagnose
tag mismatches.

A proposed kernel patch [1] exposes the full fault address including
the tag bits as part of the ucontext. Change debuggerd to read this
fault address if available.

[1] https://patchwork.kernel.org/patch/11435077/

Bug: 135772972
Change-Id: Ia05be574113860f4e9ecc36a310c4b740e0c4afb
2020-03-27 20:00:06 -07:00
..
include/libdebuggerd Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
test Create a ProcessInfo structure with the process-wide information from the crasher. 2020-02-28 19:12:19 -08:00
backtrace.cpp Add indicator that an elf is memory backed. 2019-04-18 15:37:52 -07:00
gwp_asan.cpp Create a ProcessInfo structure with the process-wide information from the crasher. 2020-02-28 19:12:19 -08:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
tombstone.cpp Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
utility.cpp Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00