Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
f8a3d860be23fa1b89a60ad68ddef672a6683837
/
.
/
main
/
memcheck
/
tests
/
execve2.c
blob: b3d44ecdc20203c670251e89a2dbaede55961400 [
file
] [
log
] [
blame
]
#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
}