Lines Matching refs:CurrentUnitData
205 if (CurrentUnitData || MaxInputLen == 0) return; in AllocateCurrentUnitData()
206 CurrentUnitData = new uint8_t[MaxInputLen]; in AllocateCurrentUnitData()
236 if (!CurrentUnitData) return; // Happens when running individual inputs. in DumpCurrentUnit()
241 PrintHexArray(CurrentUnitData, UnitSize, "\n"); in DumpCurrentUnit()
242 PrintASCII(CurrentUnitData, UnitSize, "\n"); in DumpCurrentUnit()
244 WriteUnitToFileWithPrefix({CurrentUnitData, CurrentUnitData + UnitSize}, in DumpCurrentUnit()
523 *Data = CurrentUnitData; in GetCurrentUnitInFuzzingThead()
533 if (CurrentUnitData && CurrentUnitData != Data) in ExecuteCallback()
534 memcpy(CurrentUnitData, Data, Size); in ExecuteCallback()
711 assert(CurrentUnitData); in MutateAndTestOne()
714 memcpy(CurrentUnitData, U.data(), Size); in MutateAndTestOne()
722 NewSize = MD.Mutate(CurrentUnitData, Size, MaxMutationLen); in MutateAndTestOne()
729 if (size_t NumFeatures = RunOne(CurrentUnitData, Size)) { in MutateAndTestOne()
730 Corpus.AddToCorpus({CurrentUnitData, CurrentUnitData + Size}, NumFeatures, in MutateAndTestOne()
732 ReportNewCoverage(&II, {CurrentUnitData, CurrentUnitData + Size}); in MutateAndTestOne()
736 TryDetectingAMemoryLeak(CurrentUnitData, Size, in MutateAndTestOne()
773 memcpy(CurrentUnitData, U.data(), U.size()); in MinimizeCrashLoop()
775 size_t NewSize = MD.Mutate(CurrentUnitData, U.size(), MaxMutationLen); in MinimizeCrashLoop()
777 RunOne(CurrentUnitData, NewSize); in MinimizeCrashLoop()
778 TryDetectingAMemoryLeak(CurrentUnitData, NewSize, in MinimizeCrashLoop()