|
From: <sv...@va...> - 2013-03-28 22:52:23
|
mjw 2013-03-28 22:52:14 +0000 (Thu, 28 Mar 2013)
New Revision: 13349
Log:
For memcheck overlap filter_memcpy str[n]cpy and __GI_str[n]cpy are equal.
Modified files:
trunk/memcheck/tests/filter_memcpy
Modified: trunk/memcheck/tests/filter_memcpy (+4 -1)
===================================================================
--- trunk/memcheck/tests/filter_memcpy 2013-03-28 22:52:13 +00:00 (rev 13348)
+++ trunk/memcheck/tests/filter_memcpy 2013-03-28 22:52:14 +00:00 (rev 13349)
@@ -1,5 +1,8 @@
#! /bin/sh
# mc_replace_strmem.c intercepts various memcpy glibc versions.
+# mc_replace_strmem.c str[n]cpy and __GI_str[n]cpy are the same.
./filter_stderr "$@" |
-perl -p -e "s/: memcpy\@\@?GLIBC_[.1-9]+ \(mc_replace_strmem.c:...\)/: memcpy \(mc_replace_strmem.c:...\)/"
+perl -p -e "s/: memcpy\@\@?GLIBC_[.1-9]+ \(mc_replace_strmem.c:...\)/: memcpy \(mc_replace_strmem.c:...\)/" |
+sed -e "s/: __GI_strcpy (mc_replace_strmem.c:/: strcpy (mc_replace_strmem.c:/" |
+sed -e "s/: __GI_strncpy (mc_replace_strmem.c:/: strncpy (mc_replace_strmem.c:/"
|