summaryrefslogtreecommitdiff
path: root/lib/msan/msan_interceptors.cc
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-10-25 16:54:12 +0000
committerReid Kleckner <rnk@google.com>2017-10-25 16:54:12 +0000
commitd8ac58ba4113c97e6a33e063e03bd907cb82ea47 (patch)
tree3c09e55f370083d44cf1769e61fae6dc76707f0e /lib/msan/msan_interceptors.cc
parent6f634ed9c3f52ef54e4e294b2f8765dd1bdce9f2 (diff)
[asan] Don't print rows of shadow bytes outside shadow memory
Summary: They might not be mapped on some platforms such as Win64. In particular, this happens if the user address is null. There will not be any shadow memory 5*16 bytes before the user address. This happens on Win64 in the error_report_callback.cc test case. It's not clear why this isn't a problem on Linux as well. Fixes PR35058 Reviewers: vitalybuka Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D39260 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@316589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_interceptors.cc')
0 files changed, 0 insertions, 0 deletions