mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
from the compiler. Patch from Bart Van Assche <bart.vanassche@gmail.com>. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7317
12 lines
248 B
C
12 lines
248 B
C
#include <assert.h>
|
|
#include <unistd.h>
|
|
|
|
int main ( int argc, char** argv, char** envp )
|
|
{
|
|
char* null_filename = NULL;
|
|
|
|
execve(null_filename, NULL, NULL);
|
|
execve("../../tests/true", NULL, envp);
|
|
assert(0); // shouldn't get here
|
|
}
|