Path: blob/main/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerFork.h
35262 views
//===- FuzzerFork.h - run fuzzing in sub-processes --------------*- C++ -* ===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_FUZZER_FORK_H9#define LLVM_FUZZER_FORK_H1011#include "FuzzerDefs.h"12#include "FuzzerOptions.h"13#include "FuzzerRandom.h"1415#include <string>1617namespace fuzzer {18void FuzzWithFork(Random &Rand, const FuzzingOptions &Options,19const std::vector<std::string> &Args,20const std::vector<std::string> &CorpusDirs, int NumJobs);21} // namespace fuzzer2223#endif // LLVM_FUZZER_FORK_H242526