summaryrefslogtreecommitdiff
path: root/chromium/testing/libfuzzer/proto/lpm_interface.h
blob: 22f2ea11e1f53073efcd172118c7c4974e36352a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Header file that includes libfuzzer_macro.h from libprotobuf-mutator. Useful
// for inclusion in fuzz targets that can't include headers from third_party/.

#ifndef TESTING_LIBFUZZER_PROTO_LPM_INTERFACE_H_
#define TESTING_LIBFUZZER_PROTO_LPM_INTERFACE_H_

#include "third_party/libprotobuf-mutator/src/src/libfuzzer/libfuzzer_macro.h"

// Silence logging from the protobuf library.
protobuf_mutator::protobuf::LogSilencer log_silencer;

#endif  // TESTING_LIBFUZZER_PROTO_LPM_INTERFACE_H_