mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 14:00:04 +00:00
[C++] Add ParseJson(), Parser(Parser&&), update fuzzers (#6284)
- add a new method ParseJson to minimize failures during fuzzing - add default (conditional) move-constructor for Parser - add a new monster_fuzzer - switch fuzzers to C++17 and `test/cpp17` generated code
This commit is contained in:
60
tests/fuzzer/monster_json.dict
Normal file
60
tests/fuzzer/monster_json.dict
Normal file
@@ -0,0 +1,60 @@
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
"\""
|
||||
"'"
|
||||
"\\"
|
||||
"//"
|
||||
":"
|
||||
","
|
||||
" "
|
||||
"\\n"
|
||||
"\\r"
|
||||
"/*"
|
||||
"*/"
|
||||
"true"
|
||||
"false"
|
||||
"null"
|
||||
"\\u"
|
||||
"\\b"
|
||||
"\\f"
|
||||
"\\t"
|
||||
"."
|
||||
"e"
|
||||
"e+"
|
||||
"e-"
|
||||
"E"
|
||||
"E+"
|
||||
"E-"
|
||||
"0x"
|
||||
"p"
|
||||
"a"
|
||||
"b"
|
||||
"Monster"
|
||||
"pos"
|
||||
"hp"
|
||||
"name"
|
||||
"weapons"
|
||||
"damage"
|
||||
"equipped_type"
|
||||
"equipped"
|
||||
"inventory"
|
||||
"vector_of_longs"
|
||||
"vector_of_doubles"
|
||||
"test_type"
|
||||
"test"
|
||||
"test1"
|
||||
"test2"
|
||||
"test4"
|
||||
"test3"
|
||||
"test5"
|
||||
"enemy"
|
||||
"Weapon"
|
||||
"Green"
|
||||
"Red"
|
||||
"Blue"
|
||||
"testarrayofstring"
|
||||
"testarrayofbools"
|
||||
"testbool"
|
||||
"flex"
|
||||
Reference in New Issue
Block a user