Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: net/data/fuzzer_dictionaries/net_dns_record_fuzzer.dict

Issue 2128583006: [libfuzzer] Add or update dictionaries for //net fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 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
5 # Fuzzer dictionary targetting DNS responses.
6
7 # Some 16-bit big-endian values. Useful in a number of fields. Includes
8 # A, AAAA, and CNAME IDs, low values for record counts, and multiples of
9 # lengths of A and AAAA data fields.
10 "\x00\x00"
11 "\x00\x01"
12 "\x00\x02"
13 "\x00\x03"
14 "\x00\x04"
15 "\x00\x05"
16 "\x00\x08"
17 "\x00\x0C"
18 "\x00\x10"
19 "\x00\x1C"
20 "\x00\x20"
21 "\x00\x30"
22
23 # Some encoded domain names.
24 "\x03foo\x00"
25 "\x03foo\x03com\x00"
26 "\x01a\x03foo\x03com\x00"
27 "\x03bar\x00"
28
29 # Message headers (Without message ID field).
30 "\x81\x80\x00\x01\x00\x01\x00\x00\x00\x00"
31 # Truncated message, requiring TCP fallback.
32 "\x83\x80\x00\x01\x00\x01\x00\x00\x00\x00"
33 # Varying number of answers
34 "\x81\x80\x00\x01\x00\x00\x00\x00\x00\x00"
35 "\x81\x80\x00\x01\x00\x02\x00\x00\x00\x00"
36 "\x81\x80\x00\x01\x00\x10\x00\x00\x00\x00"
37
38 # A, AAAA, and CNAME request suffixes - appear after domain name.
39 "\x00\x01\x00\x01"
40 "\x00\x1c\x00\x01"
41 "\x00\x05\x00\x01"
42
43 # A, AAAA, and CNAME requests for foo and foo.com.
44 "\x03foo\x00\x00\x01\x00\x01"
45 "\x03foo\x00\x00\x1c\x00\x01"
46 "\x03foo\x00\x00\x05\x00\x01"
47 "\x03foo\x03com\x00\x00\x01\x00\x01"
48 "\x03foo\x03com\x00\x00\x1c\x00\x01"
49 "\x03foo\x03com\x00\x00\x05\x00\x01"
50
51 # All of the answers below are missing the name field, which should appear
52 # first.
53
54 # A answer suffixes, two different IP and TTLs.
55 "\x00\x01\x00\x01\x00\x00\x00\x00\x00\x04\x01\x02\x03\x04"
56 "\x00\x01\x00\x01\x00\x00\x00\xFF\x00\x04\x02\x03\x04\x05"
57
58 # AAAA answer suffixes, two different IPs and TTLs.
59 "\x00\x1C\x00\x01\x00\x00\x00\x00\x00\x08\x01\x02\x03\x04\x05\x06\x07\x08"
60 "\x00\x1C\x00\x01\x00\x00\x00\xFF\x00\x08\x02\x03\x04\x05\x06\x07\x08\x09"
61
62 # CDATA answer suffixes, first two truncated as well.
63 "\x00\x05\x00\x01\x00\x00\x00\xFF"
64 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05"
65 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03foo\x00"
66 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03bar\x00"
67 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x09\x03foo\x03com\x00"
68
69
70 # This part has been generated with testing/libfuzzer/dictionary_generator.py
71 # using net_dns_record_fuzzer binary, RFC 1034 and RFC 1035.
72 "all"
73 "QNAME=ISI.EDU.,"
74 "pointing"
75 "C.ISI.EDU,"
76 "C.ISI.EDU."
77 "C.ISI.EDU)"
78 "52.0.0.10.IN-ADDR.ARPA."
79 "[RFC-799]"
80 "XX.LCS.MIT.EDU,"
81 "XX.LCS.MIT.EDU."
82 "CPU"
83 "C.ISI.EDU:"
84 "A.B.C.D"
85 "ARPA"
86 "*.X.COM"
87 "IN-ADDR.ARPA"
88 "0"
89 "\"*.X\","
90 "resources"
91 "supported"
92 "string"
93 "returning"
94 "AXFR"
95 "YALE.ARPA."
96 "B.C.D,"
97 "list"
98 "large"
99 "CNAME,"
100 "ASCII"
101 "M."
102 "YALE.EDU."
103 "direct"
104 "IN,"
105 "[RFC-1035]."
106 "\"A\""
107 "\"IN-ADDR.ARPA\"."
108 "HINFO"
109 "RFC-1031,"
110 "QCLASS=IN,"
111 "Z."
112 "QCLASS=IN."
113 "ARPANET"
114 "QNAME=65.0.6.26.IN-ADDR.ARPA.,QCLASS=IN,QTYPE=PTR"
115 "section"
116 "51.0.0.10.IN-ADDR.ARPA."
117 "|(VAXA.ISI.EDU,VENERA.ISI.EDU,"
118 "DEC-2060"
119 "version"
120 "[RFC-1031]."
121 "TTL"
122 "[RFC-742]"
123 "QTYPE=NS"
124 "FTP"
125 "hash"
126 "QTYPE=CNAME,"
127 "RFC-793,"
128 "address"
129 "SNAME,"
130 "["
131 "\"NAME/FINGER\","
132 "SRI-NIC.ARPA."
133 "SRI-NIC.ARPA,"
134 "MB"
135 "SRI-NIC.ARPA:"
136 "QTYPE=CNAME"
137 "NOT"
138 "MX"
139 "[RFC-821]"
140 "useful"
141 "select"
142 "SRI-NIC.ARPA"
143 "use"
144 "SNAME"
145 "from"
146 "to"
147 "positive"
148 "(QCLASS)"
149 "[RFC-1032]."
150 "(DNS),"
151 "TELNET,"
152 "call"
153 "B.X,"
154 "memory"
155 "type"
156 "[RFC-973]"
157 "RFC-822."
158 "QNAME=SIR-NIC.ARPA,"
159 "MILNET"
160 "TOPS20"
161 "[IEN-116,"
162 "PTR)."
163 "HOSTS.TXT,"
164 "COMSAT,"
165 "EXPIRE."
166 "must"
167 "EVEN"
168 "|(C.ISI.EDU,SRI-NIC.ARPA"
169 "QNAME=USC-ISIC.ARPA.,"
170 "this"
171 "CNAME."
172 "work"
173 "EDU,"
174 "EDU."
175 "EDU"
176 "following"
177 "root"
178 "[RFC-1010]"
179 "F."
180 "J.,"
181 "type."
182 "high"
183 "[RFC-953]"
184 "US"
185 "allowed"
186 "serial"
187 "IEN-116,"
188 "[RFC-1032]"
189 "[RFC-1033]."
190 "write"
191 "NOSC"
192 "VENERA.ISI.EDU.|"
193 "Z.X"
194 "A"
195 "QTYPE,"
196 "[RFC-810]"
197 "QTYPE."
198 "may"
199 "after"
200 "RFC-1032,"
201 "such"
202 "data"
203 "\"A"
204 "a"
205 "UDP"
206 "short"
207 "(CNAME)"
208 "[RFC-1002]"
209 "UDEL.EDU."
210 "SRI,"
211 "RFC-953."
212 "RFC-953,"
213 "TELNET)."
214 "(HOSTS.TXT)"
215 "ISI.EDU"
216 "MIL"
217 "[RFC-952]"
218 "RFC-830,"
219 "pointer"
220 "its"
221 "STYPE"
222 "before"
223 "HAS"
224 "RR"
225 "HOSTMASTER.SRI-NIC.ARPA."
226 "65.0.6.26.IN-ADDR.ARPA,"
227 "65.0.6.26.IN-ADDR.ARPA."
228 "RD"
229 "NAMES"
230 "YALE"
231 "QNAME=BRL.MIL,"
232 "RA,"
233 "ACM,"
234 "QCLASS"
235 "ARPA."
236 "not"
237 "(QTYPE),"
238 "OPCODE=SQUERY,RESPONSE"
239 "name"
240 "RFC,"
241 "mode"
242 "RFC-799,"
243 "ICS.UCI"
244 "RESOLVERS"
245 "A.X.COM"
246 "SOME"
247 "CNAME"
248 "UDEL"
249 "(QNAME),"
250 "E."
251 "space"
252 "L."
253 "MINIMUM"
254 "RDATA"
255 "supports"
256 "REFRESH,"
257 "HOSTMASTER@SRI-NIC.ARPA."
258 "This"
259 "SLIST:"
260 "free"
261 "RFC"
262 "base"
263 "RFC-952"
264 "received."
265 "SLIST."
266 "SLIST,"
267 "DATA."
268 "thread"
269 "YALE-BULLDOG.ARPA."
270 "could"
271 "QCLASS,"
272 "times"
273 "length"
274 "HOSTMASTER@SRI-NIC.ARPA"
275 "MIT.EDU"
276 "already"
277 "CONFIGURED"
278 "number"
279 "one"
280 "RFC-"
281 "Start"
282 "ISI"
283 "RFC."
284 "RFC-1001,"
285 "open"
286 "CSNET"
287 "size"
288 "\""
289 "X."
290 "A.ISI.EDU"
291 "TTL)"
292 "\"HOSTNAME"
293 "unknown"
294 "top"
295 "SERVERS"
296 "too"
297 "RFC-953]."
298 "QTYPE"
299 "BBN"
300 "that"
301 "completed"
302 "XX"
303 "*.A.X.COM"
304 "QTYPE=MX,"
305 "MX."
306 "RD."
307 "K."
308 "target"
309 "16"
310 "Z.X),"
311 "LCS.MIT.EDU"
312 "[RFC-1031]"
313 "and"
314 "[RFC-805]"
315 "[RFC-811]"
316 "(RCODE)"
317 "have"
318 "need"
319 "RESPONSE,"
320 "null"
321 "any"
322 "contents"
323 "|(SRI-NIC.ARPA,"
324 "SOMEONE"
325 "RESOURCE"
326 "73.0.0.26.IN-ADDR.ARPA."
327 "DARPA"
328 "ACC.ARPA."
329 "RFC-812,"
330 "-"
331 "mechanism"
332 "internal"
333 "take"
334 "which"
335 "MIL."
336 "MIL,"
337 "="
338 "UCI"
339 "RFC-742,"
340 "multiple"
341 "TCP/IP"
342 "USC-ISIC.ARPA."
343 "QNAME=USC-ISIC.ARPA,"
344 "The"
345 "]"
346 "class"
347 "D."
348 "RFC-1010,"
349 "D,"
350 "RFC-805,"
351 "AA,"
352 "VAXA.ISI.EDU."
353 "QNAME=ISI.EDU,"
354 "MG)."
355 "\"DOD"
356 "QNAME=SRI-NIC.ARPA,"
357 "text"
358 "labels"
359 "VENERA"
360 "RFC-1033,"
361 "INCORRECTLY"
362 "[RFC-"
363 "Z"
364 "[RFC-952,"
365 "RECORDS"
366 "implementation"
367 "true"
368 "cache"
369 "[RFC-768]"
370 "XX.LCS.MIT.EDU"
371 "only"
372 "PVM@ISI.EDU."
373 "RETRY,"
374 "get"
375 "PVM@ISI.EDU"
376 "ACHILLES"
377 "LOUIE.UDEL.EDU."
378 "IN-ADDR"
379 "resource"
380 "A.ISI"
381 "THIS"
382 "NIC"
383 "(via"
384 "Zones"
385 "RFC-920,"
386 "J."
387 "RFC-920."
388 "common"
389 "set"
390 "configured"
391 "QNAME=SRI-NIC.ARPA.,"
392 "this,"
393 "are"
394 "RFC-883]."
395 "A.ISI.EDU."
396 "A.ISI.EDU)"
397 "INTRODUCTION"
398 "TCP"
399 "MIT"
400 "PC"
401 "unable"
402 "probably"
403 "C.D,"
404 "103.0.3.26.IN-ADDR.ARPA."
405 "available"
406 "C"
407 "parent"
408 "RFC-830]."
409 "REFRESH"
410 "UNIX"
411 "CH)."
412 "key"
413 "52.0.0.10.IN-ADDR.ARPA"
414 "P."
415 "AND"
416 "RFC-1002,"
417 "OPCODE=SQUERY"
418 "ROME.UCI"
419 "LCS"
420 "PDP-11/70"
421 "ISI.EDU,"
422 "ISI.EDU."
423 "MAILB"
424 "[RFC-974]"
425 "CONCEPTS"
426 "[RFC-920]"
427 "SOA,"
428 "RCODE=NE"
429 "DNS."
430 "DNS,"
431 "poll"
432 "UMN-REI-UC.ARPA."
433 "SNAME."
434 "[RFC-883]"
435 "RFC-974,"
436 "RFC-1002"
437 "create"
438 "S.,"
439 "."
440 "[RFC-830]"
441 "expected"
442 "empty"
443 "RA"
444 "CH"
445 "(RD)"
446 "VENERA.ISI.EDU."
447 "SRI"
448 "A.B.X,"
449 "NAME"
450 "value"
451 "while"
452 "error"
453 "loop"
454 "\"NICNAME/WHOIS\","
455 "is"
456 "CACHE"
457 "FACILITIES"
458 "in"
459 "|(XX.LCS.MIT.EDU,"
460 "SOA"
461 "binary"
462 "[RFC-819]"
463 ")"
464 "SRI-NIC"
465 "V."
466 "\"A\"."
467 "QNAME."
468 "QNAME,"
469 "units"
470 "(NE)."
471 "used"
472 "IP"
473 "\"."
474 "IN"
475 "ID"
476 "IF"
477 "task"
478 "SCENARIO"
479 "RFC-883,"
480 "HOSTS.TXT"
481 "Names"
482 "RFC-811,"
483 "the"
484 "If"
485 "being"
486 "EXPIRE"
487 "RFC-882,"
488 "|ACHILLES.MIT.EDU)"
489 "XX.COM."
490 "(RDATA)"
491 "source"
492 "CSNET."
493 "build"
494 "ACHILLES.MIT.EDU."
495 "format"
496 "read"
497 "(AA)"
498 "ISIC.ARPA,"
499 "SERIAL"
500 "VAXA.ISI"
501 "found,"
502 "SLIST"
503 "sorting"
504 "OPCODE=SQUERY,"
505 "OF"
506 "AUTHORITY"
507 "OS"
508 "AA"
509 "DOMAIN"
510 "because"
511 "SRI-NIC.ARPA.|"
512 "some"
513 "back"
514 "growth"
515 "USC-ISIC.ARPA,"
516 "RFC-821,"
517 "happens"
518 "for"
519 "W."
520 "RFC-883"
521 "X.COM"
522 "avoid"
523 "does"
524 "allocate"
525 "COM"
526 "assuming"
527 "BRL"
528 "PTR"
529 "[RFC-793]"
530 "be"
531 "QCLASS=*"
532 "MIT.EDU."
533 "by"
534 "C."
535 "on"
536 "SCLASS"
537 "of"
538 "FTP)"
539 "FTP,"
540 "UK"
541 "or"
542 "ACC"
543 "SBELT."
544 "SBELT,"
545 "No"
546 "(SBELT)"
547 "A.X.COM."
548 "A.X.COM,"
549 "REFERENCES"
550 "USC-ISIC.ARPA"
551 "[RFC-1001]"
552 "RESPONSE"
553 "transfer"
554 "support"
555 "*"
556 "NE"
557 "long"
558 "QTYPE=*"
559 "start"
560 "C.ISI.EDU"
561 "TTL,"
562 "RD,"
563 "\"4.3.2.1.IN-ADDR.ARPA\"."
564 "NS"
565 "was"
566 "RR."
567 "RR,"
568 "QTYPE=A"
569 "MEMO"
570 "but"
571 "QNAME"
572 "[RFC-1001,"
573 "DNS"
574 "line"
575 "trying"
576 "with"
577 "TCP/UDP"
578 "count"
579 "SBELT"
580 "(NIC)"
581 "up"
582 "classes:"
583 "RFC-768,"
584 "[IEN-116]"
585 "VAXA"
586 "NETBIOS"
587 "called"
588 "delete"
589 "CIC"
590 "USC-"
591 "RETRY"
592 "RFC-810,"
593 "RECORDS,"
594 "an"
595 "To"
596 "as"
597 "at"
598 "file"
599 "[RFC-812]"
600 "physical"
601 "X.COM,"
602 "no"
603 "[RFC-882,"
604 "when"
605 "A,"
606 "virtual"
607 "RFC-952,"
608 "RFC-952."
609 "valid"
610 "test"
611 "you"
612 "IP/TCP"
613 "STATUS"
614 "requested"
615 "[RFC-974"
616 "SPACE"
617 "QNAME=SIR-NIC.ARPA.,"
618 "RFC-819,"
619 "variable"
620 "[RFC-882]"
621 "BIBLIOGRAPHY"
622 "[RFC-1033]"
623 "US."
624 "\"MILNET"
625 "As"
626 "RFC-973,"
627 "RFC-882"
628 "QTYPE=MX"
629 "4.0.10.18.IN-ADDR.ARPA."
630 "FOO.F.ISI.ARPA,"
631 "Assuming"
632 "[RFC-1034],"
633 "[RFC-1034]."
634 "UNIX\""
635 "IMPLEMENTATION"
636 "EGP."
637 "ANCOUNT"
638 "@"
639 "P"
640 "TXT-DATA"
641 "RMAILBX"
642 "|QTYPE=A,"
643 "QDCOUNT"
644 "[RFC-1010]."
645 "EMAILBX"
646 "IN-"
647 "OPCODE=IQUERY,"
648 "MX)"
649 "ID=997"
650 "\"VENERA.ISI.EDU\";"
651 "OPCODE"
652 "MILNET-GW.ISI.EDU."
653 "52.0.2.10.IN-ADDR.ARPA."
654 "objects"
655 "MD"
656 "MG"
657 "MF"
658 "MR"
659 "QNAME=10.IN-ADDR.ARPA."
660 "S."
661 "GGP"
662 "few"
663 "QTYPE=PTR,"
664 "MD,"
665 "F"
666 "[RFC-974]."
667 "MGMNAME"
668 "GW.LCS.MIT.EDU."
669 "GW.LCS.MIT.EDU,"
670 "V"
671 "\\DDD"
672 "ALL"
673 "10.IN-ADDR.ARPA."
674 "closing"
675 "EXCHANGE."
676 "MADNAME."
677 "$ORIGIN"
678 "HIS"
679 "26.IN-ADDR.ARPA."
680 "(MD)"
681 "QTYPES"
682 "PROTOCOL"
683 "26.IN-ADDR.ARPA"
684 "NSCOUNT"
685 "(MR)"
686 "PREFERENCE"
687 "<BIT"
688 "$INCLUDE."
689 "MR)"
690 "VAXA.ISI.EDU"
691 "77.0.0.10.IN-ADDR.ARPA."
692 "\"IBM-PC"
693 "$INCLUDE"
694 "SERVER"
695 "18.IN-ADDR.ARPA."
696 "ADDRESS"
697 "Check"
698 "static"
699 "GW.ISI.EDU."
700 "(QNAME)."
701 "GW.ISI.EDU,"
702 "F.ISI.ARPA,"
703 "F.ISI.ARPA."
704 "time."
705 "PTRDNAME"
706 "HOSTMASTER@SRI-"
707 "(STATUS)"
708 "(MINFO)"
709 "(MG)"
710 "QCLASS."
711 "(HS)"
712 "X,"
713 "MNAME"
714 "QNAME=VENERA.ISI.EDU"
715 "MASTER"
716 "(IN)"
717 "KNOWS."
718 "RNAME"
719 "|QR|"
720 "VAXA.ISI.EDU,"
721 "R"
722 "1)"
723 "ARCOUNT"
724 "RCODE"
725 "NEWNAME"
726 "CLASS"
727 "begin"
728 "(MF)."
729 "Common"
730 "<RDATA>"
731 "QR"
732 "average"
733 "QNAME=6.0.0.10.IN-ADDR.ARPA,"
734 "WKS"
735 "SYSTEM,"
736 "MADNAME"
737 "ARPANET,"
738 "MINFO"
739 "DEFINITIONS"
740 "failed"
741 "[RFC-1034]"
742 "(QCLASS),"
743 "SPECIFICATION"
744 "X"
745 "THE"
746 "MILNET."
747 "MILNET-"
748 "bytes"
749 "(MX)"
750 "NSDNAME"
751 "10.IN-ADDR.ARPA"
752 "|AA|TC|RD|RA|"
753 "QTYPE=A,"
754 "corruption"
755 "FOO.F.ISI.ARPA"
756 "(QUERY)"
757 "MF,"
758 "FOO"
759 "CURLEY"
760 "X.Y,"
761 "AXFR,"
762 "S"
763 "MAILA"
764 "exceeds"
765 "ISI.EDU:"
766 "103.0.0.26.IN-ADDR.ARPA."
767 "MOE"
768 "[RFC-822]."
769 "CHAOS"
770 "NAMEDROPPERS@SRI-NIC.ARPA"
771 "SOA."
772 "RESOLVER"
773 "A.X,"
774 "EXCHANGE"
775 "SMTP"
776 "QCLASS=*,"
777 "CS"
778 "$ORIGIN,"
779 "B.X"
780 "(MB,"
781 "TYPE"
782 "Size"
783 "parse"
784 "ADDR.ARPA"
785 "(SMTP)."
786 "key."
787 "MAP>"
788 "OWN"
789 "VENERA.ISI.EDU"
790 "DDD."
791 "MB."
792 "NS,"
793 "I"
794 "OPCODE=RESPONSE,"
795 "ARPA,"
796 "WITHIN"
797 "tables"
798 "unsigned"
799 "LARRY"
800 "D"
801 "\\X"
802 "WHICH"
803 "(IQUERY)"
804 "QCLASS=IN"
805 "discarded"
806 "6.0.0.10.IN-ADDR.ARPA."
807 "MAIL"
808 "QTYPE=MAILB"
809 "HS"
810 "SUPPORT"
811 "STOOGES"
812 "X.Y"
813 "/"
814 "(SLIST)."
815 "O"
816 "OS,"
817 "OFFSET"
818 "FILES"
819 "RR),"
820 "$INCLUDE,"
821 "guard"
822 "[<TTL>]"
823 "CRLF"
824 "Error"
825 "ERRORS-TO:"
826 "22.0.2.10.IN-ADDR.ARPA."
827 "default"
828 "MESSAGES"
829 "signed"
830 "<SUBSYS>ISI-MAILBOXES.TXT"
831 "MULTICS.MIT.EDU."
832 "NULL"
833 "application"
834 "TXT"
835 "TC"
836 "PROTOCOL=TCP"
837 "UDP."
838 "UDP,"
839 "F.ISI.ARPA"
840 "(EXPERIMENTAL)"
841 "RDLENGTH"
842 "NIC.ARPA"
843
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698