2016-06-02 13:48:09 +08:00
|
|
|
REQUIRES: dfsan
|
2015-08-01 09:42:51 +08:00
|
|
|
CHECK1: BINGO
|
|
|
|
CHECK2: BINGO
|
|
|
|
CHECK3: BINGO
|
|
|
|
CHECK4: BINGO
|
|
|
|
|
2015-07-28 09:25:00 +08:00
|
|
|
CHECK_DFSanCmpCallback: DFSanCmpCallback: PC
|
2015-08-01 01:05:05 +08:00
|
|
|
CHECK_DFSanSwitchCallback: DFSanSwitchCallback: PC
|
2016-01-09 09:39:55 +08:00
|
|
|
CHECK_DFSanMemcmpCallback: DFSanMemcmpCallback: Pos
|
2015-07-22 06:51:49 +08:00
|
|
|
|
2016-02-13 11:25:16 +08:00
|
|
|
RUN: not LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=10000000 -timeout=5 2>&1 | FileCheck %s --check-prefix=CHECK1
|
2015-07-28 09:25:00 +08:00
|
|
|
RUN: LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=100 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanCmpCallback
|
2015-07-22 06:51:49 +08:00
|
|
|
|
2016-01-14 10:36:44 +08:00
|
|
|
RUN: not LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=100000 -timeout=5 2>&1 | FileCheck %s --check-prefix=CHECK2
|
2016-01-09 09:39:55 +08:00
|
|
|
RUN: LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanMemcmpCallback
|
2015-07-22 06:51:49 +08:00
|
|
|
|
2015-08-01 09:42:51 +08:00
|
|
|
RUN: not LLVMFuzzer-StrncmpTest-DFSan -use_traces=1 -seed=1 -runs=10000 -timeout=5 2>&1 | FileCheck %s --check-prefix=CHECK3
|
2016-01-09 09:39:55 +08:00
|
|
|
RUN: LLVMFuzzer-StrncmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanMemcmpCallback
|
2015-08-01 01:05:05 +08:00
|
|
|
|
2015-08-06 02:23:01 +08:00
|
|
|
RUN: not LLVMFuzzer-StrcmpTest-DFSan -use_traces=1 -seed=1 -runs=10000 -timeout=5 2>&1 | FileCheck %s --check-prefix=CHECK3
|
2016-01-09 09:39:55 +08:00
|
|
|
RUN: LLVMFuzzer-StrcmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanMemcmpCallback
|
2015-08-06 02:23:01 +08:00
|
|
|
|
2015-08-01 09:42:51 +08:00
|
|
|
RUN: not LLVMFuzzer-SwitchTest-DFSan -use_traces=1 -seed=1 -runs=100000 -timeout=5 2>&1 | FileCheck %s --check-prefix=CHECK4
|
2015-08-01 01:05:05 +08:00
|
|
|
RUN: LLVMFuzzer-SwitchTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileCheck %s -check-prefix=CHECK_DFSanSwitchCallback
|