MCPcopy Create free account
hub / github.com/HexHive/NASS / GetCurrentUnitInFuzzingThead

Method GetCurrentUnitInFuzzingThead

fuzz/libfuzzer/FuzzerLoop.cpp:577–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575void Fuzzer::TPCUpdateObservedPCs() { TPC.UpdateObservedPCs(); }
576
577size_t Fuzzer::GetCurrentUnitInFuzzingThead(const uint8_t **Data) const {
578 assert(InFuzzingThread());
579 *Data = CurrentUnitData;
580 return CurrentUnitSize;
581}
582
583void Fuzzer::CrashOnOverwrittenData() {
584 Printf("==%d== ERROR: libFuzzer: fuzz target overwrites its const input\n",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected