1//==-- proto_to_cxx.h - Protobuf-C++ conversion ----------------------------==// 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// Defines functions for converting between protobufs and C++. 10// 11//===----------------------------------------------------------------------===// 12 13#include <cstdint> 14#include <cstddef> 15#include <string> 16 17namespace clang_fuzzer { 18class Function; 19class LoopFunction; 20 21std::string FunctionToString(const Function &input); 22std::string ProtoToCxx(const uint8_t *data, size_t size); 23std::string LoopFunctionToString(const LoopFunction &input); 24std::string LoopProtoToCxx(const uint8_t *data, size_t size); 25} 26