Lines Matching refs:MaxLen
159 if (CurrentUnitData || Options.MaxLen == 0) return; in LazyAllocateCurrentUnitData()
160 CurrentUnitData = new uint8_t[Options.MaxLen]; in LazyAllocateCurrentUnitData()
309 void Fuzzer::SetMaxLen(size_t MaxLen) { in SetMaxLen() argument
310 assert(Options.MaxLen == 0); // Can only reset MaxLen from 0 to non-0. in SetMaxLen()
311 assert(MaxLen); in SetMaxLen()
312 Options.MaxLen = MaxLen; in SetMaxLen()
313 Printf("INFO: -max_len is not provided, using %zd\n", Options.MaxLen); in SetMaxLen()
584 assert(Options.MaxLen > 0); in Merge()
586 ReadDirToVectorOfUnits(Corpora[0].c_str(), &Initial, nullptr, Options.MaxLen); in Merge()
588 ReadDirToVectorOfUnits(C.c_str(), &Extra, nullptr, Options.MaxLen); in Merge()
648 assert(Size <= Options.MaxLen && "Oversized Unit"); in MutateAndTestOne()
653 NewSize = MD.Mutate(CurrentUnitData, Size, Options.MaxLen); in MutateAndTestOne()
655 assert(NewSize <= Options.MaxLen && in MutateAndTestOne()
738 RereadOutputCorpus(Options.MaxLen); in Loop()