diff options
author | vanhauser-thc <vh@thc.org> | 2023-01-18 22:17:14 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-01-18 22:17:14 +0100 |
commit | 14d8eb9e40a6329abcb2f153174b543349c68c13 (patch) | |
tree | 183d50c2416d6949e59a2e89ddad564b6b088541 /src/afl-fuzz-mutators.c | |
parent | 8fe5e29104fc514551bbc926c5142dac68562b43 (diff) | |
download | afl++-14d8eb9e40a6329abcb2f153174b543349c68c13.tar.gz |
autotoken: splicing; splice_optout
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 22e5262e..ce43064a 100644 --- a/src/afl-fuzz-mutators.c +++ b/src/afl-fuzz-mutators.c @@ -358,6 +358,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) { |