forked from OSchip/llvm-project
18 lines
886 B
Plaintext
18 lines
886 B
Plaintext
// FIXME: Support for sanitizer hooks for memcmp and strcmp needs to
|
|
// be implemented in the sanitizer runtime for this test
|
|
UNSUPPORTED: windows
|
|
CHECK: BINGO
|
|
|
|
RUN: not LLVMFuzzer-MemcmpTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
|
RUN: not LLVMFuzzer-StrncmpTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
|
RUN: not LLVMFuzzer-StrcmpTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
|
RUN: not LLVMFuzzer-StrstrTest -seed=1 -runs=2000000 2>&1 | FileCheck %s
|
|
|
|
RUN: not LLVMFuzzer-Memcmp64BytesTest -seed=1 -runs=1000000 2>&1 | FileCheck %s
|
|
|
|
RUN: LLVMFuzzer-RepeatedMemcmp -seed=11 -runs=100000 2>&1 | FileCheck %s --check-prefix=RECOMMENDED_DICT
|
|
RECOMMENDED_DICT:###### Recommended dictionary. ######
|
|
RECOMMENDED_DICT-DAG: "foo"
|
|
RECOMMENDED_DICT-DAG: "bar"
|
|
RECOMMENDED_DICT:###### End of recommended dictionary. ######
|