about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-01 15:30:44 +0200
committervan Hauser <vh@thc.org>2020-06-01 15:30:44 +0200
commit1d15048f2f79bb6836e8a50676a8ecc8cff1e5d0 (patch)
treefa9ecbfff61ee43ca5e1430854c524d040672952 /examples
parentadcffce0a083cf32ea41f5631ec0e9d77dfdd115 (diff)
downloadafl++-1d15048f2f79bb6836e8a50676a8ecc8cff1e5d0.tar.gz
hopeful finally change for libfuzzer driver
Diffstat (limited to 'examples')
-rw-r--r--examples/aflpp_driver/aflpp_driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aflpp_driver/aflpp_driver.cpp b/examples/aflpp_driver/aflpp_driver.cpp
index 1feae1c3..f2c604da 100644
--- a/examples/aflpp_driver/aflpp_driver.cpp
+++ b/examples/aflpp_driver/aflpp_driver.cpp
@@ -267,8 +267,8 @@ int main(int argc, char **argv) {
 
   // Call LLVMFuzzerTestOneInput here so that coverage caused by initialization
   // on the first execution of LLVMFuzzerTestOneInput is ignored.
-  //uint8_t dummy_input[1] = {0};
-  //LLVMFuzzerTestOneInput(dummy_input, 1);
+  uint8_t dummy_input[1] = {0};
+  LLVMFuzzerTestOneInput(dummy_input, 1);
 
   int num_runs = 0;
   while (__afl_persistent_loop(N)) {