diff options
author | van Hauser <vh@thc.org> | 2019-09-29 18:59:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-29 18:59:15 +0200 |
commit | 8f519e7959776ec3caf2b5467f5abde00a83e29b (patch) | |
tree | 85ccf964faa39e7152eba9715e9d8400e54c87f3 /src | |
parent | 293ff9d58628a03f8e3fb3a55e13e2b0d4068b4f (diff) | |
parent | 2b1b9f816cc079dbc819121b7fed90a5a0e14054 (diff) | |
download | afl++-8f519e7959776ec3caf2b5467f5abde00a83e29b.tar.gz |
Merge pull request #67 from aoh/master
use the original data as input to custom fuzzer modules
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-one.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index 1824f0b2..7db25254 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -495,7 +495,7 @@ u8 fuzz_one_original(char** argv) { for (stage_cur = 0; stage_cur < stage_max; ++stage_cur) { size_t orig_size = (size_t)len; - size_t mutated_size = custom_mutator(out_buf, orig_size, mutated_buf, + size_t mutated_size = custom_mutator(in_buf, orig_size, mutated_buf, max_seed_size, UR(UINT32_MAX)); if (mutated_size > 0) { |