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

Method ReportNewCoverage

fuzz/libfuzzer/FuzzerLoop.cpp:690–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690void Fuzzer::ReportNewCoverage(InputInfo *II, const Unit &U) {
691 II->NumSuccessfullMutations++;
692 MD.RecordSuccessfulMutationSequence();
693 PrintStatusForNewUnit(U, II->Reduced ? "REDUCE" : "NEW ");
694 WriteToOutputCorpus(U);
695 NumberOfNewUnitsAdded++;
696 CheckExitOnSrcPosOrItem(); // Check only after the unit is saved to corpus.
697 LastCorpusUpdateRun = TotalNumberOfRuns;
698}
699
700// Tries detecting a memory leak on the particular input that we have just
701// executed before calling this function.

Callers

nothing calls this directly

Tested by

no test coverage detected