diff options
author | Peter Collingbourne <pcc@google.com> | 2020-03-20 18:09:00 -0700 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2020-03-27 20:00:06 -0700 |
commit | f03af8844acbd63f257c51577834d2c126a41f47 (patch) | |
tree | 8cde302d29f6c19ad6da6ed35becb8462dafced3 /adb/client/commandline.cpp | |
parent | f3d542fe9fe4b82affada29928921314375d42f8 (diff) |
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
Diffstat (limited to 'adb/client/commandline.cpp')
0 files changed, 0 insertions, 0 deletions