Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Sanitizer] Move more functions/constants to sanitizer_common. | Alexey Samsonov | 2012-06-06 | 6 | -12/+4 | |
| | | | | llvm-svn: 158056 | |||||
* | [Sanitizer] move internal_filesize and internal_dup2 from TSan to ↵ | Alexey Samsonov | 2012-06-06 | 2 | -15/+0 | |
| | | | | | | sanitizer_common. llvm-svn: 158052 | |||||
* | [Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan ↵ | Alexey Samsonov | 2012-06-06 | 2 | -5/+9 | |
| | | | | | | runtimes. Use __sanitizer::Die() in TSan. llvm-svn: 158050 | |||||
* | [Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h | Alexey Samsonov | 2012-06-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 158001 | |||||
* | [Sanitizer] remove using namespace __sanitizer lines | Alexey Samsonov | 2012-06-05 | 8 | -14/+0 | |
| | | | | llvm-svn: 157999 | |||||
* | [Sanitizer] Use common defines for ASan and TSan runtime. Split defines ↵ | Alexey Samsonov | 2012-06-05 | 8 | -45/+12 | |
| | | | | | | between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. llvm-svn: 157998 | |||||
* | [TSan] Use internal_munmap from sanitizer_libc in TSan runtime. | Alexey Samsonov | 2012-06-05 | 1 | -6/+1 | |
| | | | | llvm-svn: 157995 | |||||
* | [TSan] make TSan runtime use internal_{close,read,write} from sanitizer_libc | Alexey Samsonov | 2012-06-05 | 4 | -19/+6 | |
| | | | | llvm-svn: 157992 | |||||
* | [TSan] use __sanitizer::internal_open in TSan run-time | Alexey Samsonov | 2012-06-05 | 3 | -7/+3 | |
| | | | | llvm-svn: 157988 | |||||
* | [TSan] use __sanitizer::internal_mmap in TSan run-time | Alexey Samsonov | 2012-06-05 | 1 | -13/+6 | |
| | | | | llvm-svn: 157984 | |||||
* | Remove file-type tags in .cc files in tsan/ and sanitizer_common/ | Alexey Samsonov | 2012-06-04 | 21 | -21/+21 | |
| | | | | llvm-svn: 157928 | |||||
* | [Sanitizer]: move internal_strcmp to sanitizer_common | Alexey Samsonov | 2012-06-04 | 4 | -5/+5 | |
| | | | | llvm-svn: 157926 | |||||
* | tsan: intercept longjmp() but die in it, greatly simplifies problem diagnostic | Dmitry Vyukov | 2012-05-31 | 3 | -0/+19 | |
| | | | | llvm-svn: 157760 | |||||
* | tsan: fix a typo | Dmitry Vyukov | 2012-05-31 | 1 | -3/+3 | |
| | | | | llvm-svn: 157744 | |||||
* | [asan,tsan] rename files in sanitizer_common to have a common prefix ↵ | Kostya Serebryany | 2012-05-31 | 1 | -1/+1 | |
| | | | | | | (sanitizer_). llvm-svn: 157740 | |||||
* | tsan: suppress reports against source file names as well | Dmitry Vyukov | 2012-05-31 | 2 | -8/+10 | |
| | | | | llvm-svn: 157739 | |||||
* | tsan: prevent recursive signal handlers | Dmitry Vyukov | 2012-05-29 | 1 | -0/+1 | |
| | | | | llvm-svn: 157625 | |||||
* | [asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common | Kostya Serebryany | 2012-05-29 | 2 | -53/+20 | |
| | | | | | | | | which will contain code shared between asan and tsan run-times. Naming is hard. If you can suggest a better name for the directory -- speak up. llvm-svn: 157611 | |||||
* | tsan: fix race during pthread_join/detach | Dmitry Vyukov | 2012-05-28 | 1 | -7/+12 | |
| | | | | llvm-svn: 157584 | |||||
* | tsan: increase /proc/self/maps max size (1M is far not enough) | Dmitry Vyukov | 2012-05-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 157570 | |||||
* | asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx | Dmitry Vyukov | 2012-05-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 157569 | |||||
* | tsan: more robust detection of stack of main thread | Dmitry Vyukov | 2012-05-28 | 1 | -2/+6 | |
| | | | | llvm-svn: 157568 | |||||
* | tsan: use DCHECK_GT/LT instead of plain DCHECK (better diagnostics) | Dmitry Vyukov | 2012-05-28 | 1 | -4/+4 | |
| | | | | llvm-svn: 157567 | |||||
* | tsan: do not clean stack/tls for main thread | Dmitry Vyukov | 2012-05-28 | 1 | -11/+13 | |
| | | | | llvm-svn: 157566 | |||||
* | tsan: do not call into libc in symbolizer and in other code (this causes ↵ | Dmitry Vyukov | 2012-05-25 | 6 | -34/+97 | |
| | | | | | | recursion and crashes) llvm-svn: 157466 | |||||
* | tsan: output message about failure to intercept only if verbosity flag is passed | Dmitry Vyukov | 2012-05-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 157465 | |||||
* | tsan: fix compilation with newest clang | Dmitry Vyukov | 2012-05-24 | 2 | -16/+8 | |
| | | | | llvm-svn: 157391 | |||||
* | asan/tsan: weak interceptors | Dmitry Vyukov | 2012-05-24 | 1 | -1/+1 | |
| | | | | | | | | | The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples: asan/output_tests/interception_failure_test-linux.cc asan/output_tests/interception_test-linux.cc asan/output_tests/interception_malloc_test-linux.cc llvm-svn: 157388 | |||||
* | tsan: add a flag to control RunningOnValgrind() return value | Dmitry Vyukov | 2012-05-24 | 3 | -1/+5 | |
| | | | | llvm-svn: 157383 | |||||
* | tsan: add shadow memory flush + fix few bugs | Dmitry Vyukov | 2012-05-22 | 10 | -33/+60 | |
| | | | | llvm-svn: 157270 | |||||
* | tsan: fix sizeof sigset_t | Dmitry Vyukov | 2012-05-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 157268 | |||||
* | tsan: fix makefile | Dmitry Vyukov | 2012-05-22 | 1 | -0/+1 | |
| | | | | | | allow to build custom configurations llvm-svn: 157259 | |||||
* | tsan: reduce per-thread memory usage | Dmitry Vyukov | 2012-05-22 | 8 | -21/+18 | |
| | | | | llvm-svn: 157252 | |||||
* | tsan: simple memory profiler | Dmitry Vyukov | 2012-05-22 | 9 | -4/+110 | |
| | | | | llvm-svn: 157248 | |||||
* | tsan: implement malloc/free hooks | Dmitry Vyukov | 2012-05-21 | 1 | -15/+82 | |
| | | | | llvm-svn: 157196 | |||||
* | tsan: do not assume non-recursive signal handlers | Dmitry Vyukov | 2012-05-21 | 1 | -6/+6 | |
| | | | | llvm-svn: 157187 | |||||
* | tsan: replace CHECK with CHECK_EQ for better diagnostics | Dmitry Vyukov | 2012-05-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 157181 | |||||
* | tsan: better, more realistic handling of signals | Dmitry Vyukov | 2012-05-21 | 3 | -21/+110 | |
| | | | | llvm-svn: 157178 | |||||
* | tsan: add more checks for OOM conditions | Dmitry Vyukov | 2012-05-21 | 1 | -0/+4 | |
| | | | | | | tests like to try to malloc((size_t)-1) llvm-svn: 157176 | |||||
* | tsan: check for overflow in malloc() | Dmitry Vyukov | 2012-05-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 157048 | |||||
* | tsan: fix potential NULL deref | Dmitry Vyukov | 2012-05-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 157047 | |||||
* | tsan: remove shutdown code | Dmitry Vyukov | 2012-05-17 | 9 | -92/+6 | |
| | | | | | | | | tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) llvm-svn: 156991 | |||||
* | tsan: detect accesses to freed memory | Dmitry Vyukov | 2012-05-17 | 8 | -37/+71 | |
| | | | | | | http://codereview.appspot.com/6214052 llvm-svn: 156990 | |||||
* | tsan: ValgrindSlowdown() should be weak for some time | Dmitry Vyukov | 2012-05-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 156982 | |||||
* | tsan: add ValgrindSlowdown() "dynamic annotation" | Dmitry Vyukov | 2012-05-17 | 1 | -0/+4 | |
| | | | | llvm-svn: 156981 | |||||
* | tsan: improve addr2line symbolizer | Dmitry Vyukov | 2012-05-16 | 1 | -39/+54 | |
| | | | | | | | | -provide support for non-continous modules -ignore not loaded sections -more debug output llvm-svn: 156924 | |||||
* | [tsan] fix old-style makefile -- we still need them to run our tests | Kostya Serebryany | 2012-05-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 156907 | |||||
* | [tsan] makefile machinery to build tsan-rt (linux-x86_64 only) | Kostya Serebryany | 2012-05-15 | 1 | -0/+23 | |
| | | | | llvm-svn: 156822 | |||||
* | tsan: add more atomics to public interface (fetch_or/and/xor + 1-,2-byte ↵ | Dmitry Vyukov | 2012-05-14 | 3 | -0/+178 | |
| | | | | | | versions) llvm-svn: 156766 | |||||
* | tsan: enabled report suppression for signal-unsafe reports | Dmitry Vyukov | 2012-05-14 | 3 | -3/+4 | |
| | | | | llvm-svn: 156765 |