forked from OSchip/llvm-project
18 lines
807 B
Plaintext
18 lines
807 B
Plaintext
// FIXME: Support sanitizer hooks for memcmp and strcmp need
|
|
// to be implemented in the sanitizer runtime for platforms other
|
|
// than linux
|
|
REQUIRES: linux
|
|
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: 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. ######
|
|
|