about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-04 09:10:58 +0200
committervan Hauser <vh@thc.org>2020-06-04 09:10:58 +0200
commitf1ad9bdaea754cd08581b7b41bac7f404763fde7 (patch)
treec0c3e99898e03f4a1e3e8a39d13187faa3d766f7 /examples
parent2f73215d4f24d9059546aff2b82d7eef05fbe253 (diff)
downloadafl++-f1ad9bdaea754cd08581b7b41bac7f404763fde7.tar.gz
fix
Diffstat (limited to 'examples')
-rw-r--r--examples/aflpp_driver/GNUmakefile2
-rw-r--r--examples/aflpp_driver/aflpp_qemu_driver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/aflpp_driver/GNUmakefile b/examples/aflpp_driver/GNUmakefile
index 05ddebb0..988576d5 100644
--- a/examples/aflpp_driver/GNUmakefile
+++ b/examples/aflpp_driver/GNUmakefile
@@ -18,7 +18,7 @@ libAFLDriver.a:	aflpp_driver.o
 	ar ru libAFLDriver.a aflpp_driver.o
 
 aflpp_qemu_driver.o:	aflpp_qemu_driver.c
-	$(LLVM_BINDIR)clang $(FLAGS) -funroll-loops -c aflpp_qemu_driver.c
+	$(LLVM_BINDIR)clang $(FLAGS) -O0 -funroll-loops -c aflpp_qemu_driver.c
 
 libAFLQemuDriver.a:	aflpp_qemu_driver.o
 	ar ru libAFLQemuDriver.a aflpp_qemu_driver.o
diff --git a/examples/aflpp_driver/aflpp_qemu_driver.c b/examples/aflpp_driver/aflpp_qemu_driver.c
index 604feb91..ee7dde10 100644
--- a/examples/aflpp_driver/aflpp_qemu_driver.c
+++ b/examples/aflpp_driver/aflpp_qemu_driver.c
@@ -27,7 +27,7 @@ int main(int argc, char **argv) {
 
   } else {
 
-    uint8_t dummy_input[1] = {0};
+    uint8_t dummy_input[1024000] = {0};
     LLVMFuzzerTestOneInput(dummy_input, 1);
 
   }