History log of /external/compiler-rt/lib/msan/msan.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c58a43648cd6121c51a2e795a28e2ef90d7813e6 20-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r275480

Bug: http://b/31320715

This merges commit db963a21048fd7242daae74666cb221f796f33c3 from
aosp/dev.

Test: Build AOSP and run RenderScript tests (host tests for slang and
libbcc, RsTest, CTS)

Change-Id: I8bdd651c1759c4306d62c34edec1d8d9536c9715
/external/compiler-rt/lib/msan/msan.cc
799172d60d32feb1acba1a6867f3a9c39a999e5c 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

Change-Id: I0ca3d7d3f1b7926fcffcb5b467e79958de576437
/external/compiler-rt/lib/msan/msan.cc
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.cc
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.cc
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.cc
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.cc
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.cc
55c7947a742aa72530eef52d902e60e5571ac3cf 12-Nov-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Specify a default value for each common runtime flag

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
a537ea99d3dcc4b2dc0033aee7ad5cb1b378efc7 11-Nov-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Warn if interception fails.

This includes a clang-format pass over common interceptors.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
21bf90dcf562bd05df20eb55b8d0559017574ffb 01-Nov-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Check that address is an app region before printing shadow.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
66d91e3356a0c4d7aff3beaaaff3e87bbaec805c 31-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan.

Summary:
TSan and MSan need to know if interceptor was called by the
user code or by the symbolizer and use pre- and post-symbolization hooks
for that. Make Symbolizer class responsible for calling these hooks instead.
This would ensure the hooks are only called when necessary (during
in-process symbolization, they are not needed for out-of-process) and
save specific sanitizers from tracing all places in the code where symbolization
will be performed.

Reviewers: eugenis, dvyukov

Reviewed By: eugenis

CC: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
7996a2e2a1c461743c9216f13429c04d75050230 29-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
1767ec1c0d56bf9a4a5470ec5b28905e23892753 28-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix a typo and enable poison_in_free flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193529 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
c1a1ed62228288155459d39194995a36aca4a8a6 26-Oct-2013 Peter Collingbourne <peter@pcc.me.uk> Overhaul the symbolizer interface.

This moves away from creating the symbolizer object and initializing the
external symbolizer as separate steps. Those steps now always take place
together.

Sanitizers with a legacy requirement to specify their own symbolizer path
should use InitSymbolizer to initialize the symbolizer with the desired
path, and GetSymbolizer to access the symbolizer. Sanitizers with no
such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for
initialization.

The symbolizer interface has been made thread-safe (as far as I can
tell) by protecting its member functions with mutexes.

Finally, the symbolizer interface no longer relies on weak externals, the
introduction of which was probably a mistake on my part.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
48ed0580871e66c61e856a2281280929f6f77593 24-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Change wording in the invalid origin message.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193335 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
7ad195c7686f7246d6afa36e930884efae42abee 16-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Handle origins in __sanitizer_unaligned_(load|store)*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
6866dba92ac842fc513ba339ba849a953ffb7507 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move verbosity flag to CommonFlags



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
064da32709c8bf81283062abc04cf6e88e6c075d 11-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Simplify StackTrace::FastUnwindStack interface and fix a bug with one-frame stack traces

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b 27-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Unpoison argument shadow for C++ module destructors.

Fixes PR17377.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
29296c09dfd5d279d9719b39b9f628af1bcba43c 23-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix a WTF in r191196.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
27ee7a8bece46fafe81cd10bc5cb14b7082cb644 23-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Allow nested symbolizer and loader scopes.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
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.cc
7847d77b246635211c3bf465421d49d7af5226c1 10-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
68c016aea0b61f649b9d9ba65c7d7217e0c0f6cb 03-Sep-2013 Alexey Samsonov <samsonov@google.com> ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
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.cc
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.cc
dbac0a4a41f405d10e3dcad3597fe08986605289 13-Aug-2013 Dmitry Vyukov <dvyukov@google.com> tsan/msan: add halt_on_error flag
If halt_on_error==true, program terminates after reporting first error.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
3c80c6c574850106481f82b9e23d1c728458d4a9 13-Aug-2013 Timur Iskhodzhanov <timurrrr@google.com> Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
b6246066a271e3b01732d1b4381ef745152747d2 25-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move log_path to common flag and use it in MSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
bb881c736eff073a84cc640d431ae1e58a5e07d4 21-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Add keep_going runtime flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
745dd0d296e7bef712df4b5c7f86c72534953738 07-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] ioctl interceptor.

ASan: disabled by default
MSan: enabled by default
TSan: disabled


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
2e9ffcbc2184f308881fc04ce0799c557b7e5b0f 04-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
f43f6026dc9374e657fb6300840b18ead6347b74 04-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Implement __sanitizer_unaligned_*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183221 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
a879f10ee6aa04f6169d056ef2a9c39502fff290 31-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix gcc build of msan runtime.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
b36779d6e9c55e97b2258fe30e8e02c416b14dda 31-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Handle mixed track-origins and keep-going settings (compiler-rt part).

Before this change, each module defined a weak_odr global __msan_track_origins
with a value of 1 if origin tracking is enabled, 0 if disabled. If there are
modules with different values, any of them may win. If 0 wins, and there is at
least one module with 1, the program will most likely crash.

With this change, __msan_track_origins is only emitted if origin tracking is
on. Then runtime library detects if there is at least one module with origin
tracking, and enables runtime support for it.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
2bba4efbf0df4bfac8e0aac1a924ba763dd9c468 16-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept dl_iterate_phdr.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
11347bf5f008b5970f699241617381d95526d73d 23-Apr-2013 Alexey Samsonov <samsonov@google.com> [MSan] Make a few interface functions accept 'const void *' instead of 'void*'

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
a213ab66e1c743ec7a52af4a49ec6c126cc245ae 05-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] A runtime option to disable wrapping of signal handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
9ae2883d88dd28b9c5dc862107e6e6d12a35926e 26-Mar-2013 Alexander Potapenko <glider@google.com> [libsanitizer] Unmapping the old cache partially invalidates the memory layout, so add
a flag to skip cache update for cases when that's unacceptable (e.g. lsan).

Patch by Sergey Matveev (earthdok@google.com)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
10fd3227546d17c7411241a45ebc143b2031c78d 13-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Increase stack size as required.

Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
45717c9d5e39a434749ae10509111f9df1b2cdf4 13-Mar-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.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/msan/msan.cc
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.cc
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.cc
f35eae83757946decb312deab3f0fe155fe5d580 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix ReExec on linux.

execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable
program name. Execute /proc/self/exe instead.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
1d333c5a34d896f239001e3fe69a660e40d15301 07-Feb-2013 Kostya Serebryany <kcc@google.com> [msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
859778a4e2dffa4024fa3e13b105fd62eca44b1c 31-Jan-2013 Kostya Serebryany <kcc@google.com> [sanitizer] make the error messages from sanitizer_common contain the actual tool name

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
6c3ad94d321cd35345248041a1c132ed00201358 22-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Remove the trap handler code.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
e9c10e2e770a054766e6f510ae623e656b8f1c3e 22-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Fix linkage type of __msan_track_origins.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
4b48f4563ca25d8915155acc5837e195cf0e5c57 27-Dec-2012 Kostya Serebryany <kcc@google.com> [sanitizer] add statistics to the allocator; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan.cc
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.cc
4c9ddc143839c9f4b79152737cd2869c99e8e86d 26-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Check for conflicting memory mappings.

Check for conflicting memory mappings before attempting to map shadow.
Helps avoid segfault on Linux with disabled ASLR.


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