google / AFL

american fuzzy lop - a security-oriented fuzzer
https://lcamtuf.coredump.cx/afl/
Apache License 2.0
3.56k stars 625 forks source link

AFL-FUZZ and ASAN Stuck at dup2 #146

Open ArielSAdamsNASA opened 3 years ago

ArielSAdamsNASA commented 3 years ago

When running afl-fuzz with asan and no fork server, the program is stuck at dup2(dev_null_fd, 1); in afl-fuzz.c.

With the fork server, afl-fuzz is stuck at s32 res; in afl-fuzz.c.

in

    if (waitpid(child_pid, &status, 0) <= 0) PFATAL("waitpid() failed");
  } else {
    s32 res;