<div dir="ltr">Hi there,<div><br></div><div>I'm trying to use the memory sanitizer of LLVM 3.3. It's crashing during MSan initialization (__msan::InitShadow). Here's the strace output.</div><div><br></div><div><div>mmap(0x400000000000, 35184372088831, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x400000000000</div><div>--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x55edf4b36720} ---</div><div>+++ killed by SIGSEGV (core dumped) +++</div></div><div><br></div><div>Because of the -fsanitize=memory option, clang maps all segments in theĀ 0x5555555????? range which is zero'ed out by this mmap. According to the Memory Sanitizer paper, the application is expected between 0x600000000000 and 0x7fffffffffff. Why aren't the application segments mapped there?</div><div><br></div><div>Can anyone shed some light on this?</div><div><br></div><div>I would like to stick with 3.3 if that's possible.</div><div><br></div><div>Thanks alot,</div><div>Nathan</div></div>