[PATCH] D85378: Fix off-by-one error in size of the required shadow memory passed to `MapDynamicShadow`.

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 14:55:47 PDT 2020


yln added a comment.

After looking at this again: would changing `MemToShadowSize()` to round-up to the closest multiple of page_size work?
That would cover all platforms (since it's a shared function in asan_mapping.h).


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