diff options
| author | Dominik Maier <domenukk@gmail.com> | 2020-07-16 02:27:07 +0200 |
|---|---|---|
| committer | Dominik Maier <domenukk@gmail.com> | 2020-07-16 02:27:07 +0200 |
| commit | 0b0366d9b4bc7ddea154174a81934dcc9911af12 (patch) | |
| tree | 0037eb54c27b5df000ee594da862aa5a81c7d8b2 | |
| parent | f465a75b6592e4c30b0465f63beda166a8e09045 (diff) | |
| download | afl++-0b0366d9b4bc7ddea154174a81934dcc9911af12.tar.gz | |
removed debug print and code format
| -rw-r--r-- | examples/defork/defork.c | 2 | ||||
| -rw-r--r-- | examples/defork/forking_target.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/defork/defork.c b/examples/defork/defork.c index 46810326..f71d1124 100644 --- a/examples/defork/defork.c +++ b/examples/defork/defork.c @@ -37,8 +37,6 @@ __attribute__((constructor)) void preeny_fork_orig() { pid_t fork(void) { - printf("called fork. forked state is %d\n", (int) forked); - fflush(stdout); /* If we forked before, or if we're in the child (pid==0), we don't want to fork anymore, else, we are still in the forkserver. The forkserver parent needs to fork infinite times, each child should never diff --git a/examples/defork/forking_target.c b/examples/defork/forking_target.c index ff1d6e37..98f6365a 100644 --- a/examples/defork/forking_target.c +++ b/examples/defork/forking_target.c @@ -37,10 +37,12 @@ int main(int argc, char **argv) { } else { - printf("We are in the parent - defork didn't work! :( (pid=%d)\n", (int) pid); + printf("We are in the parent - defork didn't work! :( (pid=%d)\n", + (int)pid); } return 0; } + |
