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

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 12:43:38 PDT 2017


krytarowski added a comment.

I don't really get why the shadow offset differs between systems, I copied it from FreeBSD.
Please help to optimize it.

Also there is a problem with X86 (32-bit). There are two possible options: 32-bit application on 32-bit kernel or on 64-bit kernel.

For 32-bit kernel the maximal user address:
0xfffff000
For 64-bit kernel the maximal user address of 32-bit application:
0xbfbff000

What would be the proper offset here?


Repository:
  rL LLVM

https://reviews.llvm.org/D36587





More information about the llvm-commits mailing list