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/asan/asan_interceptors.h
|
eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3 |
|
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
If the program is linked to a dynamic ASan runtime which is not present in DYLD_INSERT_LIBRARIES (which, in turn, is required for our interceptors to take effect), re-exec the program with DYLD_INSERT_LIBRARIES set. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.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/asan/asan_interceptors.h
|
c925697df6626bb0ea27ea96539bf0580f8f3d3d |
|
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
88207ab15125e2f1e9b3d541b735b2b8aba9b6d9 |
|
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
327c1c17d9557ed8b197f732c8a070fd6ba821b5 |
|
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_memcmp to common sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
4fac1482179c6bfd84fa129560caa43f341c7336 |
|
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
230c3be6cdd094a187f48e27ba0961dbeee70344 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move more functions/constants to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
1f11d31faa5ed89b74f7d543b1182fe8de198be5 |
|
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
c0d78c1de1f2607c874020d27b72cf989c5ce092 |
|
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: move internal_strcmp to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157926 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
3836ff2733d40e1182e301ef7de3eff9469777ae |
|
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_strncpy to sanitizer_libc (and make its behavior conforming to manual) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
ee3925515e4c7966f3ef489f687aa7e5692806a9 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
3f4c3875c42078e22c7e5356c5746fd18756d958 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
ebb9702cff96192c6a6ea963037929ca7ed60eae |
|
29-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
beba6448539095b67cab266d09cd7b7d313b8c3d |
|
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] merge mac-specific interceptors into one function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
5cf832dc0a6566ae4bb8d48b1f41da623d2c2c1a |
|
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: remove asan_mac.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
3fe913558354f76707e2c5584559521399854b79 |
|
27-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. If the callback is set, Report() and Printf() print the reports into a buffer (together with stderr), which is then passed to the client. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
8898102a6b1479a9af65857ccbbc1c329a4d9187 |
|
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: use custom strtol/atoll functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
da13ba833b046553f50b54538e4828287ddbf5c0 |
|
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: revert r150683 - we can't get rid of headers that easily git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
5c7e5001c6dd6d8add659c9eae41e4c71d6f11ee |
|
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't include pthread.h and signal.h in interceptors on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
5362717f2c121384778429b5cf34712925ad4a9b |
|
14-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Define an internal implementation of strchr to make stack OOB tests pass on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
5b29018cf422e7711fb760b733c32127397a43fc |
|
08-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: start factoring out interception machinery git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
f2598fc21bf651d23feab396a7581d48c01c3be5 |
|
02-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Add macro for definition/declaration of interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
3389b8ea81f51a28365a421b2646d594bac490f5 |
|
30-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Enforce default visibility for all libc interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149247 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
6f0452914ec76c786eb865983793bc03b00fc7b6 |
|
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. Patch by Timur Iskhodzhanov (timurrrr@google.com) To test: $ cl /c *.c* in the asan directory. The code fails to link if you omit the "/c" part but that's one of the next steps, as well as a few TODO's I've put into the Windows-specific code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
f3810ea150e140f49bd62123885df922fe3c3b81 |
|
23-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use internal_strcmp before asan_init is done. *may* fix asan issue #30 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
d47189c1b63a4de755d7ec071f8d56c8d01cc667 |
|
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove OS-dependent includes from asan_interceptors.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
a4ccf878e464d29a4a18756c5c4f626dc530a12e |
|
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't use strstr/strncat from libc, use our own versions instead git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
547652c45fd7f7497dd214ec8ec6b6ee0f80359d |
|
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
4803ab90ead451b55a5833f0fd38b10fd1fc83eb |
|
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: move all interceptors to a single file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
de496f451bce322b6cde100456591f1f50ab3477 |
|
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] use custom libc-free getenv; a bit of refactoring around mmap calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
0985ca240812ac5519168a6aecbccf4c513ae243 |
|
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for strcat. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
52fb238ccc45781e4e1d097ae1ee748c898b5825 |
|
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for memcmp. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
af0f01d77c2a495f023ffbf6cce85b33bbd2306d |
|
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
c695a47beeac6ab4ce48e4b33b2ba04869ef0269 |
|
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
The code instrumented with ASan may have its own instance of the 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
/external/compiler-rt/lib/asan/asan_interceptors.h
|
b3010e75d1c88b6f2084c80530e06ffe8d6f19a2 |
|
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] don't require __cxa_throw to be present in the process. This is the last dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
cbab911ea555f34c8ac66b4c7dc88f4e7ecf2c03 |
|
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
fix asan-rt build on Mac. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145496 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_interceptors.h
|
1e172b4bdec57329bf904f063a29f99cddf2d85f |
|
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
AddressSanitizer run-time library. Not yet integrated with the compiler-rt 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
/external/compiler-rt/lib/asan/asan_interceptors.h
|