aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-12-20 13:36:56 +0100
committervanhauser-thc <vh@thc.org>2022-12-20 13:36:56 +0100
commit0165ca8c6c485e36fe8e5fc6182ebeba2100932b (patch)
treeab66c723be9ccadde42329cc85de1c141f8bddcd /include
parent96f05c7f6978fbc7648c0ae86b3827e0f9e6d467 (diff)
downloadafl++-0165ca8c6c485e36fe8e5fc6182ebeba2100932b.tar.gz
hide queue introspection behind define
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index f9dcbf8f..ea83aaca 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -169,12 +169,16 @@ struct queue_entry {
u32 bitmap_size, /* Number of bits set in bitmap */
fuzz_level, /* Number of fuzzing iterations */
- n_fuzz_entry, /* offset in n_fuzz */
+ n_fuzz_entry /* offset in n_fuzz */
+#ifdef INTROSPECTION
+ ,
stats_selected, /* stats: how often selected */
stats_skipped, /* stats: how often skipped */
stats_finds, /* stats: # of saved finds */
stats_crashes, /* stats: # of saved crashes */
- stats_tmouts; /* stats: # of saved timeouts */
+ stats_tmouts /* stats: # of saved timeouts */
+#endif
+ ;
u64 exec_us, /* Execution time (us) */
handicap, /* Number of queue cycles behind */