Blame valgrind-3.10.1-mempcpy.patch
|
Mark Wielaard |
139c95 |
commit a7abe3d4ad8757a65b53230755a12b9ae5e79ffa
|
|
Mark Wielaard |
139c95 |
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
|
|
Mark Wielaard |
139c95 |
Date: Tue Jan 13 16:10:20 2015 +0000
|
|
Mark Wielaard |
139c95 |
|
|
Mark Wielaard |
139c95 |
BZ #342795 Internal glibc __GI_mempcpy call should be intercepted.
|
|
Mark Wielaard |
139c95 |
|
|
Mark Wielaard |
139c95 |
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14866 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
Mark Wielaard |
139c95 |
|
|
Mark Wielaard |
139c95 |
diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c
|
|
Mark Wielaard |
139c95 |
index 4ca652b..5203306 100644
|
|
Mark Wielaard |
139c95 |
--- a/shared/vg_replace_strmem.c
|
|
Mark Wielaard |
139c95 |
+++ b/shared/vg_replace_strmem.c
|
|
Mark Wielaard |
139c95 |
@@ -1363,6 +1363,7 @@ static inline void my_exit ( int x )
|
|
Mark Wielaard |
139c95 |
|
|
Mark Wielaard |
139c95 |
#if defined(VGO_linux)
|
|
Mark Wielaard |
139c95 |
GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy)
|
|
Mark Wielaard |
139c95 |
+ GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, __GI_mempcpy)
|
|
Mark Wielaard |
139c95 |
GLIBC25_MEMPCPY(VG_Z_LD_SO_1, mempcpy) /* ld.so.1 */
|
|
Mark Wielaard |
139c95 |
GLIBC25_MEMPCPY(VG_Z_LD_LINUX_SO_3, mempcpy) /* ld-linux.so.3 */
|
|
Mark Wielaard |
139c95 |
GLIBC25_MEMPCPY(VG_Z_LD_LINUX_X86_64_SO_2, mempcpy) /* ld-linux-x86-64.so.2 */
|