android_system_core/debuggerd
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
..
client [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Create a debugger_process_info data structure with the process info pointers. 2020-03-24 17:23:15 -07:00
handler Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
include/debuggerd Create a debugger_process_info data structure with the process info pointers. 2020-03-24 17:23:15 -07:00
libdebuggerd Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned debuggerd: increase the default limit on tombstones to 32. 2019-09-26 14:36:01 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
crash_dump.cpp Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
debuggerd.cpp debuggerd: add support for Java traces. 2018-06-14 15:40:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Read fault address on arm64 using proposed kernel API. 2020-03-27 20:00:06 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
protocol.h Create a debugger_process_info data structure with the process info pointers. 2020-03-24 17:23:15 -07:00
util.cpp debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
util.h debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00