diff options
author | yangzao <yangzaocn@outlook.com> | 2023-11-24 11:06:06 -0700 |
---|---|---|
committer | yangzao <yangzaocn@outlook.com> | 2023-11-24 11:06:06 -0700 |
commit | 770e868d04c0f52a1c57e5471e459dd24a002748 (patch) | |
tree | 3a7e42ea3385ce941839caa759b8c2da03356b83 /src/afl-fuzz-mutators.c | |
parent | d6cefdc1936fc0c312670469502d8ba9208530a3 (diff) | |
download | afl++-770e868d04c0f52a1c57e5471e459dd24a002748.tar.gz |
add custom_post_run.c
Diffstat (limited to 'src/afl-fuzz-mutators.c')
-rw-r--r-- | src/afl-fuzz-mutators.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/afl-fuzz-mutators.c b/src/afl-fuzz-mutators.c index 64dbe7c6..17fb9368 100644 --- a/src/afl-fuzz-mutators.c +++ b/src/afl-fuzz-mutators.c @@ -397,6 +397,18 @@ struct custom_mutator *load_custom_mutator(afl_state_t *afl, const char *fn) { } + /* "afl_custom_post_run", optional */ + mutator->afl_custom_post_run = dlsym(dh, "afl_custom_post_run"); + if (!mutator->afl_custom_post_run) { + + ACTF("optional symbol 'afl_custom_post_run' not found."); + + } else { + + OKF("Found 'afl_custom_post_run'."); + + } + /* "afl_custom_queue_new_entry", optional */ mutator->afl_custom_queue_new_entry = dlsym(dh, "afl_custom_queue_new_entry"); if (!mutator->afl_custom_queue_new_entry) { |