[PATCH] D36587: Add NetBSD ASAN shadow mapping for x86-64

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 16:55:27 PDT 2017


eugenis added a comment.

Looking at the comment,
0000 0000 1000 - 0080 0000 0000: main binary and/or MAP_32BIT mappings (512GB)
5500 0000 0000 - 5680 0000 0000: pie binaries without ASLR or on 4.1+ kernels
7e80 0000 0000 - 8000 0000 0000: modules and main thread stack

^ these are the OS constraints, the rest can be moved.

Another constraint is MemToShadowImpl() which, for any address in, I assume, writable memory (so any of the above + heap) needs to provide an distinct address in "shadow". AFAIK, "metainfo" and "traces" are completely arbitrary.


Repository:
  rL LLVM

https://reviews.llvm.org/D36587





More information about the llvm-commits mailing list