mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
removed debug print and code format
This commit is contained in:
@ -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
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user