| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [sanitizer] Intercept strptime. | Evgeniy Stepanov | 2013-11-02 | 6 | -3/+37 |
| | | | | | llvm-svn: 193903 | ||||
| * | [msan] Intercept memccpy. | Evgeniy Stepanov | 2013-11-01 | 2 | -0/+58 |
| | | | | | llvm-svn: 193897 | ||||
| * | tsna: do not call user code from within runtime (from fflush) | Dmitry Vyukov | 2013-11-01 | 1 | -1/+7 |
| | | | | | llvm-svn: 193880 | ||||
| * | [Sanitizer] Fix Go build | Alexey Samsonov | 2013-11-01 | 1 | -0/+2 |
| | | | | | llvm-svn: 193873 | ||||
| * | [sanitizer] Switch to an older version of struct iocb that is found in the ↵ | Evgeniy Stepanov | 2013-11-01 | 2 | -4/+1 |
| | | | | | | | | | latest Android NDK. They are binary compatible, and we don't use any of the new fields anyway. llvm-svn: 193870 | ||||
| * | [ASan] Kill use_stack_depot runtime flag and stack trace compression routines. | Alexey Samsonov | 2013-11-01 | 6 | -280/+4 |
| | | | | | llvm-svn: 193868 | ||||
| * | [Sanitizer] Unify summary reporting across all sanitizers. | Alexey Samsonov | 2013-11-01 | 27 | -66/+69 |
| | | | | | | | | | | | This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". llvm-svn: 193864 | ||||
| * | [msan] Check that address is an app region before printing shadow. | Evgeniy Stepanov | 2013-11-01 | 1 | -0/+4 |
| | | | | | llvm-svn: 193863 | ||||
| * | [sanitizer] Enhance io_submti syscall handler. | Evgeniy Stepanov | 2013-11-01 | 5 | -22/+88 |
| | | | | | llvm-svn: 193848 | ||||
| * | Consistently use StackTrace::PrintStack in ASan, LSan and MSan | Alexey Samsonov | 2013-11-01 | 5 | -15/+11 |
| | | | | | llvm-svn: 193834 | ||||
| * | [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. | Alexey Samsonov | 2013-10-31 | 8 | -22/+66 |
| | | | | | | | | | | | | | | | | | | | | | | Summary: TSan and MSan need to know if interceptor was called by the user code or by the symbolizer and use pre- and post-symbolization hooks for that. Make Symbolizer class responsible for calling these hooks instead. This would ensure the hooks are only called when necessary (during in-process symbolization, they are not needed for out-of-process) and save specific sanitizers from tracing all places in the code where symbolization will be performed. Reviewers: eugenis, dvyukov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2067 llvm-svn: 193807 | ||||
| * | [libsanitizer] Define SANITIZER_IOS when building for iOS or iOS simulator. | Alexander Potapenko | 2013-10-31 | 4 | -3/+21 |
| | | | | | | | Do not use struct stat64 and struct statfs64 when building for iOS, where __DARWIN_ONLY_64_BIT_INO_T is set to 1. llvm-svn: 193775 | ||||
| * | [msan] Intercept dlerror. | Evgeniy Stepanov | 2013-10-31 | 2 | -0/+22 |
| | | | | | llvm-svn: 193760 | ||||
| * | [ASan] Make asan_symbolize.py fall back to ASAN_SYMBOLIZER_PATH (which is ↵ | Alexander Potapenko | 2013-10-31 | 1 | -2/+4 |
| | | | | | | | used when ASAN_OPTIONS=symbolize=1) if LLVM_SYMBOLIZER_PATH is empty. llvm-svn: 193758 | ||||
| * | [msan] Disable mlock/mlockall to work around a linux kernel bug. | Evgeniy Stepanov | 2013-10-31 | 2 | -0/+36 |
| | | | | | | | The same logic is present in ASan and TSan. llvm-svn: 193755 | ||||
| * | [sanitizer] Intercept getline, getdelim. | Evgeniy Stepanov | 2013-10-31 | 6 | -0/+71 |
| | | | | | llvm-svn: 193730 | ||||
| * | [ASan] Turn on (non-strict) initialization order checker by default for all ↵ | Alexey Samsonov | 2013-10-31 | 1 | -1/+1 |
| | | | | | | | ASan users llvm-svn: 193729 | ||||
| * | [msandr] Add check-before-write optimization. | Evgeniy Stepanov | 2013-10-30 | 1 | -7/+21 |
| | | | | | | | | | Replace blind store with check-before-store to avoid unnecessary memory stores. Patch by Qin Zhao. llvm-svn: 193703 | ||||
| * | [Sanitizer] Update comment in sanitizer_symbolizer.h | Alexey Samsonov | 2013-10-30 | 1 | -13/+7 |
| | | | | | llvm-svn: 193700 | ||||
| * | [Sanitizer] Use SpinMutex for Symbolizer initialization (per dvyukov's ↵ | Alexey Samsonov | 2013-10-30 | 3 | -27/+19 |
| | | | | | | | suggestion) llvm-svn: 193697 | ||||
| * | [asan] Fix syscall hooks build on Android. | Evgeniy Stepanov | 2013-10-30 | 4 | -9/+23 |
| | | | | | llvm-svn: 193670 | ||||
| * | [santiizer] Disable sincos interceptor in OSX. | Evgeniy Stepanov | 2013-10-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 193667 | ||||
| * | [sanitizer] Intercept drand48_r, lrand48_r. | Evgeniy Stepanov | 2013-10-29 | 5 | -0/+43 |
| | | | | | llvm-svn: 193655 | ||||
| * | [msandr] Remove use of std::set in msandr client to avoid reentrancy issues. | Evgeniy Stepanov | 2013-10-29 | 1 | -14/+8 |
| | | | | | | | Patch by Qin Zhao. llvm-svn: 193654 | ||||
| * | [asan] Maybe fix test failures on lld bots. | Evgeniy Stepanov | 2013-10-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 193647 | ||||
| * | [sanitizer] Intercept sincos, remquo, lgamma, lgamma_r. | Evgeniy Stepanov | 2013-10-29 | 5 | -0/+234 |
| | | | | | llvm-svn: 193645 | ||||
| * | [msandr] Add support for standalone test. | Evgeniy Stepanov | 2013-10-29 | 2 | -10/+128 |
| | | | | | | | | | Add macro MSANDR_STANDALONE_TEST for standalone test without msan executables. Patch by Qin Zhao. llvm-svn: 193643 | ||||
| * | [tsan] Fix unused variable warnings. | Evgeniy Stepanov | 2013-10-29 | 1 | -4/+9 |
| | | | | | llvm-svn: 193639 | ||||
| * | [asan] Fix build. | Evgeniy Stepanov | 2013-10-29 | 1 | -4/+4 |
| | | | | | llvm-svn: 193635 | ||||
| * | [sanitizer] Fix build warnings. | Evgeniy Stepanov | 2013-10-29 | 1 | -0/+4 |
| | | | | | llvm-svn: 193634 | ||||
| * | [sanitizer] Ptrace syscall handler. | Evgeniy Stepanov | 2013-10-29 | 4 | -2/+49 |
| | | | | | llvm-svn: 193633 | ||||
| * | [asan] increase the max malloc size from 8Gb to 64Gb | Kostya Serebryany | 2013-10-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 193615 | ||||
| * | tsan/asan: support pthread_setname_np to set thread names | Dmitry Vyukov | 2013-10-29 | 10 | -4/+87 |
| | | | | | llvm-svn: 193602 | ||||
| * | [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags ↵ | Alexey Samsonov | 2013-10-29 | 6 | -9/+9 |
| | | | | | | | to turn on/off the symbolization llvm-svn: 193587 | ||||
| * | [msan] Intercept shmat. | Evgeniy Stepanov | 2013-10-29 | 6 | -5/+105 |
| | | | | | llvm-svn: 193581 | ||||
| * | [msan] Fix a typo and enable poison_in_free flag. | Evgeniy Stepanov | 2013-10-28 | 2 | -1/+17 |
| | | | | | llvm-svn: 193529 | ||||
| * | [Sanitizer] Revert r193501 and properly fix r193448 | Alexey Samsonov | 2013-10-28 | 3 | -5/+4 |
| | | | | | llvm-svn: 193522 | ||||
| * | asan/msan: separate different report blocks with new lines | Dmitry Vyukov | 2013-10-28 | 2 | -2/+4 |
| | | | | | | | this makes the reports consistent with tsan, and much more readable. llvm-svn: 193520 | ||||
| * | tsan: start the background thread with signals blocked, otherwise it can ↵ | Dmitry Vyukov | 2013-10-28 | 1 | -0/+6 |
| | | | | | | | steal users signals llvm-svn: 193519 | ||||
| * | Work around ASan/Win breakage by r193448 | Timur Iskhodzhanov | 2013-10-27 | 1 | -1/+3 |
| | | | | | llvm-svn: 193501 | ||||
| * | [Sanitizer] Add pthread_attr_getaffinity_np to the list of versioned functions | Alexey Samsonov | 2013-10-26 | 1 | -1/+2 |
| | | | | | llvm-svn: 193470 | ||||
| * | Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info. | Peter Collingbourne | 2013-10-25 | 5 | -0/+11 |
| | | | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1984 llvm-svn: 193449 | ||||
| * | Overhaul the symbolizer interface. | Peter Collingbourne | 2013-10-25 | 21 | -104/+207 |
| | | | | | | | | | | | | | | | | | | | | | | | This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448 | ||||
| * | Rename SpinMutex::AssertHeld to CheckLocked, for consistency with BlockingMutex. | Peter Collingbourne | 2013-10-25 | 2 | -2/+2 |
| | | | | | llvm-svn: 193447 | ||||
| * | [sanitizer] Disable tmpnam_r interceptor on Mac. | Evgeniy Stepanov | 2013-10-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 193417 | ||||
| * | [sanitizer] Intercept tmpnam, tmpnam_r, tempnam. | Evgeniy Stepanov | 2013-10-25 | 5 | -0/+73 |
| | | | | | llvm-svn: 193415 | ||||
| * | [msandr] Add NATIVE_EXEC macro for building client for running in DynamoRIO ↵ | Evgeniy Stepanov | 2013-10-25 | 2 | -7/+26 |
| | | | | | | | | | | | | | hybrid mode only. When running application in DynamoRIO hybrid mode only, only uninstrumented modules will run in DynamoRIO and be instrumented by the client, so we do not need module table in MSanDR. Patch by Qin Zhao. llvm-svn: 193411 | ||||
| * | [sanitizer] Remove pthread_attr_getstackaddr interceptor. | Evgeniy Stepanov | 2013-10-25 | 4 | -10/+0 |
| | | | | | | | The function is deprecated. llvm-svn: 193409 | ||||
| * | [sanitizer] Fix Android build. | Evgeniy Stepanov | 2013-10-25 | 1 | -3/+1 |
| | | | | | llvm-svn: 193408 | ||||
| * | [msan] Zerofill initstate_r buffer in random_r test. | Evgeniy Stepanov | 2013-10-25 | 1 | -1/+3 |
| | | | | | llvm-svn: 193406 | ||||

