From 0b6007a49cda8d9fc7eb03c73fa5c05f47141072 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sat, 29 Oct 2022 10:00:36 +0200 Subject: fix fork server kill signals for qemu, unicorn and nyx mode --- src/afl-showmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/afl-showmap.c') diff --git a/src/afl-showmap.c b/src/afl-showmap.c index ce1f8004..311fdc35 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -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) { -- cgit 1.4.1