|
From: <sv...@va...> - 2014-06-21 09:40:29
|
Author: sewardj
Date: Sat Jun 21 09:40:19 2014
New Revision: 14073
Log:
OS X 10.9: add intercepts for
libsystem_platform.dylib : _platform_strchr
libsystem_c.dylib : strlen
libsystem_platform.dylib : _platform_strcmp
Modified:
trunk/shared/vg_replace_strmem.c
Modified: trunk/shared/vg_replace_strmem.c
==============================================================================
--- trunk/shared/vg_replace_strmem.c (original)
+++ trunk/shared/vg_replace_strmem.c Sat Jun 21 09:40:19 2014
@@ -238,12 +238,10 @@
# endif
#elif defined(VGO_darwin)
- //STRCHR(VG_Z_LIBC_SONAME, strchr)
- //STRCHR(VG_Z_LIBC_SONAME, index)
- //STRCHR(VG_Z_DYLD, strchr)
- //STRCHR(VG_Z_DYLD, index)
STRCHR(VG_Z_LIBC_SONAME, strchr)
-
+# if DARWIN_VERS == DARWIN_10_9
+ STRCHR(libsystemZuplatformZddylib, _platform_strchr)
+# endif
#endif
@@ -422,9 +420,10 @@
# endif
#elif defined(VGO_darwin)
- //STRLEN(VG_Z_LIBC_SONAME, strlen)
STRLEN(VG_Z_LIBC_SONAME, strlen)
-
+# if DARWIN_VERS == DARWIN_10_9
+ STRLEN(libsystemZucZddylib, strlen)
+# endif
#endif
@@ -760,8 +759,10 @@
# endif
#elif defined(VGO_darwin)
- //STRCMP(VG_Z_LIBC_SONAME, strcmp)
STRCMP(VG_Z_LIBC_SONAME, strcmp)
+# if DARWIN_VERS == DARWIN_10_9
+ STRCMP(libsystemZuplatformZddylib, _platform_strcmp)
+# endif
#endif
|