Quantcast

Valgrind: r16213 - /trunk/memcheck/tests/filter_stderr

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Valgrind: r16213 - /trunk/memcheck/tests/filter_stderr

svn-2
Author: petarj
Date: Fri Jan 27 18:20:50 2017
New Revision: 16213

Log:
Adding new filter to memcheck/tests/filter_stderr

This should fix issue with sendmsg test and glibc 2.22.

Glibc 2.22 introduced sysdeps/unix/sysv/linux/sendmsg.c that has
__libc_sendmsg function implementation (in comparison to earlier
implementation in syscall-template.S).
So, test suite needs to filter out this case, otherwise we get test
diffs such as:

 Syscall param sendmsg(msg) points to uninitialised byte(s)
-   at 0x........: sendmsg (in /...libc...)
+   at 0x........: sendmsg (sendmsg.c:28)

which are false positives.

This fixes memcheck/tests/sendmsg (stderr) on platforms with 2.22+ glibc.

Patch by Aleksandra Karadzic.

Modified:
    trunk/memcheck/tests/filter_stderr

Modified: trunk/memcheck/tests/filter_stderr
==============================================================================
--- trunk/memcheck/tests/filter_stderr (original)
+++ trunk/memcheck/tests/filter_stderr Fri Jan 27 18:20:50 2017
@@ -24,6 +24,7 @@
 
 # Filter out glibc debuginfo if installed.
 perl -p -e "s/\(syscall-template.S:[0-9]*\)/(in \/...libc...)/" |
+perl -p -e "s/sendmsg \(sendmsg.c:[0-9]*\)/sendmsg (in \/...libc...)/" |
 perl -p -e "s/\(socket.S:[0-9]*\)/(in \/...libc...)/" |
 
 # Newer architectures (aarch64) implement poll by calling ppoll directly.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
Loading...