Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [MSan] don't add msan unit tests to check-msan command if libcxx is not ↵ | Alexey Samsonov | 2013-06-10 | 3 | -11/+17 | |
| | | | | | | checked out llvm-svn: 183641 | |||||
* | [sanitizer] Handle SIOCGIFCONF ioctl. | Evgeniy Stepanov | 2013-06-07 | 1 | -0/+33 | |
| | | | | llvm-svn: 183529 | |||||
* | [sanitizer] ioctl interceptor. | Evgeniy Stepanov | 2013-06-07 | 2 | -0/+21 | |
| | | | | | | | ASan: disabled by default MSan: enabled by default TSan: disabled llvm-svn: 183517 | |||||
* | Simplify lit configs for asan/lsan/msan unit tests | Alexey Samsonov | 2013-06-06 | 2 | -24/+6 | |
| | | | | llvm-svn: 183410 | |||||
* | Remove a bunch of copy-paste: use common config for sanitizer lit/unit tests | Alexey Samsonov | 2013-06-06 | 4 | -42/+8 | |
| | | | | llvm-svn: 183407 | |||||
* | [sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types. | Evgeniy Stepanov | 2013-06-04 | 2 | -24/+24 | |
| | | | | llvm-svn: 183224 | |||||
* | [msan] Implement __sanitizer_unaligned_*. | Evgeniy Stepanov | 2013-06-04 | 3 | -1/+121 | |
| | | | | llvm-svn: 183221 | |||||
* | [msan] Fix gcc build of msan runtime. | Evgeniy Stepanov | 2013-05-31 | 2 | -4/+2 | |
| | | | | llvm-svn: 182999 | |||||
* | [msan] Handle mixed track-origins and keep-going settings (compiler-rt part). | Evgeniy Stepanov | 2013-05-31 | 6 | -10/+64 | |
| | | | | | | | | | | | | | 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. llvm-svn: 182996 | |||||
* | [sanitizer] Fix getaddrinfo interceptor to use the actual returned sockaddr ↵ | Evgeniy Stepanov | 2013-05-29 | 1 | -0/+12 | |
| | | | | | | size. llvm-svn: 182852 | |||||
* | [sanitizer] Intercept getpeername. | Evgeniy Stepanov | 2013-05-29 | 1 | -2/+8 | |
| | | | | llvm-svn: 182844 | |||||
* | [sanitizer] Move TSan and MSan recvmsg interceptors to common. | Evgeniy Stepanov | 2013-05-29 | 1 | -16/+3 | |
| | | | | llvm-svn: 182843 | |||||
* | [sanitizer] modf/modff/modfl interceptors. | Evgeniy Stepanov | 2013-05-29 | 1 | -0/+18 | |
| | | | | llvm-svn: 182838 | |||||
* | Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching ↵ | Alexey Samsonov | 2013-05-29 | 1 | -0/+1 | |
| | | | | | | to a custom allocator. llvm-svn: 182836 | |||||
* | [sanitizer] Share TSan accept & accept4 interceptors with other sanitizers. | Evgeniy Stepanov | 2013-05-29 | 2 | -7/+51 | |
| | | | | llvm-svn: 182835 | |||||
* | [sanitizer] Improve getaddrinfo interceptor. | Evgeniy Stepanov | 2013-05-28 | 1 | -1/+5 | |
| | | | | llvm-svn: 182775 | |||||
* | [msan] Change report header to be more alike to ASan and TSan. | Evgeniy Stepanov | 2013-05-28 | 5 | -5/+5 | |
| | | | | llvm-svn: 182774 | |||||
* | Improve support for compiler-rt tests in CMake build. | Alexey Samsonov | 2013-05-27 | 4 | -13/+15 | |
| | | | | | | | | Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! llvm-svn: 182726 | |||||
* | [msan] Fix line >80 chars. | Evgeniy Stepanov | 2013-05-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 182578 | |||||
* | [sanitizer] Intercept getsockopt. | Evgeniy Stepanov | 2013-05-23 | 1 | -1/+11 | |
| | | | | llvm-svn: 182574 | |||||
* | [sanitizer] Interceptors for gethostbyname and friends. | Evgeniy Stepanov | 2013-05-23 | 1 | -0/+103 | |
| | | | | llvm-svn: 182573 | |||||
* | [msan] Intercept getsockname. | Evgeniy Stepanov | 2013-05-22 | 1 | -0/+22 | |
| | | | | llvm-svn: 182475 | |||||
* | [msan] getaddrinfo & nested interceptor support. | Evgeniy Stepanov | 2013-05-22 | 3 | -26/+97 | |
| | | | | | | | | | Multiple connected changes: - Ignore reads from nested interceptors. - Check shadow on reads from common interceptors. - getaddrinfo interceptor. llvm-svn: 182466 | |||||
* | [MSan] Add empty default blacklist for MSan | Alexey Samsonov | 2013-05-21 | 4 | -1/+14 | |
| | | | | llvm-svn: 182382 | |||||
* | [msan] Replace GetArgv hack with something that is slightly better. | Evgeniy Stepanov | 2013-05-21 | 1 | -13/+5 | |
| | | | | llvm-svn: 182359 | |||||
* | [sanitizer] Intercept pthread_getschedparam. | Evgeniy Stepanov | 2013-05-21 | 1 | -0/+9 | |
| | | | | llvm-svn: 182353 | |||||
* | [nolibc] Begin moving sanitizer_common's libc-dependent code to a separate ↵ | Peter Collingbourne | 2013-05-17 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | library Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. llvm-svn: 182118 | |||||
* | [msan] Unpoison dlpi_name in dl_iterate_phdr interceptor. | Evgeniy Stepanov | 2013-05-17 | 2 | -30/+48 | |
| | | | | llvm-svn: 182093 | |||||
* | [msan] Intercept dl_iterate_phdr. | Evgeniy Stepanov | 2013-05-16 | 4 | -4/+52 | |
| | | | | llvm-svn: 182004 | |||||
* | Add sanitizer syscall hooks to the tool's export lists. | Evgeniy Stepanov | 2013-05-14 | 1 | -1/+5 | |
| | | | | llvm-svn: 181790 | |||||
* | [msan] Common flags in MSan. | Sergey Matveev | 2013-05-06 | 4 | -22/+20 | |
| | | | | llvm-svn: 181194 | |||||
* | [sanitizer] Intercept inet_pton and inet_ntop. | Evgeniy Stepanov | 2013-04-23 | 1 | -0/+16 | |
| | | | | llvm-svn: 180107 | |||||
* | [MSan] Make a few interface functions accept 'const void *' instead of 'void*' | Alexey Samsonov | 2013-04-23 | 3 | -12/+12 | |
| | | | | llvm-svn: 180102 | |||||
* | [msan] Unpoison the result of posix_memalign. | Evgeniy Stepanov | 2013-04-23 | 2 | -1/+12 | |
| | | | | llvm-svn: 180101 | |||||
* | [sanitizer] Intercept getgrnam{_r}, getgrgid{_r}. | Evgeniy Stepanov | 2013-04-23 | 1 | -0/+13 | |
| | | | | llvm-svn: 180091 | |||||
* | [msan] Allow clock_getres(, 0). | Evgeniy Stepanov | 2013-04-23 | 1 | -0/+12 | |
| | | | | llvm-svn: 180090 | |||||
* | [msan] Fix gcc build of msan_test. | Evgeniy Stepanov | 2013-04-16 | 1 | -10/+13 | |
| | | | | llvm-svn: 179594 | |||||
* | [msan] Fix sigaction test. | Evgeniy Stepanov | 2013-04-15 | 1 | -0/+6 | |
| | | | | | | Restore SIGPROF handler to the original state after the test. llvm-svn: 179524 | |||||
* | [msan] Really disable replacement new and delete. | Evgeniy Stepanov | 2013-04-15 | 1 | -0/+4 | |
| | | | | llvm-svn: 179522 | |||||
* | [MSan] Demangle function name in description of stack origin | Alexey Samsonov | 2013-04-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 179368 | |||||
* | [MSan] don't build tests with -fPIE/-pie, as these flags are implied by ↵ | Alexey Samsonov | 2013-04-12 | 2 | -5/+1 | |
| | | | | | | -fsanitize=memory now llvm-svn: 179366 | |||||
* | Explicitly list all sanitizer headers in CMake build rules. Make sure ↵ | Alexey Samsonov | 2013-04-11 | 1 | -3/+2 | |
| | | | | | | sanitizer lit_tests depend on fresh headers. llvm-svn: 179293 | |||||
* | [sanitizer] Syscall hooks. | Evgeniy Stepanov | 2013-04-11 | 2 | -1/+57 | |
| | | | | | | | Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed through public interface. llvm-svn: 179288 | |||||
* | [sanitizer] Interceptors for wait*. | Evgeniy Stepanov | 2013-04-09 | 1 | -25/+7 | |
| | | | | llvm-svn: 179096 | |||||
* | [msan] Intercept glob() with tests. | Evgeniy Stepanov | 2013-04-09 | 5 | -0/+35 | |
| | | | | llvm-svn: 179091 | |||||
* | [msan] Interceptors for pipe2 and socketpair. | Evgeniy Stepanov | 2013-04-08 | 2 | -0/+39 | |
| | | | | llvm-svn: 179022 | |||||
* | [msan] Intercept time(). | Evgeniy Stepanov | 2013-04-08 | 1 | -0/+8 | |
| | | | | llvm-svn: 179002 | |||||
* | [sanitizer] found a bug by code inspection: CHECK(a=b) instead of ↵ | Kostya Serebryany | 2013-04-05 | 1 | -1/+1 | |
| | | | | | | 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 | |||||
* | [msan] Fix sigaction interceptor. | Evgeniy Stepanov | 2013-04-05 | 2 | -4/+14 | |
| | | | | llvm-svn: 178868 | |||||
* | [msan] Conditionally disable new() and delete() wrappers. | Evgeniy Stepanov | 2013-04-05 | 2 | -1/+6 | |
| | | | | | | To be used with static libstdc++. llvm-svn: 178866 |