fix fork server kill signals for qemu, unicorn and nyx mode

This commit is contained in:
vanhauser-thc
2022-10-29 10:00:36 +02:00
parent a6a26d8153
commit 0b6007a49c
6 changed files with 19 additions and 9 deletions

View File

@ -1198,7 +1198,8 @@ int main(int argc, char **argv_orig, char **envp) {
}
configure_afl_kill_signals(fsrv, NULL, NULL);
configure_afl_kill_signals(
fsrv, NULL, NULL, (fsrv->qemu_mode || unicorn_mode) ? SIGKILL : SIGTERM);
if (getenv("AFL_CRASH_EXITCODE")) {