mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 07:10:13 +01:00
This is a workaround for #1208, allowing to remove manual tag to allow building and testing fuzzer code during precommits and in bazel test ... Tested: bazel test -k ... bazel build -c opt executable_semantics/fuzzing:executable_semantics_fuzzer bazel-bin/executable_semantics/fuzzing/executable_semantics_fuzzer
12 lines
432 B
C++
12 lines
432 B
C++
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#include <libprotobuf_mutator/src/libfuzzer/libfuzzer_macro.h>
|
|
|
|
#include "executable_semantics/fuzzing/fuzzer_util.h"
|
|
|
|
DEFINE_TEXT_PROTO_FUZZER(const Carbon::Fuzzing::Carbon& input) {
|
|
Carbon::ParseAndExecute(input.compilation_unit());
|
|
}
|