diff options
author | van Hauser <vh@thc.org> | 2023-02-23 11:49:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 11:49:28 +0100 |
commit | eb5c1ee4f3ffd6e42a3637082ab4ea089052ad8b (patch) | |
tree | b0ebfc066252a9c78dfe90cf811b2b27f43cc215 /src/afl-fuzz-mutators.c | |
parent | a293281b9bbb4e61bfbe5e67ab108d9e5ee40192 (diff) | |
parent | eeccb2da69d7e6f32ee74c431e7c5053e8379dff (diff) | |
download | afl++-eb5c1ee4f3ffd6e42a3637082ab4ea089052ad8b.tar.gz |
Merge pull request #1650 from AFLplusplus/autotoken
Autotoken
Diffstat (limited to 'src/afl-fuzz-mutators.c')
-rw-r--r-- | src/afl-fuzz-mutators.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/afl-fuzz-mutators.c b/src/afl-fuzz-mutators.c index f722374f..9ea46e7a 100644 --- a/src/afl-fuzz-mutators.c +++ b/src/afl-fuzz-mutators.c @@ -364,6 +364,19 @@ struct custom_mutator *load_custom_mutator(afl_state_t *afl, const char *fn) { } + /* "afl_custom_splice_optout", optional, never called */ + mutator->afl_custom_splice_optout = dlsym(dh, "afl_custom_splice_optout"); + if (!mutator->afl_custom_splice_optout) { + + ACTF("optional symbol 'afl_custom_splice_optout' not found."); + + } else { + + OKF("Found 'afl_custom_splice_optout'."); + afl->custom_splice_optout = 1; + + } + /* "afl_custom_fuzz_send", optional */ mutator->afl_custom_fuzz_send = dlsym(dh, "afl_custom_fuzz_send"); if (!mutator->afl_custom_fuzz_send) { |