2015-05-07 08:11:33 +08:00
|
|
|
CHECK: BINGO
|
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s
|
2015-10-17 06:41:47 +08:00
|
|
|
RUN: not LLVMFuzzer-NullDerefTest -test_single_input=%S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInput
|
|
|
|
SingleInput-NOT: Test unit written to ./crash-
|
2015-01-30 00:58:29 +08:00
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
|
2015-01-30 00:58:29 +08:00
|
|
|
InfiniteTest: ALARM: working on the last Unit for
|
2015-10-09 11:57:59 +08:00
|
|
|
InfiniteTest: Test unit written to ./timeout-
|
2015-01-30 00:58:29 +08:00
|
|
|
|
2015-10-03 04:47:55 +08:00
|
|
|
RUN: LLVMFuzzer-SimpleCmpTest -max_total_time=1 2>&1 | FileCheck %s --check-prefix=MaxTotalTime
|
|
|
|
MaxTotalTime: Done {{.*}} runs in {{.}} second(s)
|
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
|
2015-01-30 00:58:29 +08:00
|
|
|
TimeoutTest: ALARM: working on the last Unit for
|
2015-10-09 11:57:59 +08:00
|
|
|
TimeoutTest: Test unit written to ./timeout-
|
2015-10-17 07:04:31 +08:00
|
|
|
TimeoutTest: == ERROR: libFuzzer: timeout after
|
|
|
|
TimeoutTest: #0
|
|
|
|
TimeoutTest: #1
|
|
|
|
TimeoutTest: #2
|
|
|
|
TimeoutTest: SUMMARY: libFuzzer: timeout
|
2015-01-30 00:58:29 +08:00
|
|
|
|
2015-10-17 06:41:47 +08:00
|
|
|
RUN: not LLVMFuzzer-TimeoutTest -timeout=5 -test_single_input=%S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest
|
|
|
|
SingleInputTimeoutTest: ALARM: working on the last Unit for
|
|
|
|
SingleInputTimeoutTest-NOT: Test unit written to ./timeout-
|
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
2015-10-09 11:57:59 +08:00
|
|
|
NullDerefTest: Test unit written to ./crash-
|
|
|
|
RUN: not LLVMFuzzer-NullDerefTest -artifact_prefix=ZZZ 2>&1 | FileCheck %s --check-prefix=NullDerefTestPrefix
|
|
|
|
NullDerefTestPrefix: Test unit written to ZZZcrash-
|
2015-01-30 07:01:07 +08:00
|
|
|
|
2015-10-03 06:00:32 +08:00
|
|
|
#not LLVMFuzzer-FullCoverageSetTest -timeout=15 -seed=1 -mutate_depth=2 -use_full_coverage_set=1 2>&1 | FileCheck %s
|
2015-05-07 08:11:33 +08:00
|
|
|
|
2015-10-03 06:00:32 +08:00
|
|
|
#not LLVMFuzzer-FourIndependentBranchesTest -timeout=15 -seed=1 -use_traces=1 2>&1 | FileCheck %s
|
2015-05-07 08:11:33 +08:00
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
|
2015-02-20 11:02:37 +08:00
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-SimpleCmpTest -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileCheck %s
|
2015-03-31 06:09:51 +08:00
|
|
|
|
2015-07-22 06:51:55 +08:00
|
|
|
RUN: not LLVMFuzzer-UserSuppliedFuzzerTest -seed=1 -timeout=15 2>&1 | FileCheck %s
|
2015-05-23 06:35:31 +08:00
|
|
|
|
2015-08-12 09:55:37 +08:00
|
|
|
RUN: not LLVMFuzzer-MemcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
|
2015-07-30 09:34:58 +08:00
|
|
|
RUN: LLVMFuzzer-MemcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
|
|
|
Done1000000: Done 1000000 runs in
|
2015-07-30 10:33:45 +08:00
|
|
|
|
2015-08-12 09:55:37 +08:00
|
|
|
RUN: not LLVMFuzzer-StrncmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
|
2015-07-30 10:33:45 +08:00
|
|
|
RUN: LLVMFuzzer-StrncmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
2015-07-31 09:33:06 +08:00
|
|
|
|
2015-08-12 09:55:37 +08:00
|
|
|
RUN: not LLVMFuzzer-StrcmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
|
2015-08-06 02:23:01 +08:00
|
|
|
RUN: LLVMFuzzer-StrcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
|
|
|
|
2015-08-01 04:58:55 +08:00
|
|
|
RUN: not LLVMFuzzer-SwitchTest -use_traces=1 -seed=1 -runs=1000000 2>&1 | FileCheck %s
|
2015-07-31 09:33:06 +08:00
|
|
|
RUN: LLVMFuzzer-SwitchTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
2015-09-04 08:12:11 +08:00
|
|
|
|
|
|
|
RUN: not LLVMFuzzer-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000000 2>&1 | FileCheck %s
|
|
|
|
RUN: LLVMFuzzer-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
2015-09-09 05:22:52 +08:00
|
|
|
|
|
|
|
RUN: not LLVMFuzzer-SimpleHashTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s
|
|
|
|
RUN: LLVMFuzzer-SimpleHashTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|