1// FIXME: Support sanitizer hooks for memcmp and strcmp need 2// to be implemented in the sanitizer runtime for platforms other 3// than linux 4REQUIRES: linux 5CHECK: BINGO 6Done1000000: Done 1000000 runs in 7 8RUN: not LLVMFuzzer-MemcmpTest -seed=4294967295 -runs=100000 2>&1 | FileCheck %s 9RUN: LLVMFuzzer-MemcmpTest -use_memcmp=0 -seed=4294967295 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000 10 11RUN: not LLVMFuzzer-StrncmpTest -seed=2 -runs=100000 2>&1 | FileCheck %s 12RUN: LLVMFuzzer-StrncmpTest -use_memcmp=0 -seed=3 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000 13 14RUN: not LLVMFuzzer-StrcmpTest -seed=4 -runs=200000 2>&1 | FileCheck %s 15RUN: LLVMFuzzer-StrcmpTest -use_memcmp=0 -seed=5 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000 16 17 18RUN: LLVMFuzzer-RepeatedMemcmp -seed=10 -runs=100000 2>&1 | FileCheck %s --check-prefix=RECOMMENDED_DICT 19RECOMMENDED_DICT:###### Recommended dictionary. ###### 20RECOMMENDED_DICT-DAG: "foo" 21RECOMMENDED_DICT-DAG: "bar" 22RECOMMENDED_DICT:###### End of recommended dictionary. ###### 23 24