about summary refs log tree commit diff
path: root/examples/persistent_demo/persistent_demo_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/persistent_demo/persistent_demo_new.c')
-rw-r--r--examples/persistent_demo/persistent_demo_new.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/persistent_demo/persistent_demo_new.c b/examples/persistent_demo/persistent_demo_new.c
index 36411e13..98909442 100644
--- a/examples/persistent_demo/persistent_demo_new.c
+++ b/examples/persistent_demo/persistent_demo_new.c
@@ -42,9 +42,10 @@ int main(int argc, char **argv) {
      terminate normally. This limits the impact of accidental memory leaks
      and similar hiccups. */
 
+  __AFL_INIT();
   buf = __AFL_FUZZ_TESTCASE_BUF;
 
-  while (__AFL_LOOP(1000)) {
+  while (__AFL_LOOP(1000)) {  // increase if you have good stability
 
     len = __AFL_FUZZ_TESTCASE_LEN;