[PATCH] D85378: Fix off-by-one error in size of the required shadow memory passed to `MapDynamicShadow`.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 17:35:41 PDT 2020
delcypher added a comment.
@tejohnson Looks like this bug is present on Linux too
uptr FindDynamicShadowStart() {
uptr shadow_size_bytes = MemToShadowSize(kHighMemEnd);
#if ASAN_PREMAP_SHADOW
if (!PremapShadowFailed())
return FindPremappedShadowStart(shadow_size_bytes);
#endif
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85378/new/
https://reviews.llvm.org/D85378
More information about the llvm-commits
mailing list