0744d3c5a1
Summary: Replace FuzzerExtFunctionsDlsymWin.cpp with FuzzerExtFunctionsWeakAlias.cpp to get externally defined functions (eg: LLVMFuzzerInitialize, LLVMFuzzerCustomMutator, etc) working again. Also enable tests that depended on these functions (on windows) Reviewers: rnk, morehouse Reviewed By: rnk, morehouse Subscribers: rnk, morehouse, mgorny Differential Revision: https://reviews.llvm.org/D51700 llvm-svn: 342698
13 lines
494 B
Plaintext
13 lines
494 B
Plaintext
RUN: %cpp_compiler %S/CustomCrossOverTest.cpp -o %t-CustomCrossOverTest
|
|
|
|
RUN: not %run %t-CustomCrossOverTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=CHECK_CO
|
|
Disable cross_over, verify that we can't find the target w/o it.
|
|
RUN: %run %t-CustomCrossOverTest -seed=1 -runs=1000000 -cross_over=0 2>&1 | FileCheck %s --check-prefix=CHECK_NO_CO
|
|
|
|
CHECK_CO: In LLVMFuzzerCustomCrossover
|
|
CHECK_CO: BINGO
|
|
|
|
CHECK_NO_CO-NO: LLVMFuzzerCustomCrossover
|
|
CHECK_NO_CO: DONE
|
|
|