summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-10-25 20:15:15 +0000
committerKostya Serebryany <kcc@google.com>2016-10-25 20:15:15 +0000
commitc48c93184a6e8b948dabbe56e0a5deff30948154 (patch)
treea43a1e15990b9aa13078dad2bf09a22c59787d33 /llvm/lib/Fuzzer/test
parentf3dda13bd2fd08252ff5aaf84974a28d7c721f57 (diff)
downloadbcm5719-llvm-c48c93184a6e8b948dabbe56e0a5deff30948154.tar.gz
bcm5719-llvm-c48c93184a6e8b948dabbe56e0a5deff30948154.zip
[libFuzzer] when mutating based on CMP traces also try adding +/- 1 to the desired bytes. Add another test for use_cmp
llvm-svn: 285109
Diffstat (limited to 'llvm/lib/Fuzzer/test')
-rw-r--r--llvm/lib/Fuzzer/test/simple-cmp.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/simple-cmp.test b/llvm/lib/Fuzzer/test/simple-cmp.test
new file mode 100644
index 00000000000..f5791ad506c
--- /dev/null
+++ b/llvm/lib/Fuzzer/test/simple-cmp.test
@@ -0,0 +1,2 @@
+CHECK: BINGO
+RUN: not LLVMFuzzer-SimpleCmpTest -seed=1 -use_cmp=1 -runs=100000000 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud