Home
last modified time | relevance | path

Searched refs:Entropic (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerCorpus.h162 EntropicOptions Entropic; variable
165 InputCorpus(const std::string &OutputCorpus, EntropicOptions Entropic) in InputCorpus() argument
166 : Entropic(Entropic), OutputCorpus(OutputCorpus) { in InputCorpus()
367 while (RareFeatures.size() > Entropic.NumberOfRarestFeatures && in AddRareFeature()
368 FreqOfMostAbundantRareFeature > Entropic.FeatureFrequencyThreshold) { in AddRareFeature()
429 if (Entropic.Enabled) in AddFeature()
500 (!Entropic.Enabled || Rand(kSparseEnergyUpdates))) in UpdateCorpusDistribution()
518 if (Entropic.Enabled) { in UpdateCorpusDistribution()
522 II->UpdateEnergy(RareFeatures.size(), Entropic.ScalePerExecTime, in UpdateCorpusDistribution()
DFuzzerDriver.cpp773 Options.Entropic = Flags.entropic; in FuzzerDriver()
780 Options.Entropic = false; // FocusFunction overrides entropic scheduling. in FuzzerDriver()
781 if (Options.Entropic) in FuzzerDriver()
785 struct EntropicOptions Entropic; in FuzzerDriver() local
786 Entropic.Enabled = Options.Entropic; in FuzzerDriver()
787 Entropic.FeatureFrequencyThreshold = in FuzzerDriver()
789 Entropic.NumberOfRarestFeatures = Options.EntropicNumberOfRarestFeatures; in FuzzerDriver()
790 Entropic.ScalePerExecTime = Options.EntropicScalePerExecTime; in FuzzerDriver()
812 auto *Corpus = new InputCorpus(Options.OutputCorpus, Entropic); in FuzzerDriver()
DFuzzerOptions.h49 bool Entropic = true; member
DFuzzerFlags.def198 "the Entropic power schedule gets scaled based on the input execution "
DFuzzerLoop.cpp523 if (Options.Entropic) in RunOne()
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/
DFuzzerUnittest.cpp633 struct EntropicOptions Entropic = {false, 0xFF, 100, false}; in TEST() local
634 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic)); in TEST()
657 struct EntropicOptions Entropic = {false, 0xFF, 100, false}; in TEST() local
659 new InputCorpus(/*OutputCorpus*/ "", Entropic)); in TEST()
1364 TEST(Entropic, UpdateFrequency) { in TEST() argument
1369 struct EntropicOptions Entropic = {true, 0xFF, 100, false}; in TEST() local
1370 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic)); in TEST()
1404 TEST(Entropic, ComputeEnergy) { in TEST() argument
1406 struct EntropicOptions Entropic = {true, 0xFF, 100, false}; in TEST() local
1407 std::unique_ptr<InputCorpus> C(new InputCorpus("", Entropic)); in TEST()
/external/rust/crates/libfuzzer-sys/
DCHANGELOG.md164 Notably, this pulls in [the new Entropic engine for
166 boost fuzzing efficiency when enabled. You can enable Entropic by passing