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