about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c4
1 files changed, 3 insertions, 1 deletions
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) {