History log of /external/compiler-rt/lib/msan/msan.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d763c0d3700e73b3aead8e65e04ec28efc56138 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

(cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c)

Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/msan/msan.h
cdce50bda3603770cc4ef80cbb613c78b8e47a17 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r239765

Change-Id: I722dcde07e4f76a8a35ca701d89be5f311840e74
/external/compiler-rt/lib/msan/msan.h
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/msan/msan.h
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/msan/msan.h
6a211c5814e25d6745a5058cc0e499e5235d3821 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/msan/msan.h
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/msan/msan.h
f16dc4234098a22a9d0d56f0198d87905481e7fd 07-Nov-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Make StackTrace::Unwind the only public way to unwind a stack trace.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
450eee655289a622ab9acf87d863f38991b184c9 24-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix invalid origin copying.

Origin copying may destroy valid origin info. This is caused by
__msan_copy_origin widening the address range to the nearest 4-byte aligned
addresses both on the left and on the right. If the target buffer is
uninitialized and the source is fully initialized, this will result in
overriding valid origin of target buffer with stale (possibly 0) origin of the
source buffer.

With this change the widened origin is copied only if corresponding shadow
values are non zero.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
7c6bd4060e60f5b148cc629c8791c2a8bf3d3347 22-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Drain allocator cache when leaving thread.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
effdc7e483708cfa4dc597c21f246c5dbc09daa0 16-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix origin of deallocated memory.

MSan poisons deallocated memory but it used to give it an invalid origin value,
resulting in confusing reports. This change associates deallocation stack trace
with such memory.

Note that MSan does not have quarantine, and use-after-free detection is very
limited.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
6f3460595f10fb4740ccd0beaa888a0e47ed48cd 13-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Add source file:line to stack origin reports.

Runtime library part.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
c154820b43052cfc54ee20752a3232aa8e6c7843 28-Aug-2013 Alexey Samsonov <samsonov@google.com> [sanitizer] fix code style

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189474 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
0e38a67cd2d877e8680d65878c86c9e7e4fa4b1d 27-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Save/restore va_arg_overflow_tls in signal handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
91659d56bab07fb82ac0edad18c04b333680fd62 27-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Unpoison all TLS shadow when leaving a signal handler.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
5c48a8c4a8b3f7cd3f03f26c6aadc0ee606fc9b7 02-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Allocator statistics interface and malloc hooks.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187653 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
2e75ac983cb233daa1abfa35fb33d2bafffe2ab1 29-Jul-2013 Peter Collingbourne <peter@pcc.me.uk> Move UnpoisonMappedDSO to sanitizer_common.

This is so DFSan will be able to use it.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
c2918bf11fc65b1f9551eee03719e9bdf02eedd5 27-Jun-2013 Alexey Samsonov <samsonov@google.com> [MSan] Rename __msan_unpoision_param to __msan::UnpoisonParam - it shouldn't be in interface

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
0b4bf4d72be10ba114c9b1f73aca45acd0e44ddc 06-May-2013 Sergey Matveev <earthdok@google.com> [msan] Common flags in MSan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181194 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
a897400cec0284763da5a6db4670fa0a64bbfcd9 05-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Conditionally disable new() and delete() wrappers.

To be used with static libstdc++.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.h
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