mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
OS X 10.9: add intercepts for
libsystem_platform.dylib : _platform_strchr libsystem_c.dylib : strlen libsystem_platform.dylib : _platform_strcmp git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14073
This commit is contained in:
parent
1a105d5599
commit
8f5dd4219c
@ -238,12 +238,10 @@ static inline void my_exit ( int x )
|
||||
# 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 @@ static inline void my_exit ( int x )
|
||||
# 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 @@ static inline void my_exit ( int x )
|
||||
# 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user