aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-11-03 21:23:03 +0100
committervanhauser-thc <vh@thc.org>2021-11-03 21:23:03 +0100
commitafc84438c60f7a70464ddc353216e0d9fb0c0b49 (patch)
treed46655598f77583382dd783017d27bf03fdfdb9e /src
parent45399b7a56f77652f09f6825a7bdf2ae1708ff3a (diff)
downloadafl++-afc84438c60f7a70464ddc353216e0d9fb0c0b49.tar.gz
move bitmap and saveauto
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 6ec033b2..e06060ab 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -2226,13 +2226,12 @@ int main(int argc, char **argv_orig, char **envp) {
}
- write_bitmap(afl);
- save_auto(afl);
-
stop_fuzzing:
afl->force_ui_update = 1; // ensure the screen is reprinted
show_stats(afl); // print the screen one last time
+ write_bitmap(afl);
+ save_auto(afl);
SAYF(CURSOR_SHOW cLRD "\n\n+++ Testing aborted %s +++\n" cRST,
afl->stop_soon == 2 ? "programmatically" : "by user");