llvm-capstone/compiler-rt/test/fuzzer/cross_over_uniform_dist.test
Matt Morehouse f3c2e0bcee [libFuzzer] Enable entropic by default.
Entropic has performed at least on par with vanilla scheduling on
Clusterfuzz, and has shown a slight coverage improvement on FuzzBench:
https://www.fuzzbench.com/reports/2020-08-31/index.html

Reviewed By: Dor1s

Differential Revision: https://reviews.llvm.org/D87476
2020-09-16 10:44:34 -07:00

17 lines
574 B
Plaintext

REQUIRES: linux, x86_64
RUN: %cpp_compiler %S/KeepSeedTest.cpp -o %t-CrossOverUniformDistTest
RUN: rm -rf %t-corpus
RUN: mkdir %t-corpus
RUN: echo -n "@SELECT" > %t-corpus/A
RUN: echo -n "@FROM WHERE" > %t-corpus/B
RUN: not %run %t-CrossOverUniformDistTest -keep_seed=1 -cross_over_uniform_dist=1 -seed=1 -runs=5000000 %t-corpus 2>&1 | FileCheck %s
CHECK: BINGO
RUN: rm -rf %t-corpus
RUN: mkdir %t-corpus
RUN: echo -n "@SELECT" > %t-corpus/A
RUN: echo -n "@FROM WHERE" > %t-corpus/B
RUN: %run %t-CrossOverUniformDistTest -keep_seed=1 -seed=1 -runs=5000000 %t-corpus 2>&1