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

Side by Side Diff: net/data/fuzzer_dictionaries/net_get_domain_and_registry_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_get_domain_and_registry_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 "to"
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 "0"
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 "end"
190 "[RFC-1033]."
191 "write"
192 "NOSC"
193 "VENERA.ISI.EDU.|"
194 "Z.X"
195 "A"
196 "QTYPE,"
197 "[RFC-810]"
198 "QTYPE."
199 "may"
200 "after"
201 "RFC-1032,"
202 "such"
203 "data"
204 "\"A"
205 "a"
206 "UDP"
207 "short"
208 "(CNAME)"
209 "[RFC-1002]"
210 "UDEL.EDU."
211 "SRI,"
212 "RFC-953."
213 "RFC-953,"
214 "TELNET)."
215 "(HOSTS.TXT)"
216 "ISI.EDU"
217 "MIL"
218 "[RFC-952]"
219 "RFC-830,"
220 "pointer"
221 "its"
222 "STYPE"
223 "before"
224 "HAS"
225 "RR"
226 "HOSTMASTER.SRI-NIC.ARPA."
227 "65.0.6.26.IN-ADDR.ARPA,"
228 "65.0.6.26.IN-ADDR.ARPA."
229 "RD"
230 "NAMES"
231 "YALE"
232 "QNAME=BRL.MIL,"
233 "RA,"
234 "ACM,"
235 "QCLASS"
236 "ARPA."
237 "not"
238 "(QTYPE),"
239 "OPCODE=SQUERY,RESPONSE"
240 "name"
241 "RFC,"
242 "mode"
243 "RFC-799,"
244 "ICS.UCI"
245 "RESOLVERS"
246 "A.X.COM"
247 "SOME"
248 "CNAME"
249 "UDEL"
250 "(QNAME),"
251 "E."
252 "space"
253 "L."
254 "MINIMUM"
255 "RDATA"
256 "supports"
257 "REFRESH,"
258 "HOSTMASTER@SRI-NIC.ARPA."
259 "This"
260 "SLIST:"
261 "free"
262 "RFC"
263 "base"
264 "RFC-952"
265 "received."
266 "SLIST."
267 "SLIST,"
268 "DATA."
269 "thread"
270 "YALE-BULLDOG.ARPA."
271 "could"
272 "QCLASS,"
273 "times"
274 "length"
275 "HOSTMASTER@SRI-NIC.ARPA"
276 "MIT.EDU"
277 "already"
278 "CONFIGURED"
279 "number"
280 "one"
281 "RFC-"
282 "Start"
283 "ISI"
284 "RFC."
285 "RFC-1001,"
286 "open"
287 "CSNET"
288 "size"
289 "\""
290 "X."
291 "A.ISI.EDU"
292 "TTL)"
293 "\"HOSTNAME"
294 "unknown"
295 "top"
296 "SERVERS"
297 "2"
298 "too"
299 "RFC-953]."
300 "QTYPE"
301 "BBN"
302 "that"
303 "completed"
304 "XX"
305 "*.A.X.COM"
306 "QTYPE=MX,"
307 "MX."
308 "RD."
309 "K."
310 "target"
311 "16"
312 "Z.X),"
313 "LCS.MIT.EDU"
314 "[RFC-1031]"
315 "and"
316 "[RFC-805]"
317 "[RFC-811]"
318 "(RCODE)"
319 "have"
320 "need"
321 "RESPONSE,"
322 "null"
323 "any"
324 "contents"
325 "|(SRI-NIC.ARPA,"
326 "SOMEONE"
327 "RESOURCE"
328 "73.0.0.26.IN-ADDR.ARPA."
329 "DARPA"
330 "ACC.ARPA."
331 "RFC-812,"
332 "-"
333 "mechanism"
334 "internal"
335 "take"
336 "which"
337 "MIL."
338 "MIL,"
339 "="
340 "UCI"
341 "RFC-742,"
342 "multiple"
343 "TCP/IP"
344 "USC-ISIC.ARPA."
345 "QNAME=USC-ISIC.ARPA,"
346 "The"
347 "]"
348 "class"
349 "D."
350 "RFC-1010,"
351 "D,"
352 "RFC-805,"
353 "AA,"
354 "VAXA.ISI.EDU."
355 "QNAME=ISI.EDU,"
356 "MG)."
357 "\"DOD"
358 "QNAME=SRI-NIC.ARPA,"
359 "text"
360 "labels"
361 "VENERA"
362 "RFC-1033,"
363 "INCORRECTLY"
364 "[RFC-"
365 "Z"
366 "[RFC-952,"
367 "RECORDS"
368 "implementation"
369 "with"
370 "cache"
371 "[RFC-768]"
372 "XX.LCS.MIT.EDU"
373 "only"
374 "PVM@ISI.EDU."
375 "RETRY,"
376 "get"
377 "PVM@ISI.EDU"
378 "ACHILLES"
379 "LOUIE.UDEL.EDU."
380 "IN-ADDR"
381 "resource"
382 "A.ISI"
383 "THIS"
384 "NIC"
385 "(via"
386 "Zones"
387 "RFC-920,"
388 "J."
389 "RFC-920."
390 "common"
391 "set"
392 "configured"
393 "QNAME=SRI-NIC.ARPA.,"
394 "this,"
395 "are"
396 "RFC-883]."
397 "A.ISI.EDU."
398 "A.ISI.EDU)"
399 "INTRODUCTION"
400 "TCP"
401 "MIT"
402 "PC"
403 "3"
404 "unable"
405 "probably"
406 "C.D,"
407 "103.0.3.26.IN-ADDR.ARPA."
408 "available"
409 "C"
410 "parent"
411 "RFC-830]."
412 "REFRESH"
413 "UNIX"
414 "CH)."
415 "key"
416 "52.0.0.10.IN-ADDR.ARPA"
417 "P."
418 "AND"
419 "RFC-1002,"
420 "OPCODE=SQUERY"
421 "ROME.UCI"
422 "LCS"
423 "PDP-11/70"
424 "ISI.EDU,"
425 "ISI.EDU."
426 "MAILB"
427 "[RFC-974]"
428 "CONCEPTS"
429 "[RFC-920]"
430 "SOA,"
431 "RCODE=NE"
432 "DNS."
433 "DNS,"
434 "poll"
435 "UMN-REI-UC.ARPA."
436 "SNAME."
437 "[RFC-883]"
438 "RFC-974,"
439 "RFC-1002"
440 "create"
441 "S.,"
442 "."
443 "[RFC-830]"
444 "expected"
445 "empty"
446 "RA"
447 "CH"
448 "(RD)"
449 "VENERA.ISI.EDU."
450 "SRI"
451 "A.B.X,"
452 "NAME"
453 "value"
454 "while"
455 "error"
456 "loop"
457 "\"NICNAME/WHOIS\","
458 "is"
459 "CACHE"
460 "FACILITIES"
461 "in"
462 "|(XX.LCS.MIT.EDU,"
463 "SOA"
464 "binary"
465 "[RFC-819]"
466 ")"
467 "SRI-NIC"
468 "V."
469 "\"A\"."
470 "QNAME."
471 "QNAME,"
472 "units"
473 "(NE)."
474 "used"
475 "IP"
476 "\"."
477 "IN"
478 "ID"
479 "IF"
480 "task"
481 "SCENARIO"
482 "RFC-883,"
483 "HOSTS.TXT"
484 "Names"
485 "RFC-811,"
486 "the"
487 "If"
488 "being"
489 "EXPIRE"
490 "RFC-882,"
491 "|ACHILLES.MIT.EDU)"
492 "XX.COM."
493 "(RDATA)"
494 "source"
495 "CSNET."
496 "build"
497 "ACHILLES.MIT.EDU."
498 "format"
499 "read"
500 "(AA)"
501 "ISIC.ARPA,"
502 "SERIAL"
503 "VAXA.ISI"
504 "found,"
505 "SLIST"
506 "sorting"
507 "OPCODE=SQUERY,"
508 "OF"
509 "AUTHORITY"
510 "OS"
511 "AA"
512 "DOMAIN"
513 "because"
514 "SRI-NIC.ARPA.|"
515 "some"
516 "back"
517 "growth"
518 "USC-ISIC.ARPA,"
519 "RFC-821,"
520 "happens"
521 "for"
522 "W."
523 "RFC-883"
524 "X.COM"
525 "avoid"
526 "does"
527 "allocate"
528 "COM"
529 "assuming"
530 "BRL"
531 "PTR"
532 "[RFC-793]"
533 "be"
534 "QCLASS=*"
535 "MIT.EDU."
536 "by"
537 "C."
538 "on"
539 "SCLASS"
540 "of"
541 "FTP)"
542 "FTP,"
543 "UK"
544 "or"
545 "ACC"
546 "SBELT."
547 "SBELT,"
548 "No"
549 "(SBELT)"
550 "A.X.COM."
551 "A.X.COM,"
552 "REFERENCES"
553 "USC-ISIC.ARPA"
554 "[RFC-1001]"
555 "RESPONSE"
556 "transfer"
557 "support"
558 "*"
559 "NE"
560 "long"
561 "QTYPE=*"
562 "start"
563 "C.ISI.EDU"
564 "TTL,"
565 "RD,"
566 "\"4.3.2.1.IN-ADDR.ARPA\"."
567 "NS"
568 "was"
569 "RR."
570 "RR,"
571 "QTYPE=A"
572 "MEMO"
573 "but"
574 "QNAME"
575 "[RFC-1001,"
576 "DNS"
577 "line"
578 "trying"
579 "true"
580 "TCP/UDP"
581 "count"
582 "SBELT"
583 "(NIC)"
584 "up"
585 "classes:"
586 "RFC-768,"
587 "[IEN-116]"
588 "VAXA"
589 "NETBIOS"
590 "called"
591 "delete"
592 "CIC"
593 "USC-"
594 "RETRY"
595 "RFC-810,"
596 "RECORDS,"
597 "an"
598 "To"
599 "as"
600 "at"
601 "file"
602 "[RFC-812]"
603 "physical"
604 "X.COM,"
605 "no"
606 "[RFC-882,"
607 "when"
608 "A,"
609 "virtual"
610 "RFC-952,"
611 "RFC-952."
612 "valid"
613 "5"
614 "test"
615 "you"
616 "IP/TCP"
617 "STATUS"
618 "requested"
619 "[RFC-974"
620 "SPACE"
621 "QNAME=SIR-NIC.ARPA.,"
622 "RFC-819,"
623 "variable"
624 "[RFC-882]"
625 "BIBLIOGRAPHY"
626 "[RFC-1033]"
627 "US."
628 "\"MILNET"
629 "As"
630 "RFC-973,"
631 "RFC-882"
632 "QTYPE=MX"
633 "4.0.10.18.IN-ADDR.ARPA."
634 "FOO.F.ISI.ARPA,"
635 "Assuming"
636 "[RFC-1034],"
637 "[RFC-1034]."
638 "UNIX\""
639 "IMPLEMENTATION"
640 "EGP."
641 "ANCOUNT"
642 "@"
643 "P"
644 "TXT-DATA"
645 "RMAILBX"
646 "|QTYPE=A,"
647 "QDCOUNT"
648 "[RFC-1010]."
649 "EMAILBX"
650 "IN-"
651 "OPCODE=IQUERY,"
652 "MX)"
653 "ID=997"
654 "\"VENERA.ISI.EDU\";"
655 "OPCODE"
656 "MILNET-GW.ISI.EDU."
657 "52.0.2.10.IN-ADDR.ARPA."
658 "objects"
659 "MD"
660 "MG"
661 "MF"
662 "MR"
663 "QNAME=10.IN-ADDR.ARPA."
664 "OFFSET"
665 "S."
666 "GGP"
667 "few"
668 "QTYPE=PTR,"
669 "MD,"
670 "F"
671 "[RFC-974]."
672 "MGMNAME"
673 "GW.LCS.MIT.EDU."
674 "GW.LCS.MIT.EDU,"
675 "V"
676 "\\DDD"
677 "ALL"
678 "10.IN-ADDR.ARPA."
679 "closing"
680 "EXCHANGE."
681 "MADNAME."
682 "$ORIGIN"
683 "HIS"
684 "26.IN-ADDR.ARPA."
685 "(MD)"
686 "QTYPES"
687 "PROTOCOL"
688 "26.IN-ADDR.ARPA"
689 "NSCOUNT"
690 "(MR)"
691 "PREFERENCE"
692 "<BIT"
693 "$INCLUDE."
694 "MR)"
695 "VAXA.ISI.EDU"
696 "77.0.0.10.IN-ADDR.ARPA."
697 "\"IBM-PC"
698 "$INCLUDE"
699 "SERVER"
700 "18.IN-ADDR.ARPA."
701 "ADDRESS"
702 "Check"
703 "static"
704 "GW.ISI.EDU."
705 "(QNAME)."
706 "GW.ISI.EDU,"
707 "F.ISI.ARPA,"
708 "F.ISI.ARPA."
709 "time."
710 "PTRDNAME"
711 "HOSTMASTER@SRI-"
712 "(STATUS)"
713 "(MINFO)"
714 "(MG)"
715 "QCLASS."
716 "(HS)"
717 "X,"
718 "MNAME"
719 "QNAME=VENERA.ISI.EDU"
720 "MASTER"
721 "(IN)"
722 "KNOWS."
723 "RNAME"
724 "|QR|"
725 "VAXA.ISI.EDU,"
726 "R"
727 "1)"
728 "ARCOUNT"
729 "RCODE"
730 "NEWNAME"
731 "CLASS"
732 "begin"
733 "(MF)."
734 "Common"
735 "<RDATA>"
736 "QR"
737 "average"
738 "QNAME=6.0.0.10.IN-ADDR.ARPA,"
739 "WKS"
740 "SYSTEM,"
741 "MADNAME"
742 "ARPANET,"
743 "MINFO"
744 "DEFINITIONS"
745 "failed"
746 "[RFC-1034]"
747 "(QCLASS),"
748 "SPECIFICATION"
749 "X"
750 "THE"
751 "MILNET."
752 "MILNET-"
753 "bytes"
754 "(MX)"
755 "NSDNAME"
756 "10.IN-ADDR.ARPA"
757 "|AA|TC|RD|RA|"
758 "QTYPE=A,"
759 "corruption"
760 "FOO.F.ISI.ARPA"
761 "(QUERY)"
762 "MF,"
763 "FOO"
764 "CURLEY"
765 "X.Y,"
766 "AXFR,"
767 "S"
768 "MAILA"
769 "exceeds"
770 "ISI.EDU:"
771 "103.0.0.26.IN-ADDR.ARPA."
772 "MOE"
773 "[RFC-822]."
774 "CHAOS"
775 "NAMEDROPPERS@SRI-NIC.ARPA"
776 "SOA."
777 "RESOLVER"
778 "A.X,"
779 "EXCHANGE"
780 "SMTP"
781 "QCLASS=*,"
782 "CS"
783 "$ORIGIN,"
784 "B.X"
785 "(MB,"
786 "TYPE"
787 "Size"
788 "parse"
789 "ADDR.ARPA"
790 "(SMTP)."
791 "key."
792 "MAP>"
793 "OWN"
794 "VENERA.ISI.EDU"
795 "DDD."
796 "MB."
797 "NS,"
798 "I"
799 "OPCODE=RESPONSE,"
800 "ARPA,"
801 "WITHIN"
802 "tables"
803 "unsigned"
804 "LARRY"
805 "D"
806 "\\X"
807 "WHICH"
808 "(IQUERY)"
809 "QCLASS=IN"
810 "discarded"
811 "6.0.0.10.IN-ADDR.ARPA."
812 "MAIL"
813 "QTYPE=MAILB"
814 "HS"
815 "SUPPORT"
816 "STOOGES"
817 "X.Y"
818 "/"
819 "(SLIST)."
820 "O"
821 "OS,"
822 "offset"
823 "FILES"
824 "RR),"
825 "$INCLUDE,"
826 "guard"
827 "[<TTL>]"
828 "CRLF"
829 "Error"
830 "ERRORS-TO:"
831 "22.0.2.10.IN-ADDR.ARPA."
832 "default"
833 "MESSAGES"
834 "signed"
835 "<SUBSYS>ISI-MAILBOXES.TXT"
836 "MULTICS.MIT.EDU."
837 "NULL"
838 "application"
839 "TXT"
840 "TC"
841 "PROTOCOL=TCP"
842 "UDP."
843 "UDP,"
844 "F.ISI.ARPA"
845 "(EXPERIMENTAL)"
846 "RDLENGTH"
847 "NIC.ARPA"
848
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698