From: Bart Van Assche Date: Tue, 29 Oct 2013 20:49:16 +0000 (+0000) Subject: drd: Add three additional strncpy() and strncmp() intercepts (#326816) X-Git-Tag: svn/VALGRIND_3_10_0~728 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ec2e8d5ee79a89727ead2af0a28761e9620615;p=thirdparty%2Fvalgrind.git drd: Add three additional strncpy() and strncmp() intercepts (#326816) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13706 --- diff --git a/drd/drd_strmem_intercepts.c b/drd/drd_strmem_intercepts.c index 44b8f1e03f..3e4bf0891b 100644 --- a/drd/drd_strmem_intercepts.c +++ b/drd/drd_strmem_intercepts.c @@ -194,6 +194,7 @@ #if defined(VGO_linux) STRNCPY(VG_Z_LIBC_SONAME, strncpy) STRNCPY(VG_Z_LIBC_SONAME, __GI_strncpy) + STRNCPY(VG_Z_LIBC_SONAME, __strncpy_sse2) STRNCPY(VG_Z_LIBC_SONAME, __strncpy_sse2_unaligned) #elif defined(VGO_darwin) //STRNCPY(VG_Z_LIBC_SONAME, strncpy) @@ -227,6 +228,8 @@ #if defined(VGO_linux) STRNCMP(VG_Z_LIBC_SONAME, strncmp) STRNCMP(VG_Z_LIBC_SONAME, __GI_strncmp) + STRNCMP(VG_Z_LIBC_SONAME, __strncmp_sse2) + STRNCMP(VG_Z_LIBC_SONAME, __strncmp_sse42) #elif defined(VGO_darwin) //STRNCMP(VG_Z_LIBC_SONAME, strncmp) //STRNCMP(VG_Z_DYLD, strncmp)