about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-14 16:38:29 +0200
committervan Hauser <vh@thc.org>2020-10-14 16:38:29 +0200
commit23872d6f2c0ae77beb832f44d392f86cc8530e1a (patch)
tree2c405651ed4322a052764920360caaf8ce376a2c /include/afl-fuzz.h
parent56ac3fcdc511d124ad058412021ead21bbbcf4bf (diff)
downloadafl++-23872d6f2c0ae77beb832f44d392f86cc8530e1a.tar.gz
add documentation
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 940c5602..514d558b 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -1164,5 +1164,9 @@ u8 *queue_testcase_get(afl_state_t *afl, struct queue_entry *q);
 void queue_testcase_retake(afl_state_t *afl, struct queue_entry *q,
                            u32 old_len);
 
+#if TESTCASE_CACHE == 1
+#error define of TESTCASE_CACHE must be zero or larger than 1
+#endif
+
 #endif