blob: cb32a85f258660a0b80c49647d0389af74eed99e [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001// Copyright 2015 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4#include <stddef.h>
5#include <stdint.h>
6#include <string>
7
Austin Schuh58b9b472020-11-25 19:12:44 -08008#include "cpp17/generated_cpp17/monster_test_generated.h"
Austin Schuhe89fa2d2019-08-14 20:24:23 -07009
10extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
11 flatbuffers::Verifier verifier(data, size);
12 MyGame::Example::VerifyMonsterBuffer(verifier);
13 return 0;
14}