summaryrefslogtreecommitdiff
path: root/lib/asan/asan_interceptors.h
AgeCommit message (Collapse)Author
2012-01-23[asan] use internal_strcmp before asan_init is done. *may* fix asan issue #30Kostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148726 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-11[asan] remove OS-dependent includes from asan_interceptors.hKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147916 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-09[asan] don't use strstr/strncat from libc, use our own versions instead Kostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147807 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-09[asan]: fix mac buildKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147792 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-09[asan] refactoring: move all interceptors to a single fileKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147784 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-28[asan] use custom libc-free getenv; a bit of refactoring around mmap callsKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147326 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-28[asan] interceptor for strcat. Patch by samsonov@google.comKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147316 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-28[asan] interceptor for memcmp. Patch by samsonov@google.comKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147315 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-28[asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.comKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147304 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-28The code instrumented with ASan may have its own instance of theKostya Serebryany
mach_override library. In this case chances are that functions from it will be called from mach_override_ptr() during ASan initialization. This may lead to crashes (if those functions are instrumented) or incorrect behavior (if the implementations differ). The attached patch renames mach_override_ptr() into __asan_mach_override_ptr() and makes the rest of the mach_override internals hidden. The corresponding AddressSanitizer bug is http://code.google.com/p/address-sanitizer/issues/detail?id=22 Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147303 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-05[asan] don't require __cxa_throw to be present in the process. This is the ↵Kostya Serebryany
last dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145821 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-30fix asan-rt build on Mac. Patch by glider@google.comKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145496 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-30AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany
build system, but can be built using the old makefile. See details in README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8