about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-17 14:08:40 +0200
committervan Hauser <vh@thc.org>2020-04-17 14:08:40 +0200
commit6ee11c2a6f96c083f78bce650fbae5730c8ef971 (patch)
treede388d8bab5914a8c88dce5cba69b4f26d4c89e7 /include/afl-fuzz.h
parentef1d384184d2b67afb02836eb48233cce6dc4a89 (diff)
downloadafl++-6ee11c2a6f96c083f78bce650fbae5730c8ef971.tar.gz
little more speed for queue analysis
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index fbf3aa2d..fdfe3789 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -608,9 +608,10 @@ typedef struct afl_state {
   u8 *   ex_buf;
   size_t ex_size;
 
+  /* this is a fixed buffer of size map_size that can be used by any function if they do not call another function */
   u8 *   map_tmp_buf;
-  size_t map_tmp_size;
-
+  size_t map_tmp_len;
+  
 } afl_state_t;
 
 /* A global pointer to all instances is needed (for now) for signals to arrive