2015-05-07 02:11:33 +02:00
|
|
|
CHECK: BINGO
|
2015-12-19 04:35:30 +01:00
|
|
|
Done1000000: Done 1000000 runs in
|
2015-05-07 02:11:33 +02:00
|
|
|
|
2015-07-22 00:51:55 +02:00
|
|
|
RUN: LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s
|
2015-01-29 17:58:29 +01:00
|
|
|
|
2016-05-26 22:03:02 +02:00
|
|
|
# only_ascii mode. Will perform some minimal self-validation.
|
|
|
|
RUN: LLVMFuzzer-SimpleTest -only_ascii=1 2>&1
|
|
|
|
|
2015-10-02 22:47:55 +02:00
|
|
|
RUN: LLVMFuzzer-SimpleCmpTest -max_total_time=1 2>&1 | FileCheck %s --check-prefix=MaxTotalTime
|
|
|
|
MaxTotalTime: Done {{.*}} runs in {{.}} second(s)
|
|
|
|
|
2016-05-27 23:46:22 +02:00
|
|
|
RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
|
|
|
RUN: not LLVMFuzzer-NullDerefTest -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
|
|
|
NullDerefTest: ERROR: AddressSanitizer: SEGV on unknown address
|
2015-10-09 05:57:59 +02: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-11-25 22:40:46 +01:00
|
|
|
RUN: not LLVMFuzzer-NullDerefTest -artifact_prefix=ZZZ -exact_artifact_path=FOOBAR 2>&1 | FileCheck %s --check-prefix=NullDerefTestExactPath
|
|
|
|
NullDerefTestExactPath: Test unit written to FOOBAR
|
2015-01-30 00:01:07 +01:00
|
|
|
|
2016-05-25 02:15:36 +02:00
|
|
|
RUN: not LLVMFuzzer-NullDerefOnEmptyTest -print_final_stats=1 2>&1 | FileCheck %s --check-prefix=NULL_DEREF_ON_EMPTY
|
|
|
|
NULL_DEREF_ON_EMPTY: stat::number_of_executed_units:
|
|
|
|
|
2015-10-03 00:00:32 +02:00
|
|
|
#not LLVMFuzzer-FullCoverageSetTest -timeout=15 -seed=1 -mutate_depth=2 -use_full_coverage_set=1 2>&1 | FileCheck %s
|
2015-05-07 02:11:33 +02:00
|
|
|
|
2015-07-22 00:51:55 +02:00
|
|
|
RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
|
2015-02-20 04:02:37 +01:00
|
|
|
|
2015-12-19 03:49:09 +01:00
|
|
|
RUN: not LLVMFuzzer-CallerCalleeTest -cross_over=0 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s
|
2016-01-07 02:49:35 +01:00
|
|
|
# This one is flaky, may actually find the goal even w/o use_indir_calls.
|
|
|
|
# LLVMFuzzer-CallerCalleeTest -use_indir_calls=0 -cross_over=0 -max_len=6 -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000
|
2015-10-23 01:55:39 +02:00
|
|
|
|
2015-11-10 00:17:45 +01:00
|
|
|
RUN: not LLVMFuzzer-UninstrumentedTest-Uninstrumented 2>&1 | FileCheck %s --check-prefix=UNINSTRUMENTED
|
|
|
|
UNINSTRUMENTED: ERROR: __sanitizer_set_death_callback is not defined. Exiting.
|
2016-01-06 01:21:22 +01:00
|
|
|
|
2016-06-08 03:46:13 +02:00
|
|
|
RUN: not LLVMFuzzer-UninstrumentedTest-NoCoverage 2>&1 | FileCheck %s --check-prefix=NO_COVERAGE
|
|
|
|
NO_COVERAGE: ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting
|
|
|
|
|
2016-01-14 00:02:30 +01:00
|
|
|
RUN: not LLVMFuzzer-BufferOverflowOnInput 2>&1 | FileCheck %s --check-prefix=OOB
|
|
|
|
OOB: AddressSanitizer: heap-buffer-overflow
|
|
|
|
OOB: is located 0 bytes to the right of 3-byte region
|
2016-01-16 02:23:12 +01:00
|
|
|
|
|
|
|
RUN: not LLVMFuzzer-InitializeTest 2>&1 | FileCheck %s
|
2016-01-19 21:33:57 +01:00
|
|
|
|