mirror of
https://github.com/apple/swift-protobuf.git
synced 2026-06-16 10:24:34 +00:00
370 lines
8.2 KiB
Plaintext
370 lines
8.2 KiB
Plaintext
# To generate the descriptor set.
|
|
# ../protobuf/bazel-bin/protoc -o ~/fuzz.bin -I Protos -I Protos/Sources/SwiftProtobuf \
|
|
# Tests/SwiftProtobufTests/fuzz_testing.proto
|
|
|
|
# Collect the json_names and make them keys:
|
|
# cat ~/fuzz.bin \
|
|
# | ../protobuf/bazel-bin/protoc \
|
|
# --decode=google.protobuf.FileDescriptorSet \
|
|
# -I ../protobuf/src \
|
|
# ../protobuf/src/google/protobuf/descriptor.proto \
|
|
# | sed -n -E 's/ *json_name: "(.*)"/"\\"\1\\":"/p' \
|
|
# | sort -u
|
|
"\"anInt32\":"
|
|
"\"aString\":"
|
|
"\"groupField\":"
|
|
"\"key\":"
|
|
"\"mapBoolAnEnum\":"
|
|
"\"mapBoolBool\":"
|
|
"\"mapBoolBytes\":"
|
|
"\"mapBoolDouble\":"
|
|
"\"mapBoolFixed32\":"
|
|
"\"mapBoolFixed64\":"
|
|
"\"mapBoolFloat\":"
|
|
"\"mapBoolInt32\":"
|
|
"\"mapBoolInt64\":"
|
|
"\"mapBoolMessage\":"
|
|
"\"mapBoolSfixed32\":"
|
|
"\"mapBoolSfixed64\":"
|
|
"\"mapBoolSint32\":"
|
|
"\"mapBoolSint64\":"
|
|
"\"mapBoolString\":"
|
|
"\"mapBoolUint32\":"
|
|
"\"mapBoolUint64\":"
|
|
"\"mapFixed32AnEnum\":"
|
|
"\"mapFixed32Bool\":"
|
|
"\"mapFixed32Bytes\":"
|
|
"\"mapFixed32Double\":"
|
|
"\"mapFixed32Fixed32\":"
|
|
"\"mapFixed32Fixed64\":"
|
|
"\"mapFixed32Float\":"
|
|
"\"mapFixed32Int32\":"
|
|
"\"mapFixed32Int64\":"
|
|
"\"mapFixed32Message\":"
|
|
"\"mapFixed32Sfixed32\":"
|
|
"\"mapFixed32Sfixed64\":"
|
|
"\"mapFixed32Sint32\":"
|
|
"\"mapFixed32Sint64\":"
|
|
"\"mapFixed32String\":"
|
|
"\"mapFixed32Uint32\":"
|
|
"\"mapFixed32Uint64\":"
|
|
"\"mapFixed64AnEnum\":"
|
|
"\"mapFixed64Bool\":"
|
|
"\"mapFixed64Bytes\":"
|
|
"\"mapFixed64Double\":"
|
|
"\"mapFixed64Fixed32\":"
|
|
"\"mapFixed64Fixed64\":"
|
|
"\"mapFixed64Float\":"
|
|
"\"mapFixed64Int32\":"
|
|
"\"mapFixed64Int64\":"
|
|
"\"mapFixed64Message\":"
|
|
"\"mapFixed64Sfixed32\":"
|
|
"\"mapFixed64Sfixed64\":"
|
|
"\"mapFixed64Sint32\":"
|
|
"\"mapFixed64Sint64\":"
|
|
"\"mapFixed64String\":"
|
|
"\"mapFixed64Uint32\":"
|
|
"\"mapFixed64Uint64\":"
|
|
"\"mapInt32AnEnum\":"
|
|
"\"mapInt32Bool\":"
|
|
"\"mapInt32Bytes\":"
|
|
"\"mapInt32Double\":"
|
|
"\"mapInt32Fixed32\":"
|
|
"\"mapInt32Fixed64\":"
|
|
"\"mapInt32Float\":"
|
|
"\"mapInt32Int32\":"
|
|
"\"mapInt32Int64\":"
|
|
"\"mapInt32Message\":"
|
|
"\"mapInt32Sfixed32\":"
|
|
"\"mapInt32Sfixed64\":"
|
|
"\"mapInt32Sint32\":"
|
|
"\"mapInt32Sint64\":"
|
|
"\"mapInt32String\":"
|
|
"\"mapInt32Uint32\":"
|
|
"\"mapInt32Uint64\":"
|
|
"\"mapInt64AnEnum\":"
|
|
"\"mapInt64Bool\":"
|
|
"\"mapInt64Bytes\":"
|
|
"\"mapInt64Double\":"
|
|
"\"mapInt64Fixed32\":"
|
|
"\"mapInt64Fixed64\":"
|
|
"\"mapInt64Float\":"
|
|
"\"mapInt64Int32\":"
|
|
"\"mapInt64Int64\":"
|
|
"\"mapInt64Message\":"
|
|
"\"mapInt64Sfixed32\":"
|
|
"\"mapInt64Sfixed64\":"
|
|
"\"mapInt64Sint32\":"
|
|
"\"mapInt64Sint64\":"
|
|
"\"mapInt64String\":"
|
|
"\"mapInt64Uint32\":"
|
|
"\"mapInt64Uint64\":"
|
|
"\"mapSfixed32AnEnum\":"
|
|
"\"mapSfixed32Bool\":"
|
|
"\"mapSfixed32Bytes\":"
|
|
"\"mapSfixed32Double\":"
|
|
"\"mapSfixed32Fixed32\":"
|
|
"\"mapSfixed32Fixed64\":"
|
|
"\"mapSfixed32Float\":"
|
|
"\"mapSfixed32Int32\":"
|
|
"\"mapSfixed32Int64\":"
|
|
"\"mapSfixed32Message\":"
|
|
"\"mapSfixed32Sfixed32\":"
|
|
"\"mapSfixed32Sfixed64\":"
|
|
"\"mapSfixed32Sint32\":"
|
|
"\"mapSfixed32Sint64\":"
|
|
"\"mapSfixed32String\":"
|
|
"\"mapSfixed32Uint32\":"
|
|
"\"mapSfixed32Uint64\":"
|
|
"\"mapSfixed64AnEnum\":"
|
|
"\"mapSfixed64Bool\":"
|
|
"\"mapSfixed64Bytes\":"
|
|
"\"mapSfixed64Double\":"
|
|
"\"mapSfixed64Fixed32\":"
|
|
"\"mapSfixed64Fixed64\":"
|
|
"\"mapSfixed64Float\":"
|
|
"\"mapSfixed64Int32\":"
|
|
"\"mapSfixed64Int64\":"
|
|
"\"mapSfixed64Message\":"
|
|
"\"mapSfixed64Sfixed32\":"
|
|
"\"mapSfixed64Sfixed64\":"
|
|
"\"mapSfixed64Sint32\":"
|
|
"\"mapSfixed64Sint64\":"
|
|
"\"mapSfixed64String\":"
|
|
"\"mapSfixed64Uint32\":"
|
|
"\"mapSfixed64Uint64\":"
|
|
"\"mapSint32AnEnum\":"
|
|
"\"mapSint32Bool\":"
|
|
"\"mapSint32Bytes\":"
|
|
"\"mapSint32Double\":"
|
|
"\"mapSint32Fixed32\":"
|
|
"\"mapSint32Fixed64\":"
|
|
"\"mapSint32Float\":"
|
|
"\"mapSint32Int32\":"
|
|
"\"mapSint32Int64\":"
|
|
"\"mapSint32Message\":"
|
|
"\"mapSint32Sfixed32\":"
|
|
"\"mapSint32Sfixed64\":"
|
|
"\"mapSint32Sint32\":"
|
|
"\"mapSint32Sint64\":"
|
|
"\"mapSint32String\":"
|
|
"\"mapSint32Uint32\":"
|
|
"\"mapSint32Uint64\":"
|
|
"\"mapSint64AnEnum\":"
|
|
"\"mapSint64Bool\":"
|
|
"\"mapSint64Bytes\":"
|
|
"\"mapSint64Double\":"
|
|
"\"mapSint64Fixed32\":"
|
|
"\"mapSint64Fixed64\":"
|
|
"\"mapSint64Float\":"
|
|
"\"mapSint64Int32\":"
|
|
"\"mapSint64Int64\":"
|
|
"\"mapSint64Message\":"
|
|
"\"mapSint64Sfixed32\":"
|
|
"\"mapSint64Sfixed64\":"
|
|
"\"mapSint64Sint32\":"
|
|
"\"mapSint64Sint64\":"
|
|
"\"mapSint64String\":"
|
|
"\"mapSint64Uint32\":"
|
|
"\"mapSint64Uint64\":"
|
|
"\"mapUint32AnEnum\":"
|
|
"\"mapUint32Bool\":"
|
|
"\"mapUint32Bytes\":"
|
|
"\"mapUint32Double\":"
|
|
"\"mapUint32Fixed32\":"
|
|
"\"mapUint32Fixed64\":"
|
|
"\"mapUint32Float\":"
|
|
"\"mapUint32Int32\":"
|
|
"\"mapUint32Int64\":"
|
|
"\"mapUint32Message\":"
|
|
"\"mapUint32Sfixed32\":"
|
|
"\"mapUint32Sfixed64\":"
|
|
"\"mapUint32Sint32\":"
|
|
"\"mapUint32Sint64\":"
|
|
"\"mapUint32String\":"
|
|
"\"mapUint32Uint32\":"
|
|
"\"mapUint32Uint64\":"
|
|
"\"mapUint64AnEnum\":"
|
|
"\"mapUint64Bool\":"
|
|
"\"mapUint64Bytes\":"
|
|
"\"mapUint64Double\":"
|
|
"\"mapUint64Fixed32\":"
|
|
"\"mapUint64Fixed64\":"
|
|
"\"mapUint64Float\":"
|
|
"\"mapUint64Int32\":"
|
|
"\"mapUint64Int64\":"
|
|
"\"mapUint64Message\":"
|
|
"\"mapUint64Sfixed32\":"
|
|
"\"mapUint64Sfixed64\":"
|
|
"\"mapUint64Sint32\":"
|
|
"\"mapUint64Sint64\":"
|
|
"\"mapUint64String\":"
|
|
"\"mapUint64Uint32\":"
|
|
"\"mapUint64Uint64\":"
|
|
"\"messageSetExtension\":"
|
|
"\"oneofBool\":"
|
|
"\"oneofBytes\":"
|
|
"\"oneofDouble\":"
|
|
"\"oneofEnum\":"
|
|
"\"oneofFixed32\":"
|
|
"\"oneofFixed64\":"
|
|
"\"oneofFloat\":"
|
|
"\"oneofgroup\":"
|
|
"\"oneofInt32\":"
|
|
"\"oneofInt64\":"
|
|
"\"oneofMessage\":"
|
|
"\"oneofSfixed32\":"
|
|
"\"oneofSfixed64\":"
|
|
"\"oneofSint32\":"
|
|
"\"oneofSint64\":"
|
|
"\"oneofString\":"
|
|
"\"oneofUint32\":"
|
|
"\"oneofUint64\":"
|
|
"\"repeatedBool\":"
|
|
"\"repeatedBoolExt\":"
|
|
"\"repeatedBytes\":"
|
|
"\"repeatedBytesExt\":"
|
|
"\"repeatedDouble\":"
|
|
"\"repeatedDoubleExt\":"
|
|
"\"repeatedEnum\":"
|
|
"\"repeatedEnumExt\":"
|
|
"\"repeatedFixed32\":"
|
|
"\"repeatedFixed32Ext\":"
|
|
"\"repeatedFixed64\":"
|
|
"\"repeatedFixed64Ext\":"
|
|
"\"repeatedFloat\":"
|
|
"\"repeatedFloatExt\":"
|
|
"\"repeatedgroup\":"
|
|
"\"repeatedgroupExt\":"
|
|
"\"repeatedInt32\":"
|
|
"\"repeatedInt32Ext\":"
|
|
"\"repeatedInt64\":"
|
|
"\"repeatedInt64Ext\":"
|
|
"\"repeatedMessage\":"
|
|
"\"repeatedMessageExt\":"
|
|
"\"repeatedMessageSet\":"
|
|
"\"repeatedPackedBool\":"
|
|
"\"repeatedPackedBoolExt\":"
|
|
"\"repeatedPackedDouble\":"
|
|
"\"repeatedPackedDoubleExt\":"
|
|
"\"repeatedPackedEnum\":"
|
|
"\"repeatedPackedEnumExt\":"
|
|
"\"repeatedPackedFixed32\":"
|
|
"\"repeatedPackedFixed32Ext\":"
|
|
"\"repeatedPackedFixed64\":"
|
|
"\"repeatedPackedFixed64Ext\":"
|
|
"\"repeatedPackedFloat\":"
|
|
"\"repeatedPackedFloatExt\":"
|
|
"\"repeatedPackedInt32\":"
|
|
"\"repeatedPackedInt32Ext\":"
|
|
"\"repeatedPackedInt64\":"
|
|
"\"repeatedPackedInt64Ext\":"
|
|
"\"repeatedPackedSfixed32\":"
|
|
"\"repeatedPackedSfixed32Ext\":"
|
|
"\"repeatedPackedSfixed64\":"
|
|
"\"repeatedPackedSfixed64Ext\":"
|
|
"\"repeatedPackedSint32\":"
|
|
"\"repeatedPackedSint32Ext\":"
|
|
"\"repeatedPackedSint64\":"
|
|
"\"repeatedPackedSint64Ext\":"
|
|
"\"repeatedPackedUint32\":"
|
|
"\"repeatedPackedUint32Ext\":"
|
|
"\"repeatedPackedUint64\":"
|
|
"\"repeatedPackedUint64Ext\":"
|
|
"\"repeatedSfixed32\":"
|
|
"\"repeatedSfixed32Ext\":"
|
|
"\"repeatedSfixed64\":"
|
|
"\"repeatedSfixed64Ext\":"
|
|
"\"repeatedSint32\":"
|
|
"\"repeatedSint32Ext\":"
|
|
"\"repeatedSint64\":"
|
|
"\"repeatedSint64Ext\":"
|
|
"\"repeatedString\":"
|
|
"\"repeatedStringExt\":"
|
|
"\"repeatedUint32\":"
|
|
"\"repeatedUint32Ext\":"
|
|
"\"repeatedUint64\":"
|
|
"\"repeatedUint64Ext\":"
|
|
"\"singularBool\":"
|
|
"\"singularBoolExt\":"
|
|
"\"singularBytes\":"
|
|
"\"singularBytesExt\":"
|
|
"\"singularDouble\":"
|
|
"\"singularDoubleExt\":"
|
|
"\"singularEnum\":"
|
|
"\"singularEnumExt\":"
|
|
"\"singularFixed32\":"
|
|
"\"singularFixed32Ext\":"
|
|
"\"singularFixed64\":"
|
|
"\"singularFixed64Ext\":"
|
|
"\"singularFloat\":"
|
|
"\"singularFloatExt\":"
|
|
"\"singulargroup\":"
|
|
"\"singulargroupExt\":"
|
|
"\"singularInt32\":"
|
|
"\"singularInt32Ext\":"
|
|
"\"singularInt64\":"
|
|
"\"singularInt64Ext\":"
|
|
"\"singularMessage\":"
|
|
"\"singularMessageExt\":"
|
|
"\"singularMessageSet\":"
|
|
"\"singularSfixed32\":"
|
|
"\"singularSfixed32Ext\":"
|
|
"\"singularSfixed64\":"
|
|
"\"singularSfixed64Ext\":"
|
|
"\"singularSint32\":"
|
|
"\"singularSint32Ext\":"
|
|
"\"singularSint64\":"
|
|
"\"singularSint64Ext\":"
|
|
"\"singularString\":"
|
|
"\"singularStringExt\":"
|
|
"\"singularUint32\":"
|
|
"\"singularUint32Ext\":"
|
|
"\"singularUint64\":"
|
|
"\"singularUint64Ext\":"
|
|
"\"value\":"
|
|
"\"wktAny\":"
|
|
"\"wktApi\":"
|
|
"\"wktBoolValue\":"
|
|
"\"wktBytesValue\":"
|
|
"\"wktDoubleValue\":"
|
|
"\"wktDuration\":"
|
|
"\"wktEmpty\":"
|
|
"\"wktFieldMask\":"
|
|
"\"wktFloatValue\":"
|
|
"\"wktInt32Value\":"
|
|
"\"wktInt64Value\":"
|
|
"\"wktSourceContext\":"
|
|
"\"wktStringValue\":"
|
|
"\"wktStruct\":"
|
|
"\"wktTimestamp\":"
|
|
"\"wktType\":"
|
|
"\"wktUint32Value\":"
|
|
"\"wktUint64Value\":"
|
|
|
|
# Some fragments
|
|
"[]"
|
|
"["
|
|
"]"
|
|
"{}"
|
|
"{"
|
|
"}"
|
|
"\""
|
|
"\"\""
|
|
"\"foo\""
|
|
"\\"
|
|
"\\b"
|
|
"\\f"
|
|
"\\n"
|
|
"\\r"
|
|
"\\t"
|
|
"\\/"
|
|
"\\u1234"
|
|
"0"
|
|
"1"
|
|
"1.1"
|
|
","
|
|
"true"
|
|
"false"
|
|
"null"
|