blob: b29a43e13fbc5d99d14e9f60d51a1e861f808ebe [file] [log] [blame]
kcc2e6ca5c2019-02-12 22:48:55 +00001//===- 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//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_FUZZER_FORK_H
10#define LLVM_FUZZER_FORK_H
11
12#include "FuzzerDefs.h"
13#include "FuzzerOptions.h"
14#include "FuzzerRandom.h"
15
16#include <string>
17
18namespace fuzzer {
19void FuzzWithFork(Random &Rand, const FuzzingOptions &Options,
20 const Vector<std::string> &Args,
kcc6526f1d2019-02-14 00:25:43 +000021 const Vector<std::string> &CorpusDirs, int NumJobs);
kcc2e6ca5c2019-02-12 22:48:55 +000022} // namespace fuzzer
23
24#endif // LLVM_FUZZER_FORK_H