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

Side by Side Diff: net/data/fuzzer_dictionaries/net_http_stream_parser_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 HTTP/1.x responses.
6
7 # Entries that are generally useful in headers
8 ":"
9 "\x0A"
10 "\x0D"
11 "0"
12 "50"
13 "500"
14 # Horizontal whitespace. Matters mostly in status line.
15 " "
16 "\x09"
17 # Header continuation
18 "\x0D\x0A\x09"
19 # Used in a lot of individual headers
20 ";"
21 "="
22 ","
23 "\""
24 "-"
25
26 # Status line components
27 "HTTP"
28 "/1.1"
29 "/1.0"
30 # More interesting status codes. Leading space so can be inserted into
31 # other status lines.
32 " 100"
33 " 200"
34 " 206"
35 " 301"
36 " 302"
37 " 303"
38 " 304"
39 " 307"
40 " 308"
41 " 401"
42 " 403"
43 " 404"
44 " 500"
45 " 501"
46 " 403"
47
48 # Full status lines (Some with relevant following headers)
49 "HTTP/1.1 200 OK\x0A\x0A"
50 "HTTP/1.1 100 Continue\x0A\x0A"
51 "HTTP/1.1 401 Unauthorized\x0AWWW-Authenticate: Basic realm=\"Middle-Earth\"\x0A \xA0"
52 "HTTP/1.1 407 Proxy Authentication Required\x0AProxy-Authenticate: Digest realm= \"Middle-Earth\", nonce=\"aaaaaaaaaa\"\x0A\x0A"
53 "HTTP/1.0 301 Moved Permanently\x0ALocation: /a\x0A\x0A"
54 "HTTP/1.1 302 Found\x0ALocation: http://lost/\x0A\x0A"
55
56 # Proxy authentication headers. Note that fuzzers don't support NTLM or
57 # negotiate.
58 "WWW-Authenticate:"
59 "Proxy-Authenticate:"
60 "Basic"
61 "Digest"
62 "realm"
63 "nonce"
64
65 "Connection:"
66 "Proxy-Connection:"
67 "Keep-Alive"
68 "Close"
69 "Upgrade"
70 "\x0AConnection: Keep-Alive"
71 "\x0AConnection: Close"
72 "\x0AProxy-Connection: Keep-Alive"
73 "\x0AProxy-Connection: Close"
74
75 "Content-Length:"
76 "Transfer-Encoding:"
77 "chunked"
78 "\x0AContent-Length: 0"
79 "\x0AContent-Length: 500"
80 "\x0ATransfer-Encoding: chunked\x0A\x0A5\x0A12345\x0A0\x0A\x0A"
81
82 "Location:"
83 "\x0ALocation: http://foo/"
84 "\x0ALocation: http://bar/"
85 "\x0ALocation: https://foo/"
86 "\x0ALocation: https://bar/"
87
88 "Accept-Ranges:"
89 "bytes"
90 "\x0AAccept-Ranges: bytes"
91
92 "Content-Range:"
93
94 "Age:"
95 "\x0AAge: 0"
96 "\x0AAge: 3153600000"
97
98 "Cache-Control:"
99 "max-age"
100 "no-cache"
101 "no-store"
102 "must-revalidate"
103 "\x0ACache-Control: max-age=3153600000"
104 "\x0ACache-Control: max-age=0"
105 "\x0ACache-Control: no-cache"
106 "\x0ACache-Control: no-store"
107 "\x0ACache-Control: must-revalidate"
108
109 "Content-Disposition:"
110 "attachment"
111 "filename"
112
113 "Content-Encoding:"
114 "gzip"
115 "deflate"
116 "sdch"
117 "br"
118 "\x0AContent-Encoding: gzip"
119 "\x0AContent-Encoding: deflate"
120 "\x0AContent-Encoding: sdch"
121 "\x0AContent-Encoding: br"
122
123 "Date:"
124 "Fri, 01 Apr, 2050 14:14:14 GMT"
125 "Mon, 28 Mar, 2016 04:04:04 GMT"
126 "\x0ADate: Fri, 01 Apr, 2050 14:14:14 GMT"
127 "\x0ADate: Mon, 28 Mar, 2016 04:04:04 GMT"
128
129 "Last-Modified:"
130 "\x0ALast-Modified: Fri, 01 Apr, 2050 14:14:14 GMT"
131 "\x0ALast-Modified: Mon, 28 Mar, 2016 04:04:04 GMT"
132
133 "Expires:"
134 "\x0AExpires: Fri, 01 Apr, 2050 14:14:14 GMT"
135 "\x0AExpires: Mon, 28 Mar, 2016 04:04:04 GMT"
136
137 "Set-Cookie:"
138 "Expires"
139 "Max-Age"
140 "Domain"
141 "Path"
142 "Secure"
143 "HttpOnly"
144 "Priority"
145 "Low"
146 "Medium"
147 "High"
148 "SameSite"
149 "Strict"
150 "Lax"
151 "\x0ASet-Cookie: foo=bar"
152 "\x0ASet-Cookie: foo2=bar2;HttpOnly;Priority=Low;SameSite=Strict;Path=/"
153 "\x0ASet-Cookie: foo=chicken;SameSite=Lax"
154
155 "Strict-Transport-Security:"
156 "includeSubDomains"
157
158 "Vary:"
159 "\x0AVary: Cookie"
160 "\x0AVary: Age"
161
162 "ETag:"
163 "\x0AETag: jumboshrimp"
164
165
166 # This part has been generated with testing/libfuzzer/dictionary_generator.py
167 # using net_http_stream_parser_fuzzer binary and RFC 2616.
168 "all"
169 "code"
170 "maximum"
171 "Transfer-Encoding"
172 "D.,"
173 "results"
174 "follow"
175 "(LZW)."
176 "provided."
177 "(which"
178 "ISDN"
179 "\"TE\""
180 "LF>"
181 "FORCE"
182 "calculate"
183 "\"IETF"
184 "UNIX,"
185 "ARPA"
186 "\"OPTIONAL\""
187 "environment"
188 "ENGINEERING"
189 "program"
190 "USENET"
191 "TEXT"
192 "Not"
193 "Nov"
194 "include"
195 "resources"
196 "(STD"
197 "labels"
198 "string"
199 "returning"
200 "HTTP/1.1;"
201 "SP,"
202 "SP."
203 "entries"
204 "HTTP/1.1,"
205 "HTTP/1.1."
206 "difference"
207 "(URI):"
208 "did"
209 "[CRLF]"
210 "EXPRESS"
211 "list"
212 "HTTP/1.0\","
213 "(RFC"
214 "large"
215 "ONLY"
216 "Tag"
217 "(LWS"
218 "(URL)\","
219 "\"A\"..\"Z\">"
220 "unexpected"
221 "GET)"
222 "direct"
223 "Failed"
224 "second"
225 "Version"
226 "\"A\""
227 "allowed."
228 "GET,"
229 "tag."
230 "implemented"
231 "\"HTTP/1.0\""
232 "errors"
233 "ISO-8859-4,"
234 "appear"
235 "incompatible"
236 "section"
237 "CPU"
238 "current"
239 "waiting"
240 "version"
241 "above"
242 "TTL"
243 "new"
244 "CRLF)"
245 "public"
246 "FTP"
247 "NNTP."
248 "WWW-"
249 "never"
250 "equals"
251 "\"HTTP/1.1"
252 "reported"
253 "objects"
254 "address"
255 "active"
256 "\"HEAD\""
257 "["
258 "\"POST\""
259 "HTTP."
260 "change"
261 "MA"
262 "\"AS"
263 "last-modified"
264 "BACK)"
265 "NOT"
266 "NNTP"
267 "named"
268 "useful"
269 "secure"
270 "case."
271 "detected."
272 "\"HTTP\""
273 "private"
274 "CERN/3.0"
275 "CTE"
276 "(CTE)"
277 "Too"
278 "CTL"
279 "PUT,"
280 "user-agent"
281 "PUT)"
282 "POST"
283 "select"
284 "use"
285 "TASK"
286 "from"
287 "exception."
288 "working"
289 "to"
290 "positive"
291 "two"
292 "URI;"
293 "properties"
294 "few"
295 "--THIS_STRING_SEPARATES"
296 "POST,"
297 "call"
298 "memory"
299 "MUST,"
300 "scope"
301 "type"
302 "authorization"
303 "more"
304 "ISO-8859-9,"
305 "(GMT),"
306 "(TE)"
307 "name."
308 "LF,"
309 "RFC-850"
310 "warn"
311 "bytes,"
312 "Found"
313 "cases"
314 "MHTML"
315 "name:"
316 "must"
317 "Content"
318 "ALL"
319 "MHTML,"
320 "RIGHTS"
321 "this"
322 "NTP"
323 "work"
324 "--THIS_STRING_SEPARATES--"
325 "Syntax"
326 "can"
327 "of"
328 "following"
329 "\"I"
330 "closing"
331 "root"
332 "example"
333 "requested,"
334 "J.,"
335 "type."
336 "reserved"
337 "stream"
338 "process"
339 "attribute"
340 "allowed"
341 "high"
342 "currency"
343 "numbers"
344 "want"
345 "type:"
346 "native"
347 "LF"
348 "class,"
349 "end"
350 "Missing"
351 "HTTP-"
352 "HTTP,"
353 "links"
354 "1"
355 "line."
356 "2*N"
357 "H."
358 "1XX"
359 "WARRANTIES,"
360 "HTTP:"
361 "A"
362 "badly"
363 "HEAD"
364 "may"
365 "insecure"
366 "after"
367 "containing"
368 "tracking"
369 "wrong"
370 "[SP"
371 "ANSI,"
372 "date"
373 "such"
374 "data"
375 "parallel"
376 "repeat"
377 "a"
378 "FTP,"
379 "All"
380 "short"
381 "Y."
382 "UA"
383 "(2**N),"
384 "element"
385 "so"
386 "cases."
387 "File"
388 "(LWS)"
389 "\"DEFLATE"
390 "order"
391 "charset"
392 "\"SHOULD"
393 "don't"
394 "MIC"
395 "move"
396 "vary"
397 "satisfied"
398 "CD-ROM,"
399 "HTTP-WG."
400 "LINK,"
401 "pointer"
402 "its"
403 "digest"
404 "before"
405 "HTML"
406 "(OK)"
407 "Rules"
408 "MAY,"
409 "fix"
410 "ISO-3166"
411 "actually"
412 "407"
413 "(GNU"
414 "\"HTTP/1.1\","
415 "P.,"
416 "401"
417 "MERCHANTABILITY"
418 "DNS."
419 "into"
420 "\"HTTP"
421 "it."
422 "it,"
423 "return"
424 "URL"
425 "URI"
426 "number"
427 "Bad"
428 "not"
429 "However,"
430 "SSL"
431 "name"
432 "always"
433 "expectation."
434 "--"
435 "ISO-639"
436 "]URI,"
437 "found"
438 "trailer"
439 "mean"
440 "breakdown"
441 "From"
442 "UTC"
443 "(via"
444 "(URI)"
445 "UNLINK"
446 "expect"
447 "exceeded"
448 "(MIC)"
449 "event"
450 "out"
451 "is:"
452 "E."
453 "space"
454 "\"MUST/MAY/SHOULD\""
455 "REQUIRED"
456 "ALPHA"
457 "HTTP/2.4"
458 "4DIGIT"
459 "increase"
460 "L."
461 "time."
462 "PATCH,"
463 "supports"
464 "2DIGIT"
465 "K.,"
466 "(A,"
467 "This"
468 "free"
469 "\"B\""
470 "RFC"
471 "base"
472 "IMPLIED,"
473 "byte"
474 "received."
475 "generate"
476 "text/plain"
477 "ISO-8859-7,"
478 "\"HTTP/1.1\""
479 "Partial"
480 "could"
481 "transition"
482 "DISCLAIMS"
483 "times"
484 "filter"
485 "HTML\","
486 "length"
487 "HEAD."
488 "HEAD,"
489 "S.,"
490 "first"
491 "origin"
492 "\"E\""
493 "already"
494 "UPALPHA"
495 "3DIGIT"
496 "Cache"
497 "Please"
498 "token."
499 "one"
500 "CHAR"
501 "ISI"
502 "another"
503 "FITNESS"
504 "message"
505 "CSS1,"
506 "open"
507 "size"
508 "doesn't"
509 "\""
510 "script"
511 "unknown"
512 "top"
513 "header)"
514 "system"
515 "construct"
516 "image/gif"
517 "2"
518 "ignored."
519 "listed"
520 "Date"
521 "LOALPHA"
522 "scheme"
523 "store"
524 "too"
525 "M."
526 "Success"
527 "that"
528 "completed"
529 "OPTIONAL;"
530 "R"
531 "pragma"
532 "(IANA"
533 "WAIS"
534 "F.,"
535 "than"
536 "K."
537 "target"
538 "Content-Type:"
539 "require"
540 "Only"
541 "HTTP/2.13,"
542 "headers"
543 "See"
544 "GMT."
545 "HTTP/2.0,"
546 "were"
547 "1)"
548 "IS\""
549 "1*8ALPHA"
550 "are"
551 "and"
552 "IRC/6.9,"
553 "false"
554 "turned"
555 "ANSI"
556 "B"
557 "(IANA)"
558 "tables"
559 "have"
560 "MIME,"
561 "need"
562 "HTTP/1.1.)"
563 "null"
564 "any"
565 "contents"
566 "data)"
567 "(LZ77)"
568 "(MIME"
569 "mechanism"
570 "internal"
571 "(C)"
572 "take"
573 "which"
574 "With"
575 "UCI"
576 "HTTP/0.9,"
577 "content-"
578 "200"
579 "begin"
580 "multiple"
581 "TCP/IP"
582 "Content-Disposition"
583 "206"
584 "buffer"
585 "object"
586 "\"MUST\","
587 "regular"
588 "entry"
589 "The"
590 "]"
591 "model"
592 "D."
593 "US-ASCII"
594 "L.,"
595 "(URL)"
596 "If"
597 "+"
598 "\"MIME"
599 "Note:"
600 "particularly"
601 "WA"
602 "text"
603 "supported"
604 "\"C\""
605 "Unrecognized"
606 "CRLF."
607 "CRLF,"
608 "SP"
609 "find"
610 "MUST"
611 "true,"
612 "cache."
613 "upgrade"
614 "cache)"
615 "implementation"
616 "("
617 "[RFC"
618 "cache"
619 "outside"
620 "should"
621 "failed"
622 "only"
623 "URL)."
624 "LDAP)"
625 "USA"
626 "WARRANTIES"
627 "(UA)"
628 "get"
629 "there"
630 "HEREIN"
631 "\"HTTP\"."
632 "cannot"
633 "shared"
634 "THE"
635 "BNF"
636 "DIGIT,"
637 "closure"
638 "PUT"
639 "reading"
640 "resource"
641 "A.,"
642 "W."
643 "16"
644 "ISO-8859."
645 "calling"
646 "J."
647 "INCLUDING"
648 "common"
649 "INTERNET"
650 "release"
651 "ISI/RR-98-463,"
652 "\"CONNECT\""
653 "where"
654 "set"
655 "IANA"
656 "For"
657 "\"F\""
658 "configured"
659 "C"
660 "this,"
661 "multipart"
662 "close"
663 "E.,"
664 "end."
665 "detect"
666 "GET"
667 "WWW\","
668 "1*DIGIT"
669 "BUT"
670 "MIT"
671 "3"
672 "unable"
673 "between"
674 "probably"
675 "boundary"
676 "0)"
677 "\"SHALL"
678 "\"RECOMMENDED\","
679 "available"
680 "we"
681 "FOR"
682 "missing"
683 "importance"
684 "screen"
685 "connection."
686 "PARTICULAR"
687 "UNIX"
688 "STD"
689 "ISO-8859-1"
690 "key"
691 "(MIME)"
692 "P."
693 "\"HTTP/1.1\"."
694 "HTTP/1.0),"
695 "AND"
696 "received"
697 "WWW"
698 "TRACE"
699 "\"MAY\","
700 "many"
701 "*TEXT"
702 "Unsupported"
703 "using:"
704 "connection"
705 "Unicode"
706 "*OCTET"
707 "exceeds"
708 "(URN)"
709 "safely"
710 "ANY"
711 "can't"
712 "WARRANTY"
713 "ISO-8859-8,"
714 "Content-Length"
715 "consume"
716 "simple"
717 "header"
718 "DNS)"
719 "colon"
720 "\"GET\""
721 "spans"
722 "1*HEX"
723 "table"
724 "allocated"
725 "BCP"
726 "application/pdf"
727 "LWS:"
728 "save"
729 "\"REQUIRED\","
730 "Wed,"
731 "C."
732 "C,"
733 "encryption"
734 "create"
735 "(MHTML)\","
736 "been"
737 "."
738 "HTTP/12.3."
739 "\"PUT\""
740 "context."
741 "LWS,"
742 "basic"
743 "expected"
744 "prototype"
745 "GMT,"
746 "empty"
747 "define"
748 "PNG,\""
749 "\"D\""
750 "with"
751 "CA"
752 "HEX"
753 "N"
754 "0*3DIGIT"
755 "\"W/\""
756 "CR"
757 "\"DELETE\""
758 "unnecessarily"
759 "case"
760 "exception"
761 "(A"
762 "(HTTP)"
763 "value"
764 "INFRINGE"
765 "while"
766 "\"GZIP"
767 "\"SHALL\","
768 "error"
769 "\"GMT\""
770 "(LWS)."
771 "resident"
772 "is"
773 "thus"
774 "it"
775 "encountered"
776 "parse"
777 "MIME"
778 "in"
779 "SIGCOMM"
780 "You"
781 "if"
782 "result"
783 "binary"
784 "different"
785 "\"A"
786 ")"
787 "CREATE"
788 "expired"
789 "1DIGIT"
790 "same"
791 "OPTIONS"
792 "transfer-encoding"
793 "BNF,"
794 "unrecognized"
795 "units"
796 "UST"
797 "status"
798 "\"%"
799 "used"
800 "http"
801 "context"
802 "I"
803 "IP"
804 "(O)."
805 "allocation"
806 "running"
807 "*LWS"
808 "user"
809 "SMTP"
810 "\"SHOULD\","
811 "stack"
812 "task"
813 "CR."
814 "failing"
815 "IETF"
816 "M.,"
817 "Names"
818 "In"
819 "position"
820 "the"
821 "audio"
822 "left"
823 "US-ASCII."
824 "MAY"
825 "THAT"
826 "being"
827 "(OK)."
828 "actions"
829 "invalid"
830 "HTTP/1.0)"
831 "CRC."
832 "previous"
833 "adding"
834 "TO"
835 "<US-ASCII"
836 "source"
837 "ISO-8859-2,"
838 "\"OPTIONS\""
839 "location"
840 "HTTP/1.0"
841 "HTTP/1.1"
842 "size,"
843 "has"
844 "match"
845 "build"
846 "URI."
847 "tests"
848 "format"
849 "read"
850 "H.,"
851 "T"
852 "using"
853 "LIMITED"
854 "OK"
855 "text/html"
856 "success"
857 "ISO-8859-5,"
858 "B,"
859 "signal"
860 "MIME:"
861 "(HTCPCP/1.0)\","
862 "server"
863 "ignore"
864 "OF"
865 "output"
866 "page"
867 "S."
868 "because"
869 "old"
870 "sequence"
871 "HT."
872 "B.,"
873 "some"
874 "back"
875 "HT"
876 "Last-Modified"
877 "growth"
878 "DEL"
879 "specified"
880 "unless"
881 "H.F.,"
882 "HTTP/1.0."
883 "(BNF)"
884 "happens"
885 "discarded"
886 "PUT."
887 "INDEX."
888 "trace"
889 "for"
890 "avoid"
891 "CR,"
892 "does"
893 "CONNECT"
894 "assuming"
895 "be"
896 "run"
897 "GET."
898 "deleted"
899 "equivalent"
900 "X3.4-1986"
901 "<URL:"
902 "O"
903 "ISO-8859-1."
904 "broken"
905 "host"
906 "HTTP/1.0,"
907 "LWS>"
908 "INFORMATION"
909 "X3.4-1986,"
910 "by"
911 "ALPHA,"
912 "Location"
913 "on"
914 "DIGIT"
915 "actual"
916 "extension"
917 "tracing"
918 "R.,"
919 "\"UTF-8,"
920 "*<TEXT,"
921 "OR"
922 "range"
923 "3ALPHA"
924 "URI,"
925 "value."
926 "Message"
927 "DELETE"
928 "content-type"
929 "or"
930 "UC"
931 "No"
932 "ISO-"
933 "image"
934 "ACM"
935 "HEX\""
936 "URL,"
937 "ISO-8859-6,"
938 "T.,"
939 "operator"
940 "T/TCP"
941 "file."
942 "GET\""
943 "transfer"
944 "support"
945 "*"
946 "long"
947 "class"
948 "start"
949 "forward"
950 "was"
951 "function"
952 "HT,"
953 "N."
954 "HTTP/1.1\","
955 "OCTET"
956 "but"
957 "failure"
958 "TE:"
959 "IMPLIED"
960 "CRLF"
961 "DNS"
962 "Error"
963 "\"ZLIB"
964 "line"
965 "trying"
966 "true"
967 "GMT"
968 "count"
969 "default"
970 "B."
971 "ISO-8859-1,"
972 "up"
973 "ISO-8859-1)"
974 "SHOULD"
975 "PURPOSE."
976 "used."
977 "WILL"
978 ">"
979 "called"
980 "delete"
981 "DELETE,"
982 "storing"
983 "USE"
984 "image/jpeg"
985 "defined"
986 "LWS"
987 "URL."
988 "unsafe"
989 "an"
990 "To"
991 "as"
992 "warning"
993 "exist"
994 "at"
995 "file"
996 "NOT\""
997 "NOT,"
998 "W3C/MIT"
999 "ISO-8859-1:1987."
1000 "SHTTP/1.3,"
1001 "no"
1002 "when"
1003 "A,"
1004 "virtual"
1005 "A."
1006 "details."
1007 "application"
1008 "valid"
1009 "OPTIONAL"
1010 "\"TRACE\""
1011 "test"
1012 "MD5"
1013 "you"
1014 "TE"
1015 "ISO-8859-3,"
1016 "requested"
1017 "elements"
1018 "C)"
1019 "symbol"
1020 "T."
1021 "code)"
1022 "variable"
1023 "SOCIETY"
1024 "\"MUST"
1025 "TCP"
1026 "ISO-10646\","
1027 "NOT\","
1028 "R."
1029 "audio/basic"
1030 "IANA."
1031 "\"WAIS"
1032 "persistent"
1033 "Its"
1034 "As"
1035 "time"
1036 "failures"
1037 "\"ISO-8859-1\""
1038 "once"
1039
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698