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

@ -1115,7 +1115,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);
read_initial_file();
(void)check_binary_signatures(fsrv.target_path);