about summary refs log tree commit diff
path: root/src/afl-fuzz-run.c
diff options
context:
space:
mode:
authoryangzao <yangzaocn@outlook.com>2023-11-27 09:58:03 -0700
committeryangzao <yangzaocn@outlook.com>2023-11-27 09:58:03 -0700
commitc9e0f01b439870dc2b619ab2c18240b201ca1460 (patch)
tree1cd8424fcb2d10da30b0578529a6f617aaf30206 /src/afl-fuzz-run.c
parentfaedb3fb29186c29a4f0cf28daa5d07350ed8094 (diff)
downloadafl++-c9e0f01b439870dc2b619ab2c18240b201ca1460.tar.gz
format code
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r--src/afl-fuzz-run.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index ac346b86..04ccccba 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -1117,16 +1117,15 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
    with afl-fuzz. */
 
 void post_run(afl_state_t *afl) {
+
   if (unlikely(afl->custom_mutators_count)) {
 
-      LIST_FOREACH(&afl->custom_mutator_list, struct custom_mutator, {
+    LIST_FOREACH(&afl->custom_mutator_list, struct custom_mutator, {
 
-        if (el->afl_custom_post_run) {
+      if (el->afl_custom_post_run) { el->afl_custom_post_run(el->data); }
 
-          el->afl_custom_post_run(el->data);
+    });
 
-        }
+  }
 
-      });
-    }
-}
\ No newline at end of file
+}