diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-07 20:43:17 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-07 20:43:17 +0100 |
commit | f2f6be5e999632b05ce92b4934ee97531d546a44 (patch) | |
tree | c7eeea121fc83b5d0cf76daf59c47634c11bf264 /src/afl-fuzz-init.c | |
parent | fd8fe4dd088464230df2dc456c5a9fbf905c907f (diff) | |
download | afl++-f2f6be5e999632b05ce92b4934ee97531d546a44.tar.gz |
afl qemu persistent hook
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 9265e4a5..fc3e1140 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1822,6 +1822,8 @@ static void handle_stop_sig(int sig) { if (child_pid > 0) kill(child_pid, SIGKILL); if (forksrv_pid > 0) kill(forksrv_pid, SIGKILL); + if (cmplog_child_pid > 0) kill(cmplog_child_pid, SIGKILL); + if (cmplog_forksrv_pid > 0) kill(cmplog_forksrv_pid, SIGKILL); } |