mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 12:48:06 +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) {
|
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),
|
/* 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.
|
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
|
The forkserver parent needs to fork infinite times, each child should never
|
||||||
|
@ -37,10 +37,12 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
} else {
|
} 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;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user