- May 07, 2013
-
-
Evgeniy Stepanov authored
With this change, __internal_*stat always expect a "struct stat *" argument. This avoids stat/stat64 caller-side confusion (sanitizer_common tests already made this mistake), and allows the use of __internal_fstat() as a drop-in replacement for libc's fstat(). llvm-svn: 181311
-
- May 06, 2013
-
-
Sergey Matveev authored
Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. llvm-svn: 181193
-
- Apr 30, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 180788
-
Dmitry Vyukov authored
asan/tsan: fix printf(), on the second pass it prints garbage and crashes on random pointer dereference llvm-svn: 180784
-
- Apr 29, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 180703
-
- Apr 26, 2013
-
-
Sergey Matveev authored
llvm-svn: 180602
-
Sergey Matveev authored
llvm-svn: 180599
-
- Apr 24, 2013
-
-
Dmitry Vyukov authored
tsan: disable getpwuid_r() and glob64() interceptors under tsan, because they cause interceptor recursion if user intercepts fopen() llvm-svn: 180182
-
- Apr 23, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 180107
-
Alexey Samsonov authored
llvm-svn: 180098
-
Evgeniy Stepanov authored
llvm-svn: 180091
-
Evgeniy Stepanov authored
llvm-svn: 180090
-
Alexey Samsonov authored
llvm-svn: 180082
-
- Apr 22, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 180012
-
- Apr 18, 2013
-
-
Alexey Samsonov authored
llvm-svn: 179755
-
Alexey Samsonov authored
llvm-svn: 179754
-
- Apr 16, 2013
-
-
Andy Gibbs authored
Wrap macro invocations in braces to supress 'suggest braces around empty body in an ‘if’ statement' warning. llvm-svn: 179597
-
Evgeniy Stepanov authored
llvm-svn: 179592
-
- Apr 12, 2013
-
-
Evgeniy Stepanov authored
This time it's the full list scavenged from syscalls.h Fixed return value type. llvm-svn: 179378
-
Timur Iskhodzhanov authored
The ALWAYS_INLINE doesn't have static on POSIX anyways since r178341; the INLINE is only used in .h files, so shouldn't have been 'static' in the first place llvm-svn: 179371
-
- Apr 11, 2013
-
-
Evgeniy Stepanov authored
Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed through public interface. llvm-svn: 179288
-
- Apr 10, 2013
-
-
Alexander Potapenko authored
Add a test for time(). llvm-svn: 179177
-
- Apr 09, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 179096
-
Evgeniy Stepanov authored
llvm-svn: 179091
-
Alexey Samsonov authored
[Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run load_shared_lib test only in lit llvm-svn: 179090
-
Kostya Serebryany authored
llvm-svn: 179088
-
- Apr 08, 2013
-
-
Chandler Carruth authored
This was committed without tests and contains obvious bugs. That's not acceptable. It broke address sanitizer for most programs using glob(3). llvm-svn: 179054
-
Alexander Potapenko authored
Add a regression test for the case where such behavior helps TSan: 1. race is reported in the main module 2. new shared library is loaded 3. race is reported in the shared library llvm-svn: 179032
-
Evgeniy Stepanov authored
llvm-svn: 179012
-
Evgeniy Stepanov authored
llvm-svn: 179008
-
Kostya Serebryany authored
llvm-svn: 179007
-
Evgeniy Stepanov authored
llvm-svn: 179002
-
- Apr 05, 2013
-
-
Kostya Serebryany authored
[sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check llvm-svn: 178872
-
Alexey Samsonov authored
llvm-svn: 178864
-
Alexey Samsonov authored
llvm-svn: 178855
-
Alexey Samsonov authored
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516 llvm-svn: 178853
-
- Apr 04, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 178756
-
Evgeniy Stepanov authored
Fixes Mac build. llvm-svn: 178755
-
Evgeniy Stepanov authored
Add wrappers for all user signal handlers to unpoison the handler's arguments. llvm-svn: 178754
-
Kostya Serebryany authored
llvm-svn: 178747
-