Lines Matching refs:CurrentUnitData
159 if (CurrentUnitData || Options.MaxLen == 0) return; in LazyAllocateCurrentUnitData()
160 CurrentUnitData = new uint8_t[Options.MaxLen]; in LazyAllocateCurrentUnitData()
174 if (!CurrentUnitData) return; // Happens when running individual inputs. in DumpCurrentUnit()
177 PrintHexArray(CurrentUnitData, UnitSize, "\n"); in DumpCurrentUnit()
178 PrintASCII(CurrentUnitData, UnitSize, "\n"); in DumpCurrentUnit()
180 WriteUnitToFileWithPrefix({CurrentUnitData, CurrentUnitData + UnitSize}, in DumpCurrentUnit()
453 *Data = CurrentUnitData; in GetCurrentUnitInFuzzingThead()
465 if (CurrentUnitData && CurrentUnitData != Data) in ExecuteCallback()
466 memcpy(CurrentUnitData, Data, Size); in ExecuteCallback()
646 assert(CurrentUnitData); in MutateAndTestOne()
649 memcpy(CurrentUnitData, U.data(), Size); in MutateAndTestOne()
653 NewSize = MD.Mutate(CurrentUnitData, Size, Options.MaxLen); in MutateAndTestOne()
660 RunOneAndUpdateCorpus(CurrentUnitData, Size); in MutateAndTestOne()
662 TryDetectingAMemoryLeak(CurrentUnitData, Size, in MutateAndTestOne()