909fff81b83df049ecc6e02407394640435d7bef |
|
06-May-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r235153 Change-Id: I7c900e78d263fe0f574369e8383ccac7e36f5c3b (cherry picked from commit 259f7063e3e4c4b94dded1e90ab0a943d0fa737b)
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
86277eb844c4983c81de62d7c050e92fe7155788 |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master compiler-rt for rebase to r230699. Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
72870db5f2e0e83b2e925eef594dacfae275a8de |
|
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Add internal_strchrnul function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 |
|
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move all platforms to internal_getpid. Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
9578a3ecfc35a264ede1135033398e2a77a6cad6 |
|
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Change internal syscall API to remove reliance on libc's errno. This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
6d6ab9eeea4a99370d7ab18ce80eb96091e2cf3f |
|
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add internal_unlink() function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
f882247088952deed954a19d745c2dd8871e2035 |
|
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use raw syscall instead of _exit() function on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
4c9317a7b61e136f832d2ede70f557963fd46bce |
|
04-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] extend internal libc with stat/fstat/lstat functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
e85c83dcee3d35068e6670ab32545953d4330335 |
|
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use u32 instead of mode_t, which is defined in Darwin headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
ee7cc4454421a176d23442382afd9a01d36e7ad4 |
|
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] make internal_open have the same interface as libc version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.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/sanitizer_common/sanitizer_libc.h
|
eb2809311c94b73c269ccef8d68ae368642e5754 |
|
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
84d57b4ce545d6c19effac01124749a9df0fd0a5 |
|
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whether error reports are printed to terminal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
f3457cb9c3e1ddbbea07ee97b22ca387687b72e0 |
|
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use kStderrFd constant instead of hardcoded 2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
f1673e61768cb08d488a75584b61bfdf24ffdac1 |
|
15-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Implement internal_memmove. Use internal_memmove() and internal_memcpy() in the memcpy() and memmove() wrappers when building the dynamic runtime (OS X only), to work around a bug in resolver functions wrapping. See also http://code.google.com/p/address-sanitizer/issues/detail?id=116 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_libc.h
|
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
|