Searched refs:Entropic (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerOptions.h49 bool Entropic = true; member in struct:fuzzer::FuzzingOptions
H A DFuzzerCorpus.h162 EntropicOptions Entropic; member in class:fuzzer::InputCorpus
165 InputCorpus(const std::string &OutputCorpus, EntropicOptions Entropic) argument
166 : Entropic(Entropic), OutputCorpus(OutputCorpus) {
367 while (RareFeatures.size() > Entropic.NumberOfRarestFeatures &&
368 FreqOfMostAbundantRareFeature > Entropic.FeatureFrequencyThreshold) {
429 if (Entropic.Enabled)
500 (!Entropic.Enabled || Rand(kSparseEnergyUpdates)))
518 if (Entropic.Enabled) {
522 II->UpdateEnergy(RareFeatures.size(), Entropic
[all...]
H A DFuzzerDriver.cpp773 Options.Entropic = Flags.entropic;
780 Options.Entropic = false; // FocusFunction overrides entropic scheduling.
781 if (Options.Entropic)
785 struct EntropicOptions Entropic; local
786 Entropic.Enabled = Options.Entropic;
787 Entropic.FeatureFrequencyThreshold =
789 Entropic.NumberOfRarestFeatures = Options.EntropicNumberOfRarestFeatures;
790 Entropic.ScalePerExecTime = Options.EntropicScalePerExecTime;
812 auto *Corpus = new InputCorpus(Options.OutputCorpus, Entropic);
[all...]
H A DFuzzerLoop.cpp528 if (Options.Entropic)
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/tests/
H A DFuzzerUnittest.cpp633 struct EntropicOptions Entropic = {false, 0xFF, 100, false}; local
634 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic));
657 struct EntropicOptions Entropic = {false, 0xFF, 100, false}; local
659 new InputCorpus(/*OutputCorpus*/ "", Entropic));
1364 TEST(Entropic, UpdateFrequency) {
1369 struct EntropicOptions Entropic = {true, 0xFF, 100, false}; local
1370 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic));
1404 TEST(Entropic, ComputeEnergy) {
1406 struct EntropicOptions Entropic = {true, 0xFF, 100, false}; local
1407 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic));
[all...]

Completed in 182 milliseconds