Home
last modified time | relevance | path

Searched refs:MaxMutationLen (Results 1 – 2 of 2) sorted by relevance

/third_party/json/test/thirdparty/Fuzzer/
DFuzzerLoop.cpp196 MaxInputLen = MaxMutationLen = Options.MaxLen; in Fuzzer()
395 this->MaxMutationLen = MaxInputLen; in SetMaxInputLen()
400 void Fuzzer::SetMaxMutationLen(size_t MaxMutationLen) { in SetMaxMutationLen() argument
401 assert(MaxMutationLen && MaxMutationLen <= MaxInputLen); in SetMaxMutationLen()
402 this->MaxMutationLen = MaxMutationLen; in SetMaxMutationLen()
716 assert(MaxMutationLen > 0); in MutateAndTestOne()
722 NewSize = MD.Mutate(CurrentUnitData, Size, MaxMutationLen); in MutateAndTestOne()
724 assert(NewSize <= MaxMutationLen && "Mutator return overisized unit"); in MutateAndTestOne()
775 size_t NewSize = MD.Mutate(CurrentUnitData, U.size(), MaxMutationLen); in MinimizeCrashLoop()
776 assert(NewSize > 0 && NewSize <= MaxMutationLen); in MinimizeCrashLoop()
DFuzzerInternal.h99 void SetMaxMutationLen(size_t MaxMutationLen);
172 size_t MaxMutationLen = 0; variable