diff options
author | vanhauser-thc <vh@thc.org> | 2023-11-28 09:14:29 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-11-28 09:14:29 +0100 |
commit | dd9a04c901c79fe2f3f078de6cc0777e3a5d96df (patch) | |
tree | 57c5f0e96f340e6adb9788f381d4d85525c48207 /src | |
parent | d2aef74ad77e49a96f152517445a515ba4814bcb (diff) | |
download | afl++-dd9a04c901c79fe2f3f078de6cc0777e3a5d96df.tar.gz |
code format
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-run.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index b6d5df95..34a5ff81 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -62,12 +62,16 @@ fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv, u32 timeout) { /* If post_run() function is defined in custom mutator, the function will be called each time after AFL++ executes the target program. */ - + if (unlikely(afl->custom_mutators_count)) { LIST_FOREACH(&afl->custom_mutator_list, struct custom_mutator, { - if (el->afl_custom_post_run) { el->afl_custom_post_run(el->data); } + if (unlikely(el->afl_custom_post_run)) { + + el->afl_custom_post_run(el->data); + + } }); @@ -1123,3 +1127,4 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) { return 0; } + |