commit | e046923badea57386ee37c03055bd87271ccf99d | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Feb 09 00:59:10 2018 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Feb 09 00:59:10 2018 +0000 |
tree | ae8f2a33f6d5e99280d4e25461f19279b6daec32 | |
parent | 2abdc456cba589f2e2606d9c45c5dde280e59237 [diff] |
[hwasan] Fix kernel instrumentation of stack. Summary: Kernel addresses have 0xFF in the most significant byte. A tag can not be pushed there with OR (tag << 56); use AND ((tag << 56) | 0x00FF..FF) instead. Reviewers: kcc, andreyknvl Subscribers: srhines, llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D42941 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324691 91177308-0d34-0410-b5e6-96231b3b80d8