diff options
author | Yong Li <yongl0722@gmail.com> | 2020-04-23 20:40:29 +0000 |
---|---|---|
committer | Yong Li <yongl0722@gmail.com> | 2020-04-27 21:07:50 +0000 |
commit | fbca3000972176114eca6e1434e631a5a99622de (patch) | |
tree | 9dd0a7c589329c430084c5f214c7d8e909fb9067 /trusty/coverage/coverage_test.cpp | |
parent | 451197cb640c63320a4ed619a9d3e5aa99b80057 (diff) |
Fix GetGlobalVariableOffset with tagged pointer in aarch64
Tagged pointer for aarch64 since Android R would lead top byte to have
random values. For example of a symbol from libart.so in a hwasan
enabled device in Android R:
1490: 8800000000b094a0 144 OBJECT GLOBAL 24 __dex_debug_descriptor
We need to mask off the top byte so that the address range comparison
would work as intended.
Test: Ran new unit test
Signed-off-by: Yong Li <yongl0722@gmail.com>
Change-Id: Ia8c638e16baff57740c569e9eaf9cfd1f5bd3fad
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions