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-one.c | |
parent | 8fe5e29104fc514551bbc926c5142dac68562b43 (diff) | |
download | afl++-14d8eb9e40a6329abcb2f153174b543349c68c13.tar.gz |
autotoken: splicing; splice_optout
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r-- | src/afl-fuzz-one.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index eaf65987..5e352dcb 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -1954,7 +1954,8 @@ custom_mutator_stage: u32 target_len = 0; /* check if splicing makes sense yet (enough entries) */ - if (likely(afl->ready_for_splicing_count > 1)) { + if (likely(!afl->custom_splice_optout && + afl->ready_for_splicing_count > 1)) { /* Pick a random other queue entry for passing to external API that has the necessary length */ |