Sign in
android
/
toolchain
/
llvm-project
/
refs/heads/mirror-goog-main-rust-toolchain-source
/
.
/
lldb
/
test
/
API
/
functionalities
/
exec
/
main.c
blob: cd4d5f1068fa29ac6494ad2dc62becfabff2eb20 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
int
main
(
int
argc
,
char
const
**
argv
)
{
// Set breakpoint 1 here
execl
(
"secondprog"
,
"secondprog"
,
NULL
);
perror
(
"execve"
);
abort
();
}