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

Side by Side Diff: testing/libfuzzer/fuzzers/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: A couple of fixes ported from local version. 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 "\x22TE\x22"
179 "LF>"
180 "FORCE"
181 "calculate"
182 "\x22IETF"
183 "UNIX,"
184 "ARPA"
185 "\x22OPTIONAL\x22"
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 "3333"
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\x22,"
213 "(RFC"
214 "large"
215 "ONLY"
216 "Tag"
217 "(LWS"
218 "(URL)\x22,"
219 "\x22A\x22..\x22Z\x22>"
220 "unexpected"
221 "GET)"
222 "direct"
223 "Failed"
224 "second"
225 "Version"
226 "M."
227 "allowed."
228 "GET,"
229 "tag."
230 "implemented"
231 "\x22HTTP/1.0\x22"
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 "\x22HTTP/1.1"
252 "reported"
253 "objects"
254 "address"
255 "active"
256 "\x22HEAD\x22"
257 "["
258 "\x22POST\x22"
259 "HTTP."
260 "change"
261 "MA"
262 "\x22AS"
263 "last-modified"
264 "BACK)"
265 "NOT"
266 "{"
267 "NNTP"
268 "named"
269 "useful"
270 "secure"
271 "case."
272 "detected."
273 "\x22HTTP\x22"
274 "private"
275 "CERN/3.0"
276 "CTE"
277 "(CTE)"
278 "Too"
279 "CTL"
280 "PUT,"
281 "user-agent"
282 "PUT)"
283 "POST"
284 "select"
285 "use"
286 "TASK"
287 "from"
288 "exception."
289 "working"
290 "to"
291 "positive"
292 "two"
293 "URI;"
294 "properties"
295 "few"
296 "--THIS_STRING_SEPARATES"
297 "POST,"
298 "call"
299 "6"
300 "MUST,"
301 "scope"
302 "type"
303 "authorization"
304 "more"
305 "ISO-8859-9,"
306 "(GMT),"
307 "(TE)"
308 "name."
309 "LF,"
310 "RFC-850"
311 "warn"
312 "bytes,"
313 "Found"
314 "cases"
315 "MHTML"
316 "name:"
317 "must"
318 "Content"
319 "ALL"
320 "MHTML,"
321 "RIGHTS"
322 "this"
323 "NTP"
324 "work"
325 "--THIS_STRING_SEPARATES--"
326 "Syntax"
327 "can"
328 "of"
329 "following"
330 "\x22I"
331 "closing"
332 "root"
333 "example"
334 "requested,"
335 "J.,"
336 "type."
337 "reserved"
338 "stream"
339 "process"
340 "attribute"
341 "allowed"
342 "high"
343 "currency"
344 "numbers"
345 "want"
346 "type:"
347 "native"
348 "LF"
349 "class,"
350 "end"
351 "Missing"
352 "HTTP-"
353 "HTTP,"
354 "links"
355 "1"
356 "line."
357 "2*N"
358 "H."
359 "1XX"
360 "WARRANTIES,"
361 "HTTP:"
362 "A"
363 "badly"
364 "HEAD"
365 "may"
366 "insecure"
367 "after"
368 "containing"
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 "\x22DEFLATE"
390 "order"
391 "charset"
392 "\x22SHOULD"
393 "don\x27t"
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 "\x22HTTP/1.1\x22,"
415 "P.,"
416 "401"
417 "MERCHANTABILITY"
418 "DNS."
419 "into"
420 "\x22HTTP"
421 "it."
422 "it,"
423 "return"
424 "URL"
425 "URI"
426 "number"
427 "9"
428 "Bad"
429 "not"
430 "However,"
431 "SSL"
432 "name"
433 "always"
434 "expectation."
435 "--"
436 "ISO-639"
437 "]URI,"
438 "found"
439 "trailer"
440 "mean"
441 "breakdown"
442 "From"
443 "(via"
444 "(URI)"
445 "UNLINK"
446 "expect"
447 "exceeded"
448 "(MIC)"
449 "event"
450 "out"
451 "is:"
452 "E."
453 "space"
454 "\x22MUST/MAY/SHOULD\x22"
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 "\x22B\x22"
470 "RFC"
471 "base"
472 "IMPLIED,"
473 "byte"
474 "received."
475 "generate"
476 "text/plain"
477 "ISO-8859-7,"
478 "\x22HTTP/1.1\x22"
479 "Partial"
480 "could"
481 "transition"
482 "DISCLAIMS"
483 "times"
484 "filter"
485 "HTML\x22,"
486 "length"
487 "HEAD."
488 "HEAD,"
489 "S.,"
490 "first"
491 "origin"
492 "\x22E\x22"
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\x27t"
509 "\x22"
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 "B"
526 "Success"
527 "that"
528 "completed"
529 "OPTIONAL;"
530 "tracking"
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 "\x22A\x22"
549 "1*8ALPHA"
550 "are"
551 "and"
552 "IRC/6.9,"
553 "false"
554 "turned"
555 "ANSI"
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 "\x22MUST\x22,"
586 "regular"
587 "entry"
588 "The"
589 "]"
590 "model"
591 "D."
592 "US-ASCII"
593 "L.,"
594 "R"
595 "(URL)"
596 "If"
597 "}"
598 "+"
599 "\x22MIME"
600 "Note:"
601 "particularly"
602 "WA"
603 "text"
604 "supported"
605 "\x22C\x22"
606 "Unrecognized"
607 "CRLF."
608 "CRLF,"
609 "SP"
610 "find"
611 "MUST"
612 "true,"
613 "cache."
614 "upgrade"
615 "cache)"
616 "implementation"
617 "("
618 "[RFC"
619 "cache"
620 "outside"
621 "should"
622 "failed"
623 "only"
624 "URL)."
625 "LDAP)"
626 "USA"
627 "WARRANTIES"
628 "(UA)"
629 "get"
630 "there"
631 "HEREIN"
632 "\x22HTTP\x22."
633 "cannot"
634 "shared"
635 "THE"
636 "BNF"
637 "DIGIT,"
638 "closure"
639 "PUT"
640 "reading"
641 "resource"
642 "A.,"
643 "W."
644 "16"
645 "ISO-8859."
646 "calling"
647 "J."
648 "INCLUDING"
649 "common"
650 "INTERNET"
651 "release"
652 "ISI/RR-98-463,"
653 "\x22CONNECT\x22"
654 "where"
655 "set"
656 "IANA"
657 "For"
658 "\x22F\x22"
659 "configured"
660 "we"
661 "this,"
662 "multipart"
663 "close"
664 "E.,"
665 "end."
666 "detect"
667 "GET"
668 "WWW\x22,"
669 "1*DIGIT"
670 "BUT"
671 "MIT"
672 "3"
673 "unable"
674 "between"
675 "probably"
676 "boundary"
677 "0)"
678 "\x22SHALL"
679 "\x22RECOMMENDED\x22,"
680 "available"
681 "C"
682 "FOR"
683 "missing"
684 "importance"
685 "screen"
686 "connection."
687 "PARTICULAR"
688 "UNIX"
689 "STD"
690 "ISO-8859-1"
691 "key"
692 "IS\x22"
693 "P."
694 "\x22HTTP/1.1\x22."
695 "HTTP/1.0),"
696 "AND"
697 "received"
698 "WWW"
699 "TRACE"
700 "\x22MAY\x22,"
701 "many"
702 "*TEXT"
703 "Unsupported"
704 "using:"
705 "connection"
706 "Unicode"
707 "*OCTET"
708 "exceeds"
709 "(URN)"
710 "safely"
711 "ANY"
712 "can\x27t"
713 "WARRANTY"
714 "ISO-8859-8,"
715 "Content-Length"
716 "consume"
717 "simple"
718 "(MIME)"
719 "header"
720 "DNS)"
721 "colon"
722 "\x22GET\x22"
723 "spans"
724 "1*HEX"
725 "table"
726 "allocated"
727 "BCP"
728 "application/pdf"
729 "LWS:"
730 "save"
731 "\x22REQUIRED\x22,"
732 "Wed,"
733 "C."
734 "C,"
735 "encryption"
736 "create"
737 "(MHTML)\x22,"
738 "been"
739 "."
740 "HTTP/12.3."
741 "\x22PUT\x22"
742 "context."
743 "LWS,"
744 "basic"
745 "expected"
746 "prototype"
747 "GMT,"
748 "empty"
749 "define"
750 "PNG,\x22"
751 "\x22D\x22"
752 "with"
753 "CA"
754 "HEX"
755 "N"
756 "0*3DIGIT"
757 "\x22W/\x22"
758 "CR"
759 "\x22DELETE\x22"
760 "unnecessarily"
761 "case"
762 "exception"
763 "(A"
764 "(HTTP)"
765 "value"
766 "INFRINGE"
767 "while"
768 "\x22GZIP"
769 "\x22SHALL\x22,"
770 "error"
771 "\x22GMT\x22"
772 "(LWS)."
773 "resident"
774 "is"
775 "thus"
776 "it"
777 "encountered"
778 "parse"
779 "MIME"
780 "in"
781 "SIGCOMM"
782 "You"
783 "if"
784 "result"
785 "binary"
786 "different"
787 "\x22A"
788 ")"
789 "CREATE"
790 "expired"
791 "1DIGIT"
792 "same"
793 "OPTIONS"
794 "transfer-encoding"
795 "BNF,"
796 "unrecognized"
797 "units"
798 "UST"
799 "status"
800 "UTC"
801 "used"
802 "http"
803 "context"
804 "I"
805 "IP"
806 "(O)."
807 "allocation"
808 "running"
809 "*LWS"
810 "user"
811 "SMTP"
812 "\x22SHOULD\x22,"
813 "stack"
814 "task"
815 "CR."
816 "failing"
817 "IETF"
818 "M.,"
819 "Names"
820 "In"
821 "position"
822 "the"
823 "audio"
824 "left"
825 "US-ASCII."
826 "MAY"
827 "THAT"
828 "being"
829 "(OK)."
830 "actions"
831 "invalid"
832 "HTTP/1.0)"
833 "CRC."
834 "previous"
835 "adding"
836 "TO"
837 "<US-ASCII"
838 "source"
839 "ISO-8859-2,"
840 "\x22OPTIONS\x22"
841 "4"
842 "HTTP/1.0"
843 "HTTP/1.1"
844 "size,"
845 "has"
846 "match"
847 "build"
848 "URI."
849 "tests"
850 "format"
851 "read"
852 "H.,"
853 "T"
854 "using"
855 "LIMITED"
856 "OK"
857 "text/html"
858 "success"
859 "ISO-8859-5,"
860 "B,"
861 "signal"
862 "MIME:"
863 "(HTCPCP/1.0)\x22,"
864 "server"
865 "ignore"
866 "OF"
867 "output"
868 "page"
869 "S."
870 "because"
871 "old"
872 "sequence"
873 "HT."
874 "B.,"
875 "some"
876 "back"
877 "HT"
878 "Last-Modified"
879 "growth"
880 "DEL"
881 "specified"
882 "unless"
883 "H.F.,"
884 "HTTP/1.0."
885 "(BNF)"
886 "happens"
887 "discarded"
888 "PUT."
889 "INDEX."
890 "trace"
891 "for"
892 "avoid"
893 "CR,"
894 "does"
895 "CONNECT"
896 "assuming"
897 "be"
898 "run"
899 "GET."
900 "deleted"
901 "equivalent"
902 "X3.4-1986"
903 "<URL:"
904 "O"
905 "ISO-8859-1."
906 "broken"
907 "host"
908 "HTTP/1.0,"
909 "LWS>"
910 "INFORMATION"
911 "X3.4-1986,"
912 "by"
913 "ALPHA,"
914 "Location"
915 "on"
916 "DIGIT"
917 "actual"
918 "extension"
919 "tracing"
920 "R.,"
921 "\x22UTF-8,"
922 "location"
923 "*<TEXT,"
924 "OR"
925 "range"
926 "3ALPHA"
927 "URI,"
928 "value."
929 "Message"
930 "DELETE"
931 "content-type"
932 "or"
933 "UC"
934 "No"
935 "ISO-"
936 "image"
937 "ACM"
938 "HEX\x22"
939 "URL,"
940 "ISO-8859-6,"
941 "T.,"
942 "operator"
943 "T/TCP"
944 "file."
945 "GET\x22"
946 "transfer"
947 "support"
948 "*"
949 "long"
950 "class"
951 "start"
952 "forward"
953 "was"
954 "function"
955 "HT,"
956 "N."
957 "HTTP/1.1\x22,"
958 "memory"
959 "OCTET"
960 "but"
961 "failure"
962 "TE:"
963 "IMPLIED"
964 "CRLF"
965 "DNS"
966 "Error"
967 "\x22ZLIB"
968 "line"
969 "trying"
970 "true"
971 "GMT"
972 "count"
973 "default"
974 "B."
975 "ISO-8859-1,"
976 "up"
977 "ISO-8859-1)"
978 "SHOULD"
979 "PURPOSE."
980 "used."
981 "WILL"
982 ">"
983 "called"
984 "delete"
985 "DELETE,"
986 "storing"
987 "USE"
988 "image/jpeg"
989 "defined"
990 "LWS"
991 "URL."
992 "unsafe"
993 "an"
994 "To"
995 "as"
996 "warning"
997 "exist"
998 "at"
999 "file"
1000 "NOT\x22"
1001 "NOT,"
1002 "W3C/MIT"
1003 "ISO-8859-1:1987."
1004 "SHTTP/1.3,"
1005 "no"
1006 "when"
1007 "A,"
1008 "virtual"
1009 "A."
1010 "details."
1011 "application"
1012 "valid"
1013 "OPTIONAL"
1014 "\x22TRACE\x22"
1015 "test"
1016 "MD5"
1017 "you"
1018 "TE"
1019 "ISO-8859-3,"
1020 "requested"
1021 "elements"
1022 "C)"
1023 "symbol"
1024 "T."
1025 "code)"
1026 "variable"
1027 "SOCIETY"
1028 "\x22MUST"
1029 "TCP"
1030 "ISO-10646\x22,"
1031 "NOT\x22,"
1032 "R."
1033 "audio/basic"
1034 "IANA."
1035 "\x22WAIS"
1036 "persistent"
1037 "Its"
1038 "As"
1039 "time"
1040 "failures"
1041 "\x22ISO-8859-1\x22"
1042 "once"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698