code format

This commit is contained in:
vanhauser-thc 2023-11-28 09:14:29 +01:00
parent d2aef74ad7
commit dd9a04c901
2 changed files with 8 additions and 2 deletions

View File

@ -13,6 +13,7 @@
- added scale support to CMPLOG (-l S)
- added --version and --help command line parameters
- fixed endless loop when reading malformed dictionaries
- new custom mutator function: post_run - thanks to yangzao!
- afl-whatsup:
- detect instanced that are starting up and show them as such as not dead
- now also shows coverage reached

View File

@ -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;
}