include $(top_srcdir)/Makefile.tool-tests.am
dist_noinst_SCRIPTS = filter_stderr filter_pts dump_stdout filter_sigwait \
- filter_scalar filter_realpathat
+ filter_scalar filter_realpathat filter_fstat
EXTRA_DIST = \
scalar.h \
--- /dev/null
+#! /bin/sh
+
+../filter_stderr "$@" |
+
+gsed '/by 0x........: stat (in \/...libc...)/d;/by 0x........: fstat (in \/...libc...)/d;/by 0x........: fstatat (in \/...libc...)/d' |
+gsed '/by 0x........: statfs (in \/...libc...)/d;/by 0x........: fstatfs (in \/...libc...)/d'
+
+exit 0
Syscall param fstatat(path) points to unaddressable byte(s)
...
- by 0x........: stat (in /...libc...)
by 0x........: main (stat.c:52)
Address 0x........ is 0 bytes inside a block of size 7 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param fstatat(sb) points to unaddressable byte(s)
...
- by 0x........: stat (in /...libc...)
by 0x........: main (stat.c:57)
Address 0x........ is 0 bytes inside a block of size 224 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param fstat(sb) points to unaddressable byte(s)
at 0x........: __sys_fstat (in /...libc...)
- by 0x........: fstat (in /...libc...)
by 0x........: main (stat.c:61)
Address 0x........ is 0 bytes inside a block of size 224 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param fstat(fd) contains uninitialised byte(s)
at 0x........: __sys_fstat (in /...libc...)
- by 0x........: fstat (in /...libc...)
by 0x........: main (stat.c:64)
Syscall param fstatat(fd) contains uninitialised byte(s)
...
- by 0x........: fstatat (in /...libc...)
by 0x........: main (stat.c:66)
Syscall param fstatat(flag) contains uninitialised byte(s)
...
- by 0x........: fstatat (in /...libc...)
by 0x........: main (stat.c:67)
prereq: test -e ./stat
prog: stat
vgopts: -q
+stderr_filter: filter_fstat
Syscall param statfs(buf) points to unaddressable byte(s)
at 0x........: _statfs (in /...libc...)
- by 0x........: statfs (in /...libc...)
by 0x........: main (statfs.c:28)
Address 0x........ is 0 bytes inside a block of size 2,344 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param fstatfs(buf) points to unaddressable byte(s)
at 0x........: __sys_fstatfs (in /...libc...)
- by 0x........: fstatfs (in /...libc...)
by 0x........: main (statfs.c:31)
Address 0x........ is 0 bytes inside a block of size 2,344 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param statfs(buf) points to unaddressable byte(s)
at 0x........: _statfs (in /...libc...)
- by 0x........: statfs (in /...libc...)
by 0x........: main (statfs.c:34)
Address 0x........ is 0 bytes after a block of size 2,341 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
Syscall param statfs(path) points to unaddressable byte(s)
at 0x........: _statfs (in /...libc...)
- by 0x........: statfs (in /...libc...)
by 0x........: main (statfs.c:39)
Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
Syscall param fstatfs(fd) contains uninitialised byte(s)
at 0x........: __sys_fstatfs (in /...libc...)
- by 0x........: fstatfs (in /...libc...)
by 0x........: main (statfs.c:42)
prereq: test -e ./statfs
prog: statfs
vgopts: -q
+stderr_filter: filter_fstat