History log of /external/compiler-rt/lib/msandr/msandr.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7a53bca1db2adfb22c9e830f3e91833214b12663 13-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] Clean up extensions during msandr shutdown

Otherwise debug DynamoRIO complains at us for leaking memory.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msandr/msandr.cc
0f92deb81207c80481ff0257fbaba640fe669633 11-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] intercept dlopen and clear shadow for it

Summary:
The loader does not call mmap() through the PLT because it has to
bootstrap the process before libc is present. Hooking dlopen() isn't
enough either because the loader runs module initializers before
returning, and they could run arbitrary msan instrumented code.

If msandr is present, then we can intercept the mmaps from dlopen at the
syscall layer and clear the shadow there. If msandr is missing, we
clear the shadow after dlopen() and hope any initializers are trivial.

Reviewers: eugenis

CC: kcc, llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D509

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msandr/msandr.cc
79b2d17fbaed2afa1a5a8f7bda42e45322709636 22-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] MSanDR: initial commit.

MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and
dynamically generated code for MSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msandr/msandr.cc