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 | |
17 | namespace clang_fuzzer { |
18 | class Function; |
19 | class LoopFunction; |
20 | |
21 | std::string FunctionToString(const Function &input); |
22 | std::string ProtoToCxx(const uint8_t *data, size_t size); |
23 | std::string LoopFunctionToString(const LoopFunction &input); |
24 | std::string LoopProtoToCxx(const uint8_t *data, size_t size); |
25 | } |
26 | |