mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 17:58:52 +00:00
Add simple libfuzzer based test.
This tests the verifier and the parser. Tested: on Linux. Bug: 27230459 Change-Id: I3417faba9385dc941199c57a08d8a50c2faec1aa
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
#include "third_party/flatbuffers/tests/monster_test_generated.h"
|
||||
#include "monster_test_generated.h"
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
flatbuffers::Verifier verifier(data, size);
|
||||
|
||||
Reference in New Issue
Block a user