1 | #include <stdio.h> |
---|---|
2 | #include <stdlib.h> |
3 | #include <unistd.h> |
4 | |
5 | int main(int argc, char const **argv) { |
6 | // Set breakpoint 1 here |
7 | execl(path: "secondprog", arg: "secondprog", NULL); |
8 | perror(s: "execve"); |
9 | abort(); |
10 | } |
11 |
1 | #include <stdio.h> |
---|---|
2 | #include <stdlib.h> |
3 | #include <unistd.h> |
4 | |
5 | int main(int argc, char const **argv) { |
6 | // Set breakpoint 1 here |
7 | execl(path: "secondprog", arg: "secondprog", NULL); |
8 | perror(s: "execve"); |
9 | abort(); |
10 | } |
11 |