diff options
author | Alexander Potapenko <glider@google.com> | 2012-08-24 09:22:05 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2012-08-24 09:22:05 +0000 |
commit | eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3 (patch) | |
tree | 40f52671a2bdfb021c1ea0de850820cbde74a27c /lib/asan/asan_interceptors.h | |
parent | 1e2525d0ec9ac64e583b57316ea30cecce591fb1 (diff) | |
download | compiler-rt-eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3.tar.gz compiler-rt-eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3.tar.bz2 compiler-rt-eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3.tar.xz |
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
Diffstat (limited to 'lib/asan/asan_interceptors.h')
-rw-r--r-- | lib/asan/asan_interceptors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/asan_interceptors.h b/lib/asan/asan_interceptors.h index 32816920..3b3e90ef 100644 --- a/lib/asan/asan_interceptors.h +++ b/lib/asan/asan_interceptors.h @@ -24,6 +24,7 @@ DECLARE_REAL(char*, strchr, const char *str, int c) DECLARE_REAL(uptr, strlen, const char *s) DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size) DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen) +DECLARE_REAL(char*, strstr, const char *s1, const char *s2) struct sigaction; DECLARE_REAL(int, sigaction, int signum, const struct sigaction *act, struct sigaction *oldact) |