History log of /external/compiler-rt/lib/msan/msan.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
58b52b5efb7641b27c1728be0946889f335d83e1 14-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Options for switching between fast and cfi unwinders in run time.

Does not change default behavior.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
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/msan/msan.h
93c26022f362c9e0a6acbe3bf3c7c395e19e0835 06-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] Block reports from interceptors during _Unwind_Backtrace

Summary:
I'm hitting a big recursive report from:
uninit on strlen ->
__msan::PrintWarningWithOrigin() ->
__msan::GetStackTrace() ->
__sanitizer::StackTrace::SlowUnwindStack() ->
_Unwind_Backtrace() ->
... libgcc calls ->
uninit on strlen() ->
... repeats

Reviewers: eugenis

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
efbc43528892b0a30039f68633e0b4ed3bbd2dae 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Use slow stack unwinder in UMR reports.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
70c6e3fb6dfddb9c4d26ac133beb5f53b71e47d9 13-Feb-2013 Kostya Serebryany <kcc@google.com> [msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
12c46937db2a5ab9237ce314c3f3a83636e8a575 29-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Cleanup public interface header.

Moved everything users are not supposed to use to a private interface header.
Documented all public interfaces. Made them safe to use even if built without
MemorySanitizer.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
99bf1d71c634ab0ed39d7614fd8f8f2c2201e111 10-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Set program exit code in keep-going mode.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
db010dae23962ab6089ad1e97af176b7215cb35c 26-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Refactor report printing.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
97edeb3e6270b05cb3ece0d5b6f0ea1f0ba1398a 25-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix header comments.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
78c56c3c407d2c92825c86e6af7a0230d6019a1c 11-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] MemorySanitizer runtime.

Initial commit of the MemorySanitizer runtime library.


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