- Mar 12, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 176854
-
- Mar 11, 2013
-
-
Reid Kleckner authored
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 llvm-svn: 176818
-
- Mar 06, 2013
-
-
Reid Kleckner authored
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 llvm-svn: 176555
-
- Feb 28, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 176248
-
- Feb 21, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 175737
-
- Feb 19, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 175510
-
Evgeniy Stepanov authored
execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable program name. Execute /proc/self/exe instead. llvm-svn: 175504
-
Evgeniy Stepanov authored
llvm-svn: 175499
-
- Feb 13, 2013
-
-
Kostya Serebryany authored
[msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options llvm-svn: 175040
-
- Feb 12, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 174970
-
Alexey Samsonov authored
llvm-svn: 174956
-
- Feb 11, 2013
-
-
Evgeniy Stepanov authored
Build system setup for MSan lit tests (build with freshly-built clang, run, check output) - a nearly exact copy from ASan. First 2 lit tests for MSan. llvm-svn: 174876
-
- Feb 07, 2013
-
-
Kostya Serebryany authored
[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. llvm-svn: 174595
-
- Jan 31, 2013
-
-
Kostya Serebryany authored
llvm-svn: 174059
-
- Jan 30, 2013
-
-
Evgeniy Stepanov authored
And make msan_interface.h C-compatible. llvm-svn: 173928
-
Alexey Samsonov authored
Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests llvm-svn: 173926
-
Alexey Samsonov authored
llvm-svn: 173910
-
- Jan 29, 2013
-
-
Evgeniy Stepanov authored
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. llvm-svn: 173800
-
- Jan 28, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 173687
-
Evgeniy Stepanov authored
llvm-svn: 173686
-
Alexey Samsonov authored
llvm-svn: 173668
-
- Jan 25, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 173456
-
Kostya Serebryany authored
llvm-svn: 173441
-
- Jan 23, 2013
-
-
Evgeniy Stepanov authored
This is used in symbolizer init. llvm-svn: 173263
-
Evgeniy Stepanov authored
llvm-svn: 173249
-
- Jan 22, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 173161
-
Evgeniy Stepanov authored
llvm-svn: 173158
-
Evgeniy Stepanov authored
llvm-svn: 173157
-
Evgeniy Stepanov authored
llvm-svn: 173155
-
Evgeniy Stepanov authored
llvm-svn: 173154
-
Evgeniy Stepanov authored
A runtime call is used instead. MSan will stop adding shadow checks on volatile stores soon. llvm-svn: 173152
-
- Jan 20, 2013
-
-
Alexey Samsonov authored
llvm-svn: 172978
-
- Jan 18, 2013
-
-
Alexey Samsonov authored
CMake: create AddCompilerRT module and implement convenience add_compiler_rt_object_library function llvm-svn: 172826
-
Evgeniy Stepanov authored
llvm-svn: 172817
-
Evgeniy Stepanov authored
Also add a missing include. llvm-svn: 172814
-
Alexey Samsonov authored
llvm-svn: 172812
-
Evgeniy Stepanov authored
llvm-svn: 172809
-
Evgeniy Stepanov authored
llvm-svn: 172805
-
Kostya Serebryany authored
llvm-svn: 172791
-
- Jan 17, 2013
-
-
Jakob Stoklund Olesen authored
The r172719 patch broke the build on Mac, the others depended on it. compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function 'SetThreadName' [-Werror,-Wunused-function] static void SetThreadName(const char *name) { Orignal headlines: [asan] attempting to fix the Mac build [asan] restructure read/pread/pread64 tests [sanitizer] move write/pwrite/pwrite64 interceptors to common [msan] start using common interceptors in msan [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too llvm-svn: 172763
-