Home
last modified time | relevance | path

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

/third_party/json/test/thirdparty/Fuzzer/
DFuzzerLoop.cpp205 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()
[all …]
DFuzzerInternal.h147 uint8_t *CurrentUnitData = nullptr; variable