Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: disable getpwuid_r() and glob64() interceptors under tsan, because ↵ | Dmitry Vyukov | 2013-04-24 | 1 | -1/+8 | |
| | | | | | | they cause interceptor recursion if user intercepts fopen() llvm-svn: 180182 | |||||
* | tsan: fix crash when data race happens on out-of-bounds accesses. | Dmitry Vyukov | 2013-04-24 | 3 | -4/+9 | |
| | | | | llvm-svn: 180180 | |||||
* | tsan: support heap starting at 0x04c0 (used in some custom deplyments) | Dmitry Vyukov | 2013-04-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 180116 | |||||
* | tsan: update Go memory mapping, Go now uses 0x00c0 heap base | Dmitry Vyukov | 2013-04-23 | 1 | -6/+6 | |
| | | | | llvm-svn: 180113 | |||||
* | [sanitizer] Intercept inet_pton and inet_ntop. | Evgeniy Stepanov | 2013-04-23 | 2 | -0/+4 | |
| | | | | llvm-svn: 180107 | |||||
* | [sanitizer] Intercept getgrnam{_r}, getgrgid{_r}. | Evgeniy Stepanov | 2013-04-23 | 2 | -0/+8 | |
| | | | | llvm-svn: 180091 | |||||
* | [TSan] Allocate fd table in user heap instead of using internal allocator. ↵ | Alexey Samsonov | 2013-04-19 | 1 | -2/+3 | |
| | | | | | | We need this to catch races on fds. llvm-svn: 179841 | |||||
* | [sanitizer] Add syscall handlers to ASan and TSan runtimes. | Evgeniy Stepanov | 2013-04-12 | 1 | -0/+7 | |
| | | | | | | ASan checks addressability of syscall arguments. TSan does nothing for now. llvm-svn: 179380 | |||||
* | [sanitizer] Interceptors for wait*. | Evgeniy Stepanov | 2013-04-09 | 2 | -0/+10 | |
| | | | | llvm-svn: 179096 | |||||
* | [msan] Intercept glob() with tests. | Evgeniy Stepanov | 2013-04-09 | 2 | -0/+4 | |
| | | | | llvm-svn: 179091 | |||||
* | [Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run ↵ | Alexey Samsonov | 2013-04-09 | 1 | -2/+3 | |
| | | | | | | load_shared_lib test only in lit llvm-svn: 179090 | |||||
* | Revert r179012: "[msan] Intercept glob()." | Chandler Carruth | 2013-04-08 | 2 | -4/+0 | |
| | | | | | | | 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 | |||||
* | [msan] Intercept glob(). | Evgeniy Stepanov | 2013-04-08 | 2 | -0/+4 | |
| | | | | llvm-svn: 179012 | |||||
* | [tsan] Fix build. | Evgeniy Stepanov | 2013-04-08 | 2 | -0/+2 | |
| | | | | llvm-svn: 179008 | |||||
* | [Sanitizer] Use a common mutex to prevent mixing reports from different ↵ | Alexey Samsonov | 2013-04-05 | 2 | -0/+5 | |
| | | | | | | sanitizers. This fixes PR15516 llvm-svn: 178853 | |||||
* | [TSan] Add the WTFAnnotateBenignRaceSized implementation and a test for | Alexander Potapenko | 2013-04-02 | 1 | -0/+4 | |
| | | | | | | WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. llvm-svn: 178534 | |||||
* | [sanitizer] More interceptors. | Evgeniy Stepanov | 2013-04-01 | 2 | -0/+18 | |
| | | | | | | | getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime, clock_settime, getitimer, setitimer, sigaction (MSan). llvm-svn: 178465 | |||||
* | [tsan] restore performance critical inlining in tsan: remove static from ↵ | Kostya Serebryany | 2013-03-29 | 1 | -4/+4 | |
| | | | | | | ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. llvm-svn: 178341 | |||||
* | Band-aid fix for the TSan RTL build | Timur Iskhodzhanov | 2013-03-28 | 1 | -7/+7 | |
| | | | | llvm-svn: 178298 | |||||
* | Remove all 'static' before ALWAYS_INLINE | Timur Iskhodzhanov | 2013-03-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 178290 | |||||
* | Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE ↵ | Timur Iskhodzhanov | 2013-03-28 | 2 | -9/+9 | |
| | | | | | | INLINE combinations llvm-svn: 178266 | |||||
* | tsan: print statistics about benign race annotations | Dmitry Vyukov | 2013-03-28 | 5 | -10/+78 | |
| | | | | | | | (total count, unique, matched) if requested with print_benign=1 flag. llvm-svn: 178245 | |||||
* | tsan: print matched suppressions if print_suppressions=1 flag is provided | Dmitry Vyukov | 2013-03-27 | 8 | -11/+55 | |
| | | | | llvm-svn: 178159 | |||||
* | asan/tsan: move strcasecmp() interceptor to sanitizer_common | Dmitry Vyukov | 2013-03-26 | 2 | -0/+4 | |
| | | | | llvm-svn: 178010 | |||||
* | [libsanitizer] Unmapping the old cache partially invalidates the memory ↵ | Alexander Potapenko | 2013-03-26 | 1 | -3/+3 | |
| | | | | | | | | | | 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) llvm-svn: 178000 | |||||
* | tsan: intercept setjmp/longjmp | Dmitry Vyukov | 2013-03-25 | 6 | -8/+247 | |
| | | | | llvm-svn: 177858 | |||||
* | Build and install .syms files alongside sanitizer runtimes. These are used to | Richard Smith | 2013-03-23 | 2 | -1/+3 | |
| | | | | | | | specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. llvm-svn: 177784 | |||||
* | tsan: return 0 on malloc() failure instead of crashing | Dmitry Vyukov | 2013-03-22 | 2 | -1/+4 | |
| | | | | llvm-svn: 177741 | |||||
* | tsan: better reporting of thread leaks | Dmitry Vyukov | 2013-03-21 | 5 | -11/+39 | |
| | | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack llvm-svn: 177647 | |||||
* | tsan: better reporting for races on vptr | Dmitry Vyukov | 2013-03-21 | 6 | -3/+25 | |
| | | | | | | explicitly say "ctor/dtor vs virtual call" llvm-svn: 177640 | |||||
* | tsan: add flag to control symbolizer flush frequency | Dmitry Vyukov | 2013-03-21 | 3 | -7/+15 | |
| | | | | llvm-svn: 177638 | |||||
* | tsan: intercept abort() to fflush() libc streams | Dmitry Vyukov | 2013-03-21 | 3 | -0/+9 | |
| | | | | llvm-svn: 177637 | |||||
* | tsan: remove bogus CHECK | Dmitry Vyukov | 2013-03-21 | 1 | -1/+0 | |
| | | | | | | Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. llvm-svn: 177636 | |||||
* | tsan: flush symbolizer cache if not symbolized for more than 5 seconds | Dmitry Vyukov | 2013-03-21 | 3 | -4/+19 | |
| | | | | llvm-svn: 177629 | |||||
* | tsan: add a comment about magic numbers | Dmitry Vyukov | 2013-03-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 177628 | |||||
* | tsan: use a single background thread for memory profiler and memory flush ↵ | Dmitry Vyukov | 2013-03-21 | 1 | -43/+39 | |
| | | | | | | (and later for symbolizer flush) llvm-svn: 177627 | |||||
* | tsan: correct sizes of signal-related data structures | Dmitry Vyukov | 2013-03-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 177526 | |||||
* | tsan: add missing stat descriptions | Dmitry Vyukov | 2013-03-20 | 1 | -0/+6 | |
| | | | | llvm-svn: 177523 | |||||
* | tsan: call fflush(0) on exit again | Dmitry Vyukov | 2013-03-20 | 4 | -13/+18 | |
| | | | | llvm-svn: 177522 | |||||
* | tsan: reduce size of mutexsets from 64 to 16 mutexes | Dmitry Vyukov | 2013-03-20 | 1 | -1/+1 | |
| | | | | | | | overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520 | |||||
* | tsan: special handling of .rodata (don't try to find races, don't keep ↵ | Dmitry Vyukov | 2013-03-20 | 5 | -0/+81 | |
| | | | | | | shadow, dont' put into traces) llvm-svn: 177517 | |||||
* | tsan: fix build | Dmitry Vyukov | 2013-03-20 | 1 | -9/+1 | |
| | | | | llvm-svn: 177513 | |||||
* | tsan: move trace header into 0x600000000000 range | Dmitry Vyukov | 2013-03-20 | 5 | -36/+39 | |
| | | | | | | eliminat thread "dead info" altogether llvm-svn: 177512 | |||||
* | [sanitizer] More renamed macros. | Evgeniy Stepanov | 2013-03-19 | 3 | -5/+5 | |
| | | | | llvm-svn: 177401 | |||||
* | [sanitizer] Replace more platform checks with SANITIZER_ constants. | Evgeniy Stepanov | 2013-03-19 | 4 | -3/+7 | |
| | | | | llvm-svn: 177400 | |||||
* | tsan: flush dead thread info earlier (when another thread is finished rather ↵ | Dmitry Vyukov | 2013-03-19 | 2 | -5/+4 | |
| | | | | | | than new thread is created) llvm-svn: 177394 | |||||
* | tsan: instruct malloc() to consume less memory | Dmitry Vyukov | 2013-03-19 | 1 | -0/+5 | |
| | | | | llvm-svn: 177393 | |||||
* | tsan: symbolizer "flush caches" support | Dmitry Vyukov | 2013-03-19 | 2 | -0/+8 | |
| | | | | llvm-svn: 177389 | |||||
* | tsan: fix memory leak | Dmitry Vyukov | 2013-03-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 177387 | |||||
* | [sanitizer] Don't adjust the size of the user-allocated stack. | Evgeniy Stepanov | 2013-03-19 | 1 | -8/+9 | |
| | | | | | | Moved this code to sanitizer_common. llvm-svn: 177383 |