brintos

brintos / llvm-project-archived public Read only

0
0
Text · 788 B · fc3e9d6 Raw
25 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_FUZZER_FORK_H10#define LLVM_FUZZER_FORK_H11 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 std::vector<std::string> &Args,21                  const std::vector<std::string> &CorpusDirs, int NumJobs);22} // namespace fuzzer23 24#endif // LLVM_FUZZER_FORK_H25