about summary refs log tree commit diff
path: root/custom_mutators/autotokens/autotokens.cpp
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-02-15 11:48:49 +0100
committervanhauser-thc <vh@thc.org>2023-02-15 11:48:49 +0100
commitae94499503596d1e7f45e1a93bc5f7148c6163b6 (patch)
treef471205d2735b1bdf89ecb6e8e17d8e851d1ffad /custom_mutators/autotokens/autotokens.cpp
parent04356ecbbe2c6cb72d279081702a6044fcc3ae92 (diff)
downloadafl++-ae94499503596d1e7f45e1a93bc5f7148c6163b6.tar.gz
fix
Diffstat (limited to 'custom_mutators/autotokens/autotokens.cpp')
-rw-r--r--custom_mutators/autotokens/autotokens.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom_mutators/autotokens/autotokens.cpp b/custom_mutators/autotokens/autotokens.cpp
index b1f1542e..e6b9931d 100644
--- a/custom_mutators/autotokens/autotokens.cpp
+++ b/custom_mutators/autotokens/autotokens.cpp
@@ -1078,6 +1078,8 @@ extern "C" void afl_custom_deinit(my_mutator_t *data) {
   /* we use this to print statistics at exit :-)
      needs to be stderr as stdout is filtered */
 
+  if (module_disabled) { return; }
+
   fprintf(stderr,
           "\n\nAutotoken mutator statistics:\n"
           "  Number of all seen tokens:  %u\n"