Add an alternate (appropriately filtered) result for some systems.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2304
This commit is contained in:
Tom Hughes 2004-03-09 09:16:35 +00:00
parent 5c5cc2d261
commit 4468065436
2 changed files with 28 additions and 0 deletions

View File

@ -15,6 +15,9 @@ $dir/../../tests/filter_test_paths |
# Anonymise paths like "(in /foo/bar/libc-baz.so)"
sed "s/(in \/.*libc.*)$/(in \/...libc...)/" |
# Anonymise paths like "(within /foo/bar/libc-baz.so)"
sed "s/(within \/.*libc.*)$/(within \/...libc...)/" |
# Anonymise paths like "__libc_start_main (../foo/bar/libc-quux.c:129)"
sed "s/__libc_\(.*\) (.*)$/__libc_\1 (...libc...)/"

View File

@ -0,0 +1,25 @@
Test file created.
Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s)
at 0x........: (within /...libc...)
by 0x........: main (writev.c:56)
Address 0x........ is not stack'd, malloc'd or free'd
Received EFAULT as expected
Syscall param writev(vector) contains uninitialised or unaddressable byte(s)
at 0x........: (within /...libc...)
by 0x........: main (writev.c:68)
Address 0x........ is not stack'd, malloc'd or free'd
Received EINVAL as expected
Syscall param readv(vector) contains uninitialised or unaddressable byte(s)
at 0x........: readv (in /...libc...)
by 0x........: main (writev.c:76)
Address 0x........ is not stack'd, malloc'd or free'd
Received EINVAL as expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
malloc/free: in use at exit: 0 bytes in 0 blocks.
malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v