explorer_fuzzer.cpp 420 B

1234567891011
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #include <libprotobuf_mutator/src/libfuzzer/libfuzzer_macro.h>
  5. #include "explorer/fuzzing/fuzzer_util.h"
  6. DEFINE_TEXT_PROTO_FUZZER(const Carbon::Fuzzing::Carbon& input) {
  7. Carbon::ParseAndExecute(input.compilation_unit());
  8. }