6a659dfd8e717a598f54867aa36c2e4af09d031b |
|
20-May-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
6fb47af2d2d305adbfc3d41bea589d1527a364a9 |
|
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
add Linux syscall wrappers and ThreadLister to sanitizer_common 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
50a002ecad3f0a10c136496e5b6289bd3c71590e |
|
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Refactoring: nuke the redundant function declarations in 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
fbeb826198c3c3797dcb56785db2e0a0a5c7a9af |
|
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix x32 build (H.J. Lu) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
74d0540ceae99c550b00f75883a737f4a1de6351 |
|
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] OFF_T on Mac is u64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
65e5090c3ca13ebf1061a7043449d1b3561daa6a |
|
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms. This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
69563986ca570ce750111a82264d51ddbf4107ba |
|
05-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete the code related to static runtime on OS X. Nuke lib/interception/mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174383 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
216719b23134b9719bbf3e1de4a7d5d351c21fa8 |
|
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include sanitizer_common headers when building interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
250f221ae0dee295098da8aa631977b6c2ebc99b |
|
30-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Further split private and public sanitizer headers. And make msan_interface.h C-compatible. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
996c4f2fa53cce8f9d7b517073f38569460de505 |
|
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Common *scanf interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
6afa1b0406f5cce7256d4f8717bfe394a16999b5 |
|
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, 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) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
b46941a1d23012491a7a8a52718cacbde3c19ba1 |
|
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
c27279a4a08e0661f204c3e5dc65aafce79dec8a |
|
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix interception macro for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
b66bfd1e28776f0a350b9c197926c2c172678603 |
|
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to remove empty macro arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
0ef531054fc25c11e372cbab1384f10954984219 |
|
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
592d3f707e02968c75fd6e90d06d24f5df99c8b9 |
|
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
b4fefa713da3dabda1cd83ae4182c71f1683f02c |
|
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: trailing semicolons, trailing colons in enums git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
ba362a7f0e98b369758f07aec8794c61e688b82d |
|
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fight more semicolons in macro definitions (to please mac cmake build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159337 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 |
|
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Lots of trivial changes to remove extraneous semicolons throughout ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
f54c0e3321e2381fca3f02faefaaa6639d59c7cf |
|
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
580469d7e40e39319cb2d3750edac4bccca18105 |
|
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: weak interceptors 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|
0d49904d50fc42b411c396c472ce70f8e4575f99 |
|
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move lib/asan/interception to lib/interception so that other tools (e.g. tsan) can use it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/interception.h
|