FuzzJSON.dict 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. # To generate the descriptor set.
  2. # ../protobuf/bazel-bin/protoc -o ~/fuzz.bin -I Protos -I Protos/upstream \
  3. # SwiftProtobufTests/fuzz_testing.proto
  4. # Collect the json_names and make them keys:
  5. # cat ~/fuzz.bin \
  6. # | ../protobuf/bazel-bin/protoc \
  7. # --decode=google.protobuf.FileDescriptorSet \
  8. # -I ../protobuf/src \
  9. # ../protobuf/src/google/protobuf/descriptor.proto \
  10. # | sed -n -E 's/ *json_name: "(.*)"/"\\"\1\\":"/p' \
  11. # | sort -u
  12. "\"aString\":"
  13. "\"anInt32\":"
  14. "\"groupField\":"
  15. "\"key\":"
  16. "\"mapBoolAnEnum\":"
  17. "\"mapBoolBool\":"
  18. "\"mapBoolBytes\":"
  19. "\"mapBoolDouble\":"
  20. "\"mapBoolFixed32\":"
  21. "\"mapBoolFixed64\":"
  22. "\"mapBoolFloat\":"
  23. "\"mapBoolInt32\":"
  24. "\"mapBoolInt64\":"
  25. "\"mapBoolMessage\":"
  26. "\"mapBoolSfixed32\":"
  27. "\"mapBoolSfixed64\":"
  28. "\"mapBoolSint32\":"
  29. "\"mapBoolSint64\":"
  30. "\"mapBoolString\":"
  31. "\"mapBoolUint32\":"
  32. "\"mapBoolUint64\":"
  33. "\"mapFixed32AnEnum\":"
  34. "\"mapFixed32Bool\":"
  35. "\"mapFixed32Bytes\":"
  36. "\"mapFixed32Double\":"
  37. "\"mapFixed32Fixed32\":"
  38. "\"mapFixed32Fixed64\":"
  39. "\"mapFixed32Float\":"
  40. "\"mapFixed32Int32\":"
  41. "\"mapFixed32Int64\":"
  42. "\"mapFixed32Message\":"
  43. "\"mapFixed32Sfixed32\":"
  44. "\"mapFixed32Sfixed64\":"
  45. "\"mapFixed32Sint32\":"
  46. "\"mapFixed32Sint64\":"
  47. "\"mapFixed32String\":"
  48. "\"mapFixed32Uint32\":"
  49. "\"mapFixed32Uint64\":"
  50. "\"mapFixed64AnEnum\":"
  51. "\"mapFixed64Bool\":"
  52. "\"mapFixed64Bytes\":"
  53. "\"mapFixed64Double\":"
  54. "\"mapFixed64Fixed32\":"
  55. "\"mapFixed64Fixed64\":"
  56. "\"mapFixed64Float\":"
  57. "\"mapFixed64Int32\":"
  58. "\"mapFixed64Int64\":"
  59. "\"mapFixed64Message\":"
  60. "\"mapFixed64Sfixed32\":"
  61. "\"mapFixed64Sfixed64\":"
  62. "\"mapFixed64Sint32\":"
  63. "\"mapFixed64Sint64\":"
  64. "\"mapFixed64String\":"
  65. "\"mapFixed64Uint32\":"
  66. "\"mapFixed64Uint64\":"
  67. "\"mapInt32AnEnum\":"
  68. "\"mapInt32Bool\":"
  69. "\"mapInt32Bytes\":"
  70. "\"mapInt32Double\":"
  71. "\"mapInt32Fixed32\":"
  72. "\"mapInt32Fixed64\":"
  73. "\"mapInt32Float\":"
  74. "\"mapInt32Int32\":"
  75. "\"mapInt32Int64\":"
  76. "\"mapInt32Message\":"
  77. "\"mapInt32Sfixed32\":"
  78. "\"mapInt32Sfixed64\":"
  79. "\"mapInt32Sint32\":"
  80. "\"mapInt32Sint64\":"
  81. "\"mapInt32String\":"
  82. "\"mapInt32Uint32\":"
  83. "\"mapInt32Uint64\":"
  84. "\"mapInt64AnEnum\":"
  85. "\"mapInt64Bool\":"
  86. "\"mapInt64Bytes\":"
  87. "\"mapInt64Double\":"
  88. "\"mapInt64Fixed32\":"
  89. "\"mapInt64Fixed64\":"
  90. "\"mapInt64Float\":"
  91. "\"mapInt64Int32\":"
  92. "\"mapInt64Int64\":"
  93. "\"mapInt64Message\":"
  94. "\"mapInt64Sfixed32\":"
  95. "\"mapInt64Sfixed64\":"
  96. "\"mapInt64Sint32\":"
  97. "\"mapInt64Sint64\":"
  98. "\"mapInt64String\":"
  99. "\"mapInt64Uint32\":"
  100. "\"mapInt64Uint64\":"
  101. "\"mapSfixed32AnEnum\":"
  102. "\"mapSfixed32Bool\":"
  103. "\"mapSfixed32Bytes\":"
  104. "\"mapSfixed32Double\":"
  105. "\"mapSfixed32Fixed32\":"
  106. "\"mapSfixed32Fixed64\":"
  107. "\"mapSfixed32Float\":"
  108. "\"mapSfixed32Int32\":"
  109. "\"mapSfixed32Int64\":"
  110. "\"mapSfixed32Message\":"
  111. "\"mapSfixed32Sfixed32\":"
  112. "\"mapSfixed32Sfixed64\":"
  113. "\"mapSfixed32Sint32\":"
  114. "\"mapSfixed32Sint64\":"
  115. "\"mapSfixed32String\":"
  116. "\"mapSfixed32Uint32\":"
  117. "\"mapSfixed32Uint64\":"
  118. "\"mapSfixed64AnEnum\":"
  119. "\"mapSfixed64Bool\":"
  120. "\"mapSfixed64Bytes\":"
  121. "\"mapSfixed64Double\":"
  122. "\"mapSfixed64Fixed32\":"
  123. "\"mapSfixed64Fixed64\":"
  124. "\"mapSfixed64Float\":"
  125. "\"mapSfixed64Int32\":"
  126. "\"mapSfixed64Int64\":"
  127. "\"mapSfixed64Message\":"
  128. "\"mapSfixed64Sfixed32\":"
  129. "\"mapSfixed64Sfixed64\":"
  130. "\"mapSfixed64Sint32\":"
  131. "\"mapSfixed64Sint64\":"
  132. "\"mapSfixed64String\":"
  133. "\"mapSfixed64Uint32\":"
  134. "\"mapSfixed64Uint64\":"
  135. "\"mapSint32AnEnum\":"
  136. "\"mapSint32Bool\":"
  137. "\"mapSint32Bytes\":"
  138. "\"mapSint32Double\":"
  139. "\"mapSint32Fixed32\":"
  140. "\"mapSint32Fixed64\":"
  141. "\"mapSint32Float\":"
  142. "\"mapSint32Int32\":"
  143. "\"mapSint32Int64\":"
  144. "\"mapSint32Message\":"
  145. "\"mapSint32Sfixed32\":"
  146. "\"mapSint32Sfixed64\":"
  147. "\"mapSint32Sint32\":"
  148. "\"mapSint32Sint64\":"
  149. "\"mapSint32String\":"
  150. "\"mapSint32Uint32\":"
  151. "\"mapSint32Uint64\":"
  152. "\"mapSint64AnEnum\":"
  153. "\"mapSint64Bool\":"
  154. "\"mapSint64Bytes\":"
  155. "\"mapSint64Double\":"
  156. "\"mapSint64Fixed32\":"
  157. "\"mapSint64Fixed64\":"
  158. "\"mapSint64Float\":"
  159. "\"mapSint64Int32\":"
  160. "\"mapSint64Int64\":"
  161. "\"mapSint64Message\":"
  162. "\"mapSint64Sfixed32\":"
  163. "\"mapSint64Sfixed64\":"
  164. "\"mapSint64Sint32\":"
  165. "\"mapSint64Sint64\":"
  166. "\"mapSint64String\":"
  167. "\"mapSint64Uint32\":"
  168. "\"mapSint64Uint64\":"
  169. "\"mapUint32AnEnum\":"
  170. "\"mapUint32Bool\":"
  171. "\"mapUint32Bytes\":"
  172. "\"mapUint32Double\":"
  173. "\"mapUint32Fixed32\":"
  174. "\"mapUint32Fixed64\":"
  175. "\"mapUint32Float\":"
  176. "\"mapUint32Int32\":"
  177. "\"mapUint32Int64\":"
  178. "\"mapUint32Message\":"
  179. "\"mapUint32Sfixed32\":"
  180. "\"mapUint32Sfixed64\":"
  181. "\"mapUint32Sint32\":"
  182. "\"mapUint32Sint64\":"
  183. "\"mapUint32String\":"
  184. "\"mapUint32Uint32\":"
  185. "\"mapUint32Uint64\":"
  186. "\"mapUint64AnEnum\":"
  187. "\"mapUint64Bool\":"
  188. "\"mapUint64Bytes\":"
  189. "\"mapUint64Double\":"
  190. "\"mapUint64Fixed32\":"
  191. "\"mapUint64Fixed64\":"
  192. "\"mapUint64Float\":"
  193. "\"mapUint64Int32\":"
  194. "\"mapUint64Int64\":"
  195. "\"mapUint64Message\":"
  196. "\"mapUint64Sfixed32\":"
  197. "\"mapUint64Sfixed64\":"
  198. "\"mapUint64Sint32\":"
  199. "\"mapUint64Sint64\":"
  200. "\"mapUint64String\":"
  201. "\"mapUint64Uint32\":"
  202. "\"mapUint64Uint64\":"
  203. "\"messageSetExtension\":"
  204. "\"oneofBool\":"
  205. "\"oneofBytes\":"
  206. "\"oneofDouble\":"
  207. "\"oneofEnum\":"
  208. "\"oneofFixed32\":"
  209. "\"oneofFixed64\":"
  210. "\"oneofFloat\":"
  211. "\"oneofInt32\":"
  212. "\"oneofInt64\":"
  213. "\"oneofMessage\":"
  214. "\"oneofSfixed32\":"
  215. "\"oneofSfixed64\":"
  216. "\"oneofSint32\":"
  217. "\"oneofSint64\":"
  218. "\"oneofString\":"
  219. "\"oneofUint32\":"
  220. "\"oneofUint64\":"
  221. "\"oneofgroup\":"
  222. "\"repeatedBoolExt\":"
  223. "\"repeatedBool\":"
  224. "\"repeatedBytesExt\":"
  225. "\"repeatedBytes\":"
  226. "\"repeatedDoubleExt\":"
  227. "\"repeatedDouble\":"
  228. "\"repeatedEnumExt\":"
  229. "\"repeatedEnum\":"
  230. "\"repeatedFixed32Ext\":"
  231. "\"repeatedFixed32\":"
  232. "\"repeatedFixed64Ext\":"
  233. "\"repeatedFixed64\":"
  234. "\"repeatedFloatExt\":"
  235. "\"repeatedFloat\":"
  236. "\"repeatedInt32Ext\":"
  237. "\"repeatedInt32\":"
  238. "\"repeatedInt64Ext\":"
  239. "\"repeatedInt64\":"
  240. "\"repeatedMessageExt\":"
  241. "\"repeatedMessageSet\":"
  242. "\"repeatedMessage\":"
  243. "\"repeatedPackedBoolExt\":"
  244. "\"repeatedPackedBool\":"
  245. "\"repeatedPackedDoubleExt\":"
  246. "\"repeatedPackedDouble\":"
  247. "\"repeatedPackedEnumExt\":"
  248. "\"repeatedPackedEnum\":"
  249. "\"repeatedPackedFixed32Ext\":"
  250. "\"repeatedPackedFixed32\":"
  251. "\"repeatedPackedFixed64Ext\":"
  252. "\"repeatedPackedFixed64\":"
  253. "\"repeatedPackedFloatExt\":"
  254. "\"repeatedPackedFloat\":"
  255. "\"repeatedPackedInt32Ext\":"
  256. "\"repeatedPackedInt32\":"
  257. "\"repeatedPackedInt64Ext\":"
  258. "\"repeatedPackedInt64\":"
  259. "\"repeatedPackedSfixed32Ext\":"
  260. "\"repeatedPackedSfixed32\":"
  261. "\"repeatedPackedSfixed64Ext\":"
  262. "\"repeatedPackedSfixed64\":"
  263. "\"repeatedPackedSint32Ext\":"
  264. "\"repeatedPackedSint32\":"
  265. "\"repeatedPackedSint64Ext\":"
  266. "\"repeatedPackedSint64\":"
  267. "\"repeatedPackedUint32Ext\":"
  268. "\"repeatedPackedUint32\":"
  269. "\"repeatedPackedUint64Ext\":"
  270. "\"repeatedPackedUint64\":"
  271. "\"repeatedSfixed32Ext\":"
  272. "\"repeatedSfixed32\":"
  273. "\"repeatedSfixed64Ext\":"
  274. "\"repeatedSfixed64\":"
  275. "\"repeatedSint32Ext\":"
  276. "\"repeatedSint32\":"
  277. "\"repeatedSint64Ext\":"
  278. "\"repeatedSint64\":"
  279. "\"repeatedStringExt\":"
  280. "\"repeatedString\":"
  281. "\"repeatedUint32Ext\":"
  282. "\"repeatedUint32\":"
  283. "\"repeatedUint64Ext\":"
  284. "\"repeatedUint64\":"
  285. "\"repeatedgroupExt\":"
  286. "\"repeatedgroup\":"
  287. "\"singularBoolExt\":"
  288. "\"singularBool\":"
  289. "\"singularBytesExt\":"
  290. "\"singularBytes\":"
  291. "\"singularDoubleExt\":"
  292. "\"singularDouble\":"
  293. "\"singularEnumExt\":"
  294. "\"singularEnum\":"
  295. "\"singularFixed32Ext\":"
  296. "\"singularFixed32\":"
  297. "\"singularFixed64Ext\":"
  298. "\"singularFixed64\":"
  299. "\"singularFloatExt\":"
  300. "\"singularFloat\":"
  301. "\"singularInt32Ext\":"
  302. "\"singularInt32\":"
  303. "\"singularInt64Ext\":"
  304. "\"singularInt64\":"
  305. "\"singularMessageExt\":"
  306. "\"singularMessageSet\":"
  307. "\"singularMessage\":"
  308. "\"singularSfixed32Ext\":"
  309. "\"singularSfixed32\":"
  310. "\"singularSfixed64Ext\":"
  311. "\"singularSfixed64\":"
  312. "\"singularSint32Ext\":"
  313. "\"singularSint32\":"
  314. "\"singularSint64Ext\":"
  315. "\"singularSint64\":"
  316. "\"singularStringExt\":"
  317. "\"singularString\":"
  318. "\"singularUint32Ext\":"
  319. "\"singularUint32\":"
  320. "\"singularUint64Ext\":"
  321. "\"singularUint64\":"
  322. "\"singulargroupExt\":"
  323. "\"singulargroup\":"
  324. "\"value\":"
  325. "\"wktAny\":"
  326. "\"wktApi\":"
  327. "\"wktBoolValue\":"
  328. "\"wktBytesValue\":"
  329. "\"wktDoubleValue\":"
  330. "\"wktDuration\":"
  331. "\"wktEmpty\":"
  332. "\"wktFieldMask\":"
  333. "\"wktFloatValue\":"
  334. "\"wktInt32Value\":"
  335. "\"wktInt64Value\":"
  336. "\"wktSourceContext\":"
  337. "\"wktStringValue\":"
  338. "\"wktStruct\":"
  339. "\"wktTimestamp\":"
  340. "\"wktType\":"
  341. "\"wktUint32Value\":"
  342. "\"wktUint64Value\":"
  343. # Some fragments
  344. "[]"
  345. "["
  346. "]"
  347. "{}"
  348. "{"
  349. "}"
  350. "\""
  351. "\"\""
  352. "\"foo\""
  353. "\\"
  354. "\\b"
  355. "\\f"
  356. "\\n"
  357. "\\r"
  358. "\\t"
  359. "\\/"
  360. "\\u1234"
  361. "0"
  362. "1"
  363. "1.1"
  364. ","
  365. "true"
  366. "false"
  367. "null"