about summary refs log tree commit diff
path: root/custom_mutators/symcc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-07-09 12:42:17 +0200
committervanhauser-thc <vh@thc.org>2021-07-09 12:42:17 +0200
commit5bcbb2f59affc411a1e8bb7ccaabaa5ba63e6596 (patch)
tree047459594d812e75405b1b92e9c8ddb962feb3ec /custom_mutators/symcc
parent1b2637545b6b9f171ea46ed6cf5164e8d05d1776 (diff)
downloadafl++-5bcbb2f59affc411a1e8bb7ccaabaa5ba63e6596.tar.gz
port custom mutator changes
Diffstat (limited to 'custom_mutators/symcc')
-rw-r--r--custom_mutators/symcc/symcc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/custom_mutators/symcc/symcc.c b/custom_mutators/symcc/symcc.c
index a609dafb..19218449 100644
--- a/custom_mutators/symcc/symcc.c
+++ b/custom_mutators/symcc/symcc.c
@@ -101,9 +101,9 @@ my_mutator_t *afl_custom_init(afl_state_t *afl, unsigned int seed) {
 
 /* When a new queue entry is added we run this input with the symcc
    instrumented binary */
-void afl_custom_queue_new_entry(my_mutator_t * data,
-                                const uint8_t *filename_new_queue,
-                                const uint8_t *filename_orig_queue) {
+uint8_t afl_custom_queue_new_entry(my_mutator_t * data,
+                                   const uint8_t *filename_new_queue,
+                                   const uint8_t *filename_orig_queue) {
 
   int         pipefd[2];
   struct stat st;
@@ -232,6 +232,8 @@ void afl_custom_queue_new_entry(my_mutator_t * data,
 
   }
 
+  return 0;
+
 }
 
 uint32_t afl_custom_fuzz_count(my_mutator_t *data, const u8 *buf,