Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / tools / fuzzing / libfuzzer / FuzzerFork.h
blob1352171ad49df0943fcc5b91ae87d6624d0d80da
1 //===- FuzzerFork.h - run fuzzing in sub-processes --------------*- C++ -* ===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_FUZZER_FORK_H
10 #define LLVM_FUZZER_FORK_H
12 #include "FuzzerDefs.h"
13 #include "FuzzerOptions.h"
14 #include "FuzzerRandom.h"
16 #include <string>
18 namespace fuzzer {
19 int FuzzWithFork(Random &Rand, const FuzzingOptions &Options,
20 const Vector<std::string> &Args,
21 const Vector<std::string> &CorpusDirs, int NumJobs);
22 } // namespace fuzzer
24 #endif // LLVM_FUZZER_FORK_H