mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Turns out there is at least one version of glibc tat contains
a file name writev.c. This screws our filename based backtrace filtering. Rename writev to writev1 to avoid that problem. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12093
This commit is contained in:
parent
c8d25c1a22
commit
d2b0c7d982
@ -201,7 +201,7 @@ EXTRA_DIST = \
|
|||||||
wrap7.vgtest wrap7.stdout.exp wrap7.stderr.exp \
|
wrap7.vgtest wrap7.stdout.exp wrap7.stderr.exp \
|
||||||
wrap8.vgtest wrap8.stdout.exp wrap8.stderr.exp \
|
wrap8.vgtest wrap8.stdout.exp wrap8.stderr.exp \
|
||||||
wrap8.stdout.exp2 wrap8.stderr.exp2 \
|
wrap8.stdout.exp2 wrap8.stderr.exp2 \
|
||||||
writev.stderr.exp writev.vgtest \
|
writev1.stderr.exp writev1.vgtest \
|
||||||
xml1.stderr.exp xml1.stdout.exp xml1.vgtest
|
xml1.stderr.exp xml1.stdout.exp xml1.vgtest
|
||||||
|
|
||||||
check_PROGRAMS = \
|
check_PROGRAMS = \
|
||||||
@ -261,7 +261,7 @@ check_PROGRAMS = \
|
|||||||
vcpu_fbench vcpu_fnfns \
|
vcpu_fbench vcpu_fnfns \
|
||||||
xml1 \
|
xml1 \
|
||||||
wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \
|
wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \
|
||||||
writev
|
writev1
|
||||||
|
|
||||||
|
|
||||||
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
|
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
|
||||||
|
|||||||
@ -1,2 +0,0 @@
|
|||||||
prog: writev
|
|
||||||
vgopts: -q
|
|
||||||
@ -1,19 +1,19 @@
|
|||||||
Test file created.
|
Test file created.
|
||||||
Syscall param writev(vector[...]) points to unaddressable byte(s)
|
Syscall param writev(vector[...]) points to unaddressable byte(s)
|
||||||
at 0x........: writev (writev.c:51)
|
...
|
||||||
by 0x........: main (writev.c:56)
|
by 0x........: main (writev1.c:56)
|
||||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||||
|
|
||||||
Received EFAULT as expected
|
Received EFAULT as expected
|
||||||
Syscall param writev(vector) points to unaddressable byte(s)
|
Syscall param writev(vector) points to unaddressable byte(s)
|
||||||
at 0x........: writev (writev.c:51)
|
...
|
||||||
by 0x........: main (writev.c:68)
|
by 0x........: main (writev1.c:68)
|
||||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||||
|
|
||||||
Received EINVAL as expected
|
Received EINVAL as expected
|
||||||
Syscall param readv(vector) points to unaddressable byte(s)
|
Syscall param readv(vector) points to unaddressable byte(s)
|
||||||
...
|
...
|
||||||
by 0x........: main (writev.c:76)
|
by 0x........: main (writev1.c:76)
|
||||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||||
|
|
||||||
Received EINVAL as expected
|
Received EINVAL as expected
|
||||||
2
memcheck/tests/writev1.vgtest
Normal file
2
memcheck/tests/writev1.vgtest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
prog: writev1
|
||||||
|
vgopts: -q
|
||||||
Loading…
x
Reference in New Issue
Block a user