| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0) | Kostya Serebryany | 2013-02-13 | 1 | -1/+5 |
| | | | | | llvm-svn: 175049 | ||||
| * | [msan] don't check shadow inside interceptors if we are inside symbolizer; ↵ | Kostya Serebryany | 2013-02-13 | 5 | -6/+42 |
| | | | | | | | add weak function __msan_default_options that overrides default options llvm-svn: 175040 | ||||
| * | [tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint | Kostya Serebryany | 2013-02-13 | 2 | -8/+6 |
| | | | | | llvm-svn: 175037 | ||||
| * | Highlight caret in bold green, to match Clang diagnostics. | Richard Smith | 2013-02-12 | 1 | -2/+7 |
| | | | | | llvm-svn: 175013 | ||||
| * | [sanitizer] Tests for scanf parser in allowGnuMalloc=false mode. | Evgeniy Stepanov | 2013-02-12 | 1 | -7/+30 |
| | | | | | llvm-svn: 174971 | ||||
| * | [msan] Allow zero buf pointer in getcwd() interceptor. | Evgeniy Stepanov | 2013-02-12 | 2 | -1/+8 |
| | | | | | llvm-svn: 174970 | ||||
| * | [sanitizer] More accurate scanf parsing without GNU extensions. | Evgeniy Stepanov | 2013-02-12 | 2 | -13/+15 |
| | | | | | | | | | | In __isoc99_*scanf we don't have to worry about GNUisms, and can parse %a accurately. Patch by Jakub Jelinek. llvm-svn: 174969 | ||||
| * | [asan] Add new __isoc99_*scanf to ASan intercepted functions list. | Evgeniy Stepanov | 2013-02-12 | 1 | -0/+14 |
| | | | | | llvm-svn: 174965 | ||||
| * | [sanitizer] Missing changes from r174960. | Evgeniy Stepanov | 2013-02-12 | 2 | -0/+12 |
| | | | | | llvm-svn: 174962 | ||||
| * | [sanitizer] Intercept __isoc99_*scanf. | Evgeniy Stepanov | 2013-02-12 | 2 | -66/+64 |
| | | | | | llvm-svn: 174960 | ||||
| * | [asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives ↵ | Kostya Serebryany | 2013-02-12 | 2 | -2/+6 |
| | | | | | | | roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part llvm-svn: 174958 | ||||
| * | [MSan] symbolize correct PC when printing Summary message | Alexey Samsonov | 2013-02-12 | 1 | -1/+2 |
| | | | | | llvm-svn: 174956 | ||||
| * | [sanitizer] clang-format pass over scanf code. | Evgeniy Stepanov | 2013-02-11 | 2 | -85/+86 |
| | | | | | llvm-svn: 174888 | ||||
| * | [sanitizer] scanf: don't report stores that did not happen. | Evgeniy Stepanov | 2013-02-11 | 3 | -20/+51 |
| | | | | | | | | Respect REAL(scanf) return value and don't report memory stores that could potentially happen, but did not. llvm-svn: 174887 | ||||
| * | [sanitizer] Remove an extra va_copy. | Evgeniy Stepanov | 2013-02-11 | 2 | -8/+5 |
| | | | | | llvm-svn: 174883 | ||||
| * | [sanitizer] Scanf parser improvements. | Evgeniy Stepanov | 2013-02-11 | 2 | -14/+63 |
| | | | | | | | | | | Handle %a in cases when it is unambiguous. Handle %m. Patch by Jakub Jelinek. llvm-svn: 174882 | ||||
| * | [msan] Lit tests for MemorySanitizer. | Evgeniy Stepanov | 2013-02-11 | 10 | -22/+208 |
| | | | | | | | | | 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 | ||||
| * | [tsan] added tsan-vs-gvn test | Kostya Serebryany | 2013-02-11 | 1 | -0/+40 |
| | | | | | llvm-svn: 174875 | ||||
| * | [sanitizer] Fix line numbers in a sanitizer lit test. | Evgeniy Stepanov | 2013-02-11 | 1 | -5/+5 |
| | | | | | llvm-svn: 174861 | ||||
| * | [asan] Fix off-by-one in AddrIsAtRight. | Evgeniy Stepanov | 2013-02-08 | 2 | -1/+47 |
| | | | | | llvm-svn: 174710 | ||||
| * | [sanitizer] Fix lint. | Evgeniy Stepanov | 2013-02-08 | 1 | -6/+8 |
| | | | | | llvm-svn: 174708 | ||||
| * | [ASan] Switch Windows to allocator v2, also fixing some build errors | Timur Iskhodzhanov | 2013-02-08 | 5 | -6/+11 |
| | | | | | llvm-svn: 174707 | ||||
| * | [ASan] Move functions using BitScan/clzl to sanitizer_common | Timur Iskhodzhanov | 2013-02-08 | 2 | -45/+53 |
| | | | | | llvm-svn: 174706 | ||||
| * | [sanitizer] Add 2 random tests for the scanf implementation. | Evgeniy Stepanov | 2013-02-08 | 1 | -0/+3 |
| | | | | | llvm-svn: 174705 | ||||
| * | [sanitizer] Improve scanf interceptor | Evgeniy Stepanov | 2013-02-08 | 3 | -140/+261 |
| | | | | | | | | | | | | | | | This a rewrite of the scanf parser. The new implementation is pretty close to the spec, with a few shortcuts taken here and there. It is conservative, i.e. it gives up parsing if it does not understand some part of the format string, or runs into an ambiguous % spec. It does not handle some rarely used parts of the spec, like %n$ - for now. I'm also moving parser call to after the original *scanf function completes, so that we can find out the store size of %s directive by the use of strlen() on the target buffer. llvm-svn: 174704 | ||||
| * | [CMake] set -mmacosx-version-min to 10.7 if compiler-rt is built with ↵ | Alexey Samsonov | 2013-02-08 | 2 | -1/+24 |
| | | | | | | | -stdlib=libc++ llvm-svn: 174699 | ||||
| * | tsan: fix suppress_java logic | Dmitry Vyukov | 2013-02-07 | 1 | -7/+10 |
| | | | | | llvm-svn: 174635 | ||||
| * | [ASan] Remove the replace_cfallocator flag, which is used no more. | Alexander Potapenko | 2013-02-07 | 2 | -4/+0 |
| | | | | | | | See https://code.google.com/p/address-sanitizer/issues/detail?id=10 for the context. llvm-svn: 174629 | ||||
| * | [ASan] Enable alloc_dealloc_mismatch by default on Darwin. | Alexander Potapenko | 2013-02-07 | 2 | -5/+2 |
| | | | | | | | Enable AddressSanitizer.AllocDeallocMismatch tests. llvm-svn: 174628 | ||||
| * | [ASan] Enable the new and delete wrappers on Darwin. | Alexander Potapenko | 2013-02-07 | 2 | -11/+6 |
| | | | | | | | Also fix large_func_test.cc, which got broken when we switched to allocator2: the OOB access was too far from the original allocation, so ASan decided to describe the next one. llvm-svn: 174626 | ||||
| * | tsan: intercept libc __res_iclose | Dmitry Vyukov | 2013-02-07 | 5 | -0/+32 |
| | | | | | | | this is required to catch close of file descriptors created in getaddrinfo() llvm-svn: 174624 | ||||
| * | tsan: fix Go build | Dmitry Vyukov | 2013-02-07 | 1 | -0/+2 |
| | | | | | llvm-svn: 174622 | ||||
| * | [sanitizer] always allocate 16-byte aligned chunks of memory | Kostya Serebryany | 2013-02-07 | 1 | -23/+38 |
| | | | | | llvm-svn: 174617 | ||||
| * | [sanitizer_common] Fix lint warnings. | Alexander Potapenko | 2013-02-07 | 1 | -4/+4 |
| | | | | | llvm-svn: 174616 | ||||
| * | [ASan] Fix a compilation warning. | Alexander Potapenko | 2013-02-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 174604 | ||||
| * | [ASan] Implement asan_mz_size(), asan_mz_force_lock() and ↵ | Alexander Potapenko | 2013-02-07 | 3 | -5/+56 |
| | | | | | | | | | asan_mz_force_unlock() for allocator2. Switch to allocator2 on Darwin. llvm-svn: 174603 | ||||
| * | [sanitizer] OFF_T on Mac is u64. | Evgeniy Stepanov | 2013-02-07 | 1 | -0/+5 |
| | | | | | llvm-svn: 174600 | ||||
| * | [tsan] race_on_write test | Kostya Serebryany | 2013-02-07 | 1 | -0/+39 |
| | | | | | llvm-svn: 174599 | ||||
| * | [sanitizer] Exclude off64_t test on mac. | Evgeniy Stepanov | 2013-02-07 | 1 | -0/+3 |
| | | | | | llvm-svn: 174598 | ||||
| * | [Sanitizer] include stddef.h for ptrdiff_t in interception type test | Alexey Samsonov | 2013-02-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 174597 | ||||
| * | Implement aeabi_{f,d}cmp*. | Zonr Chang | 2013-02-07 | 4 | -0/+82 |
| | | | | | | | Special thanks to Anton for the review. llvm-svn: 174596 | ||||
| * | [msan] add strip_path_prefix flag; print error summary; don't crash while ↵ | Kostya Serebryany | 2013-02-07 | 5 | -4/+21 |
| | | | | | | | printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. llvm-svn: 174595 | ||||
| * | [sanitizer] Add a missing header. | Evgeniy Stepanov | 2013-02-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 174594 | ||||
| * | [sanitizer] Fix wrong size of OFF_T on 32-bit platforms. | Evgeniy Stepanov | 2013-02-07 | 3 | -1/+39 |
| | | | | | | | | This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. llvm-svn: 174593 | ||||
| * | [TSan] skip multiple internal frames, if necessary | Alexey Samsonov | 2013-02-06 | 3 | -15/+13 |
| | | | | | llvm-svn: 174516 | ||||
| * | [ASan] fix the interceptor for siglongjmp. As we're using dylib ↵ | Alexander Potapenko | 2013-02-06 | 1 | -3/+1 |
| | | | | | | | interposition, we must intercept both siglongjmp and longjmp on Darwin. llvm-svn: 174510 | ||||
| * | Use 64-bit inodes in file operations. ASan is now built with ↵ | Alexander Potapenko | 2013-02-06 | 1 | -0/+6 |
| | | | | | | | | | -mmacosx-version-min=10.5, thus the default inode size is 32 bits. However the supported client code is going to target 10.6 and higher, where 64-bit inodes will be used. llvm-svn: 174507 | ||||
| * | [tsan] improve FrameIsInternal | Kostya Serebryany | 2013-02-06 | 2 | -1/+6 |
| | | | | | llvm-svn: 174506 | ||||
| * | [tsan] print error summary line | Kostya Serebryany | 2013-02-06 | 10 | -25/+55 |
| | | | | | llvm-svn: 174505 | ||||
| * | [asan] print a short one-line report summary after the full report. ↵ | Kostya Serebryany | 2013-02-06 | 8 | -6/+65 |
| | | | | | | | Currently, works only if symbolization happens in-process. llvm-svn: 174501 | ||||

