25 lines · c
1//==-- handle_llvm.h - Helper function for Clang fuzzers -------------------==//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// Defines HandleLLVM for use by the Clang fuzzers.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_LLVM_HANDLELLVM_H14#define LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_LLVM_HANDLELLVM_H15 16#include <string>17#include <vector>18 19namespace clang_fuzzer {20void HandleLLVM(const std::string &S,21 const std::vector<const char *> &ExtraArgs);22} // namespace clang_fuzzer23 24#endif25