about summary refs log tree commit diff
path: root/src/afl-fuzz-cmplog.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-04-03 09:30:23 +0200
committerGitHub <noreply@github.com>2022-04-03 09:30:23 +0200
commit881aef21fd6ca3f3bcf0847587d4d6d86f3a69db (patch)
treed076384dedf423a4bb7c3d1507cb07281ebc2865 /src/afl-fuzz-cmplog.c
parent1d4f1e48797c064ee71441ba555b29fc3f467983 (diff)
parentc4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff)
downloadafl++-881aef21fd6ca3f3bcf0847587d4d6d86f3a69db.tar.gz
Merge pull request #1362 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-cmplog.c')
-rw-r--r--src/afl-fuzz-cmplog.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/afl-fuzz-cmplog.c b/src/afl-fuzz-cmplog.c
index 1a8052a0..7d94085d 100644
--- a/src/afl-fuzz-cmplog.c
+++ b/src/afl-fuzz-cmplog.c
@@ -49,7 +49,7 @@ u8 common_fuzz_cmplog_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
 
   u8 fault;
 
-  len = write_to_testcase(afl, out_buf, len, 0);
+  write_to_testcase(afl, out_buf, len, 0);
 
   fault = fuzz_run_target(afl, &afl->cmplog_fsrv, afl->fsrv.exec_tmout);
 
@@ -81,14 +81,6 @@ u8 common_fuzz_cmplog_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
 
   }
 
-  /* This handles FAULT_ERROR for us: */
-
-  /* afl->queued_discovered += save_if_interesting(afl, argv, out_buf, len,
-  fault);
-
-  if (!(afl->stage_cur % afl->stats_update_freq) || afl->stage_cur + 1 ==
-  afl->stage_max) show_stats(afl); */
-
   return 0;
 
 }