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
|