]> granicus.if.org Git - clang/commit
Introducing single for loop into clang_proto_fuzzer
authorVitaly Buka <vitalybuka@google.com>
Thu, 7 Jun 2018 19:17:46 +0000 (19:17 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 7 Jun 2018 19:17:46 +0000 (19:17 +0000)
commit6a02bc74723d0b902caff15ae176e6725922c5f4
tree75415aa3659da362b9ed44e09fbb3c986ad69dc9
parent3b4ec91916b5e5ea297fab01be9ebc3d5dcf32f6
Introducing single for loop into clang_proto_fuzzer

Summary:
Created a new protobuf and protobuf-to-C++ "converter" that wraps the entire C++ code in a single for loop.
  - Slightly changed cxx_proto.proto -> cxx_loop_proto.proto
  - Made some changes to proto_to_cxx files to handle the new kind of protobuf
  - Created ExampleClangLoopProtoFuzzer to test new protobuf and "converter"

Patch by Emmett Neyman

Reviewers: kcc, vitalybuka, morehouse

Reviewed By: vitalybuka, morehouse

Subscribers: mgorny, llvm-commits, cfe-commits

Differential Revision: https://reviews.llvm.org/D47843

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334216 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-fuzzer/CMakeLists.txt
tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp [new file with mode: 0644]
tools/clang-fuzzer/cxx_loop_proto.proto [new file with mode: 0644]
tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp [new file with mode: 0644]
tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp [new file with mode: 0644]
tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h