From: Julian Seward Date: Wed, 19 Nov 2014 09:14:07 +0000 (+0000) Subject: OSX 10.10: intercept memchr in libsystem_platform.dylib. X-Git-Tag: svn/VALGRIND_3_11_0~815 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df001848a70647f835a9ee2bd0431144a7c45b9d;p=thirdparty%2Fvalgrind.git OSX 10.10: intercept memchr in libsystem_platform.dylib. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14734 --- diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index db2fb9d095..4ca652b459 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -806,6 +806,7 @@ static inline void my_exit ( int x ) MEMCHR(libsystemZuplatformZddylib, _platform_memchr) # endif # if DARWIN_VERS == DARWIN_10_10 + MEMCHR(VG_Z_DYLD, memchr) /* _platform_memchr$VARIANT$Generic */ MEMCHR(libsystemZuplatformZddylib, _platform_memchr$VARIANT$Generic) # endif