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

Side by Side Diff: net/data/dicts/generated/net_http_stream_parser_fuzzer.dict

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

Powered by Google App Engine
This is Rietveld 408576698