diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-17 16:39:05 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-17 16:39:05 +0100 |
commit | 55e9297202d646cfe7da8d6c5eb6937952812569 (patch) | |
tree | 42b402e419e225a644b8cedb7c1c0481d4404cc7 /src/afl-fuzz-one.c | |
parent | bd58094dbc87463680a54d99ffcff7ae2a591353 (diff) | |
download | afl++-55e9297202d646cfe7da8d6c5eb6937952812569.tar.gz |
first experiment cmplog
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 74123300..94c6694a 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 |