d1b8f588d6b712b6ff2b3d58c73d71614f520122 |
|
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement readlink as syscall on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
|
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
251134734f71a7e21a7bd17bc7b5821f07c803b2 |
|
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement internal_strcspn git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
a4e4744778e6b3067f5cf223cf28bb586c1ecf67 |
|
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of libc's sscanf as it causes infinite recursion on Fedora. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c |
|
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
a92c0cb873b67babb1aa4bc9aaa5c3b4d6c2772e |
|
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] State that sanitizer_libc.h header can be included in the user code (and therefore it shouldn't include other sanitizer runtime headers). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
8cd0df78c317106be477c5496f481af0563a5208 |
|
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_strncmp to sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
0969bcf2c936126b1f6e636b978aade8fc207437 |
|
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move different wrappers from TSan to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
f7667cc84cdd8923c0b6c7cfc92b7bd5692ce18c |
|
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make internal allocations from TSan runtime call InternalAlloc from common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
8e820fcf7aafeb8101322182d742fcf99255d972 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_filesize and internal_dup2 from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
9edf7508e4ad536d26a202224548081d36eddd70 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
94b5036ee6ba866e1702848855b6d687d1e70afa |
|
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
a56aefd2e01940fcf88d1426f9de3d5e4b1ee203 |
|
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_{close,read,write} functions to sanitizer_libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
c5d465136b911bf925f2a631e2b79f1c03e8a1b0 |
|
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add sanitizer_win.cc for windows-specific implementations of libc functions. Add internal_open. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
ae4d9caa4f47fa6abcd641719e9f520622940c17 |
|
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
9aead37421a6e4bf43265e5195c6ac31fc519982 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
16e0075746b21ed866ec3be21ef0d1e46f0efed5 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] rename files in sanitizer_common to have a common prefix (sanitizer_). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|