about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-08 10:51:45 +0100
committerGitHub <noreply@github.com>2020-12-08 10:51:45 +0100
commit2f4166d5d6aca701e5583afe2421284e492d2446 (patch)
treeaf178f26db99c799fb88baa62f5cde4ad8cfe06e /include
parente707a8d7388cde38354162e783a2a71fe57fddf0 (diff)
parent06ec5ab3d723bf7f0a2ee76be8b12c09fa870a9d (diff)
downloadafl++-2f4166d5d6aca701e5583afe2421284e492d2446.tar.gz
Merge pull request #624 from mboehme/dev
Sampling next seed by weight (hit_count, bitmap_size, exec_us)
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index bdf44def..6ce032df 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -168,7 +168,8 @@ struct queue_entry {
   u8 *trace_mini;                       /* Trace bytes, if kept             */
   u32 tc_ref;                           /* Trace bytes ref count            */
 
-  double perf_score;                    /* performance score                */
+  double perf_score,                    /* performance score                */
+         weight;
 
   u8 *testcase_buf;                     /* The testcase buffer, if loaded.  */