Mark Wielaard 423b91
--- valgrind/memcheck/tests/filter_memcpy	(revision 0)
Mark Wielaard 423b91
+++ valgrind/memcheck/tests/filter_memcpy	(working copy)
Mark Wielaard 423b91
@@ -0,0 +1,5 @@
Mark Wielaard 423b91
+#! /bin/sh
Mark Wielaard 423b91
+
Mark Wielaard 423b91
+# mc_replace_strmem.c intercepts various memcpy glibc versions.
Mark Wielaard 423b91
+./filter_stderr "$@" |
Mark Wielaard 423b91
+perl -p -e "s/: memcpy\@\@?GLIBC_[.1-9]+ \(mc_replace_strmem.c:...\)/: memcpy \(mc_replace_strmem.c:...\)/"
Mark Wielaard 423b91
Mark Wielaard 423b91
--- valgrind/memcheck/tests/overlap.vgtest	(revision 13010)
Mark Wielaard 423b91
+++ valgrind/memcheck/tests/overlap.vgtest	(working copy)
Mark Wielaard 423b91
@@ -1,2 +1,3 @@
Mark Wielaard 423b91
 prog: overlap
Mark Wielaard 423b91
 vgopts: -q
Mark Wielaard 423b91
+stderr_filter: filter_memcpy
Mark Wielaard 423b91
--- valgrind/memcheck/tests/Makefile.am	2012-09-25 10:02:30.798819187 +0200
Mark Wielaard 423b91
+++ valgrind/memcheck/tests/Makefile.am	2012-09-25 10:03:00.358251560 +0200
Mark Wielaard 423b91
@@ -44,7 +44,8 @@
Mark Wielaard 423b91
 	filter_leak_cases_possible \
Mark Wielaard 423b91
 	filter_stderr filter_xml \
Mark Wielaard 423b91
 	filter_varinfo3 \
Mark Wielaard 423b91
-	filter_memcheck
Mark Wielaard 423b91
+	filter_memcheck \
Mark Wielaard 423b91
+	filter_memcpy
Mark Wielaard 423b91
 
Mark Wielaard 423b91
 noinst_HEADERS = leak.h
Mark Wielaard 423b91
 
Mark Wielaard 423b91
--- valgrind/memcheck/tests/Makefile.in	2012-09-25 10:02:30.797819171 +0200
Mark Wielaard 423b91
+++ valgrind/memcheck/tests/Makefile.in	2012-09-25 10:03:28.620664967 +0200
Mark Wielaard 423b91
@@ -971,7 +971,8 @@
Mark Wielaard 423b91
 	filter_leak_cases_possible \
Mark Wielaard 423b91
 	filter_stderr filter_xml \
Mark Wielaard 423b91
 	filter_varinfo3 \
Mark Wielaard 423b91
-	filter_memcheck
Mark Wielaard 423b91
+	filter_memcheck \
Mark Wielaard 423b91
+	filter_memcpy
Mark Wielaard 423b91
 
Mark Wielaard 423b91
 noinst_HEADERS = leak.h
Mark Wielaard 423b91
 EXTRA_DIST = \