|
From: <sv...@va...> - 2017-01-27 18:21:01
|
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.
|