about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorMarcel Boehme <marcel.boehme@acm.org>2020-09-29 11:53:27 +0000
committerMarcel Boehme <marcel.boehme@acm.org>2020-09-29 11:53:27 +0000
commite87eca7fe8ec3ed0ba79e7722350ad502b67218b (patch)
treeabe699ce381526ad0c0106628852593dc9eeebfe /include/afl-fuzz.h
parente69b25e34be8028921389bbb114135c3028d0a3d (diff)
downloadafl++-e87eca7fe8ec3ed0ba79e7722350ad502b67218b.tar.gz
Patching and improving AFLFast schedules.
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index aa278820..f65fc40f 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -155,7 +155,6 @@ struct queue_entry {
 
   u64 exec_us,                          /* Execution time (us)              */
       handicap,                         /* Number of queue cycles behind    */
-      n_fuzz,                           /* Number of fuzz, does not overflow*/
       depth,                            /* Path depth                       */
       exec_cksum;                       /* Checksum of the execution trace  */
 
@@ -492,6 +491,9 @@ typedef struct afl_state {
 
   u8 *var_bytes;                        /* Bytes that appear to be variable */
 
+  #define n_fuzz_size (1 << 21)
+  u32 *n_fuzz;
+
   volatile u8 stop_soon,                /* Ctrl-C pressed?                  */
       clear_screen;                     /* Window resized?                  */