Fix execve2 testcase.

First, due to a typo in Makefile.am it was compiled with the wrong flags.
Secondly, the testcase gives an incorrect backtrace on x86 (missing the
line where the error occurs). Updated the generic exp to contain the
correct result and added exp-kfail for platforms where this test fails.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12094
This commit is contained in:
Florian Krohm 2011-10-04 03:55:04 +00:00
parent d2b0c7d982
commit 15d93bd860
3 changed files with 6 additions and 1 deletions

View File

@ -288,7 +288,7 @@ error_counts_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@
execve1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
execve2_CFLAGS = $(AM_CFLASG) @FLAG_W_NO_NONNULL@
execve2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@

View File

@ -1,4 +1,5 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
by 0x........: main (execve2.c:8)
Address 0x........ is not stack'd, malloc'd or (recently) free'd

View File

@ -0,0 +1,4 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
Address 0x........ is not stack'd, malloc'd or (recently) free'd