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

@ -1264,7 +1264,9 @@ int main(int argc, char **argv_orig, char **envp) {
: 0);
be_quiet = save_be_quiet;
configure_afl_kill_signals(fsrv, NULL, NULL);
configure_afl_kill_signals(
fsrv, NULL, NULL,
(fsrv->qemu_mode || unicorn_mode) ? SIGKILL : SIGTERM);
if (new_map_size) {