mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 13:06:09 +00:00

Summary: - Similar to that of `clang-fuzzer` itself but instead only targets Objective-C source files via cc1 - Also adds an example corpus directory containing some input for Objective-C Subscribers: mgorny, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D69171 llvm-svn: 375453
26 lines
863 B
C++
26 lines
863 B
C++
//==-- handle_cxx.h - Helper function for Clang fuzzers --------------------==//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Defines HandleCXX for use by the Clang fuzzers.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H
|
|
#define LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace clang_fuzzer {
|
|
void HandleCXX(const std::string &S,
|
|
const char *FileName,
|
|
const std::vector<const char *> &ExtraArgs);
|
|
} // namespace clang_fuzzer
|
|
|
|
#endif
|