Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ASan] NFC: Factor out platform-specific interceptors | Timur Iskhodzhanov | 2015-03-16 | 1 | -1/+0 |
| | | | | | | Reviewed at http://reviews.llvm.org/D8321 llvm-svn: 232377 | ||||
* | [ASan/Win] Land the trivial bits of -MD RTL support (PR20214) | Timur Iskhodzhanov | 2014-08-22 | 1 | -9/+3 |
| | | | | llvm-svn: 216265 | ||||
* | Make sanitizers' interceptors non-weak on FreeBSD | Viktor Kutuzov | 2014-07-10 | 1 | -0/+10 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D4418 llvm-svn: 212693 | ||||
* | [ASan/Win] Use the new function interception approach to handle function ↵ | Timur Iskhodzhanov | 2014-05-22 | 1 | -3/+3 |
| | | | | | | | | wrappers too; wrap strlen() in DLLs Reviewed at http://reviews.llvm.org/D3871 llvm-svn: 209427 | ||||
* | [sanitizer] Interception macros for sanitizers on FreeBSD; patch by Viktor ↵ | Kostya Serebryany | 2014-02-24 | 1 | -4/+5 |
| | | | | | | Kutuzov llvm-svn: 202009 | ||||
* | Make some pthread_mutex_* and pthread_cond_* interceptors common. | Alexey Samsonov | 2013-10-16 | 1 | -0/+6 |
| | | | | | | | | | | | | Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 llvm-svn: 192774 | ||||
* | [ASan] Remove the explicit function prototypes for intercepted functions on ↵ | Timur Iskhodzhanov | 2013-09-10 | 1 | -2/+5 |
| | | | | | | Windows llvm-svn: 190411 | ||||
* | [libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for ↵ | Alexander Potapenko | 2013-05-20 | 1 | -3/+22 |
| | | | | | | | | appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. llvm-svn: 182259 | ||||
* | add Linux syscall wrappers and ThreadLister to sanitizer_common | Kostya Serebryany | 2013-02-27 | 1 | -14/+6 |
| | | | | | | | | ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code. Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself. Patch by Sergey Matveev llvm-svn: 176179 | ||||
* | [ASan] Refactoring: nuke the redundant function declarations in ↵ | Alexander Potapenko | 2013-02-21 | 1 | -5/+46 |
| | | | | | | | | | | asan_intercepted_functions.h that had been used on OS X only. The INTERCEPTOR() macro on OS X is now responsible for declaring the wrapped function, the wrapper and the pair of pointers to them in __DATA,__interposition section. Thus adding an interceptor requires editing a single file now. llvm-svn: 175740 | ||||
* | [asan] fix x32 build (H.J. Lu) | Kostya Serebryany | 2013-02-14 | 1 | -2/+2 |
| | | | | llvm-svn: 175140 | ||||
* | [sanitizer] OFF_T on Mac is u64. | Evgeniy Stepanov | 2013-02-07 | 1 | -0/+5 |
| | | | | llvm-svn: 174600 | ||||
* | [sanitizer] Fix wrong size of OFF_T on 32-bit platforms. | Evgeniy Stepanov | 2013-02-07 | 1 | -1/+4 |
| | | | | | | | This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. llvm-svn: 174593 | ||||
* | [ASan] Delete the code related to static runtime on OS X. | Alexander Potapenko | 2013-02-05 | 1 | -30/+10 |
| | | | | | | Nuke lib/interception/mach_override. llvm-svn: 174383 | ||||
* | [Sanitizer] include sanitizer_common headers when building interception library | Alexey Samsonov | 2013-01-30 | 1 | -1/+1 |
| | | | | llvm-svn: 173930 | ||||
* | [sanitizer] Further split private and public sanitizer headers. | Evgeniy Stepanov | 2013-01-30 | 1 | -1/+1 |
| | | | | | | And make msan_interface.h C-compatible. llvm-svn: 173928 | ||||
* | [sanitizer] Common *scanf interceptors. | Evgeniy Stepanov | 2013-01-18 | 1 | -0/+2 |
| | | | | llvm-svn: 172805 | ||||
* | [sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, ↵ | Kostya Serebryany | 2012-12-13 | 1 | -0/+9 |
| | | | | | | off_t and off64_t). This is done to avoid confusion and to make the code work with compilers that define size_t w/o any includes (MSVC) llvm-svn: 170103 | ||||
* | [ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the ↵ | Alexey Samsonov | 2012-09-24 | 1 | -0/+4 |
| | | | | | | same time, remove ASan from CMake build on Windows after conversation with Timur. We don't want to support building ASan on Windows until it is in a working state. llvm-svn: 164486 | ||||
* | [ASan] fix interception macro for Android build | Alexey Samsonov | 2012-09-12 | 1 | -1/+1 |
| | | | | llvm-svn: 163692 | ||||
* | [Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to ↵ | Alexey Samsonov | 2012-09-11 | 1 | -27/+23 |
| | | | | | | remove empty macro arguments llvm-svn: 163622 | ||||
* | Commit the source and CMake changes that will allow to build ASan runtime | Alexander Potapenko | 2012-08-17 | 1 | -14/+34 |
| | | | | | | | as a shared library on Mac OS. This will provide an alternative to mach_override. llvm-svn: 162091 | ||||
* | [Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting ↵ | Alexey Samsonov | 2012-08-02 | 1 | -0/+9 |
| | | | | | | pointer-to-function to pointer-to-object, so we use cast via integral type llvm-svn: 161168 | ||||
* | [ASan] cleanup: trailing semicolons, trailing colons in enums | Alexey Samsonov | 2012-06-28 | 1 | -5/+5 |
| | | | | llvm-svn: 159338 | ||||
* | [Sanitizer] fight more semicolons in macro definitions (to please mac cmake ↵ | Alexey Samsonov | 2012-06-28 | 1 | -4/+4 |
| | | | | | | build) llvm-svn: 159337 | ||||
* | Lots of trivial changes to remove extraneous semicolons throughout ASan. | Chandler Carruth | 2012-06-25 | 1 | -5/+5 |
| | | | | llvm-svn: 159128 | ||||
* | asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx | Dmitry Vyukov | 2012-05-28 | 1 | -5/+5 |
| | | | | llvm-svn: 157569 | ||||
* | asan/tsan: weak interceptors | Dmitry Vyukov | 2012-05-24 | 1 | -7/+18 |
| | | | | | | | | | 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 | ||||
* | [asan] move lib/asan/interception to lib/interception so that other tools ↵ | Kostya Serebryany | 2012-05-15 | 1 | -0/+157 |
(e.g. tsan) can use it llvm-svn: 156816 |