From 7d07a3deafd828117f4a2f4538e986c2681a7ae8 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 13 Jan 2015 16:10:20 +0000 Subject: [PATCH] BZ #342795 Internal glibc __GI_mempcpy call should be intercepted. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14866 --- NEWS | 1 + shared/vg_replace_strmem.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 04125f9143..fddc3c6768 100644 --- a/NEWS +++ b/NEWS @@ -99,6 +99,7 @@ where XXXXXX is the bug number as listed below. 341789 aarch64: shmat fails with valgrind on ARMv8 342063 wrong format specifier for test mcblocklistsearch in gdbserver_tests 342221 socket connect false positive uninit memory for unknown af family +342795 Internal glibc __GI_mempcpy call should be intercepted n-i-bz Provide implementations of certain compiler builtins to support compilers who may not provide those n-i-bz Old STABS code is still being compiled, but never used. Remove it. diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index 4ca652b459..5203306bd7 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -1363,6 +1363,7 @@ static inline void my_exit ( int x ) #if defined(VGO_linux) GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy) + GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, __GI_mempcpy) GLIBC25_MEMPCPY(VG_Z_LD_SO_1, mempcpy) /* ld.so.1 */ GLIBC25_MEMPCPY(VG_Z_LD_LINUX_SO_3, mempcpy) /* ld-linux.so.3 */ GLIBC25_MEMPCPY(VG_Z_LD_LINUX_X86_64_SO_2, mempcpy) /* ld-linux-x86-64.so.2 */ -- 2.47.3