summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception/interception_linux.h
Commit message (Collapse)AuthorAgeFilesLines
* [asan] Versioned interceptor for pthread_create.Evgeniy Stepanov2015-09-221-5/+5
| | | | | | | | | This fixes a crash in pthread_create on linux/i386 due to abi incompatibility between intercepted and non-intercepted functions. See the test case for more details. llvm-svn: 248325
* [sanitizer] Interception macros for sanitizers on FreeBSD; patch by Viktor ↵Kostya Serebryany2014-02-241-6/+6
| | | | | | Kutuzov llvm-svn: 202009
* [msan] Wrap indirect calls to REAL(x) in interceptors.Evgeniy Stepanov2013-12-201-5/+5
| | | | llvm-svn: 197806
* [sanitizer] Avoid needless use of stringification (#symver) in ↵Evgeniy Stepanov2013-11-121-1/+1
| | | | | | | | INTERCEPT_FUNCTION_VER. This is a workaround for clang-format bug (PR17874). llvm-svn: 194468
* Make some pthread_mutex_* and pthread_cond_* interceptors common.Alexey Samsonov2013-10-161-3/+6
| | | | | | | | | | | | Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 llvm-svn: 192774
* tsan: fix linking of tsan runtime into dynamic librariesDmitry Vyukov2013-09-191-3/+2
| | | | | | | versioned symbols can not be linked into dynamic library w/o linker script also simplifies code as side effect llvm-svn: 191056
* tsan: fix linking when -ltsan is passed before -lpthreadDmitry Vyukov2013-09-031-1/+1
| | | | | | | | | | libpthread is weird: /lib/x86_64-linux-gnu/libpthread.so.0:000000000000b9b0 T pthread_cond_init@@GLIBC_2.3.2 /lib/x86_64-linux-gnu/libpthread.so.0:000000000000c720 T pthread_cond_init@GLIBC_2.2.5 let's do it with @@ for now we can always introduce more macros parameters later llvm-svn: 189788
* asan: fix android buildDmitry Vyukov2013-09-031-0/+2
| | | | | | android does not have dlvsym llvm-svn: 189781
* tsan: properly intercept pthread_cond functionsDmitry Vyukov2013-09-021-0/+6
| | | | llvm-svn: 189767
* [Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting ↵Alexey Samsonov2012-08-021-4/+6
| | | | | | pointer-to-function to pointer-to-object, so we use cast via integral type llvm-svn: 161168
* asan/tsan: weak interceptorsDmitry Vyukov2012-05-241-2/+4
| | | | | | | | | 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 Serebryany2012-05-151-0/+33
(e.g. tsan) can use it llvm-svn: 156816
OpenPOWER on IntegriCloud