diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-30 22:54:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 22:54:23 +0100 |
commit | 19ebdf31b999223e4965f701077f9af9d550e386 (patch) | |
tree | 9c6d27d58d0606d59725ef46766eb1961e908d31 /src/afl-fuzz-one.c | |
parent | b050c1158398dd07e25a6cd65234da84e5656fa6 (diff) | |
parent | 6e9fce1c2d654c92dbf8e6b8cc21a88d8cba9496 (diff) | |
download | afl++-19ebdf31b999223e4965f701077f9af9d550e386.tar.gz |
Merge pull request #178 from vanhauser-thc/CmpLog
Cmp log
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r-- | src/afl-fuzz-one.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index b04683be..199b3ea8 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -531,6 +531,13 @@ u8 fuzz_one_original(char** argv) { } + if (cmplog_mode) { + + if (input_to_state_stage(argv, in_buf, out_buf, len, queue_cur->exec_cksum)) + goto abandon_entry; + + } + /* Skip right away if -d is given, if it has not been chosen sufficiently often to warrant the expensive deterministic stage (fuzz_level), or if it has gone through deterministic testing in earlier, resumed runs |