llvm.org GIT mirror llvm / 7028478
[libFuzzer] try to use less RAM while processing the initial corpus git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310881 91177308-0d34-0410-b5e6-96231b3b80d8 Kostya Serebryany 2 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
387387 uint8_t dummy;
388388 ExecuteCallback(&dummy, 0);
389389
390 for (const auto &U : *InitialCorpus) {
390 for (auto &U : *InitialCorpus) {
391391 RunOne(U.data(), U.size());
392392 CheckExitOnSrcPosOrItem();
393393 TryDetectingAMemoryLeak(U.data(), U.size(),
394394 /*DuringInitialCorpusExecution*/ true);
395 U.clear();
395396 }
396397 PrintStats("INITED");
397398 if (Corpus.empty()) {