MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/clusterfuzz/js_fuzzer/corpus.js:205–218  ·  view source on GitHub ↗
(inputDir, corpusName, extraStrict=false, v8Corpus=undefined,
              forDiffFuzz=false)

Source from the content-addressed store, hash-verified

203
204class FuzzilliCorpus extends Corpus {
205 constructor(inputDir, corpusName, extraStrict=false, v8Corpus=undefined,
206 forDiffFuzz=false) {
207 // This loads only the corpora optimized for differential fuzzing.
208 super(inputDir, 'fuzzilli', extraStrict);
209 this.flagMap = new Map();
210
211 // We require a V8 corpus side-by-side to cross-load resources.
212 this.v8Corpus = v8Corpus;
213 if (!this.v8Corpus) {
214 this.v8Corpus = create(inputDir, 'v8');
215 }
216 assert(this.v8Corpus);
217 this.forDiffFuzz = forDiffFuzz;
218 }
219
220 isDirectorySkipped(relPath) {
221 const pathComponents = relPath.split(path.sep);

Callers

nothing calls this directly

Calls 2

createFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected