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

Unified Diff: testing/libfuzzer/fuzzers/dicts/generated/net_url_request_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, 6 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 side-by-side diff with in-line comments
Download patch
Index: testing/libfuzzer/fuzzers/dicts/generated/net_url_request_fuzzer.dict
diff --git a/testing/libfuzzer/fuzzers/dicts/generated/net_url_request_fuzzer.dict b/testing/libfuzzer/fuzzers/dicts/generated/net_url_request_fuzzer.dict
new file mode 100644
index 0000000000000000000000000000000000000000..ae70acb773c21a15196274131c33d554559f9b7f
--- /dev/null
+++ b/testing/libfuzzer/fuzzers/dicts/generated/net_url_request_fuzzer.dict
@@ -0,0 +1,1181 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Fuzzer dictionary targetting HTTP/1.x responses.
+
+# Entries that are generally useful in headers
+":"
+"\x0A"
+"\x0D"
+"0"
+"50"
+"500"
+# Horizontal whitespace. Matters mostly in status line.
+" "
+"\x09"
+# Header continuation
+"\x0D\x0A\x09"
+# Used in a lot of individual headers
+";"
+"="
+","
+"\""
+"-"
+
+# Status line components
+"HTTP"
+"/1.1"
+"/1.0"
+# More interesting status codes. Leading space so can be inserted into
+# other status lines.
+" 100"
+" 200"
+" 206"
+" 301"
+" 302"
+" 303"
+" 304"
+" 307"
+" 308"
+" 401"
+" 403"
+" 404"
+" 500"
+" 501"
+" 403"
+
+# Full status lines (Some with relevant following headers)
+"HTTP/1.1 200 OK\x0A\x0A"
+"HTTP/1.1 100 Continue\x0A\x0A"
+"HTTP/1.1 401 Unauthorized\x0AWWW-Authenticate: Basic realm=\"Middle-Earth\"\x0A\xA0"
+"HTTP/1.1 407 Proxy Authentication Required\x0AProxy-Authenticate: Digest realm=\"Middle-Earth\", nonce=\"aaaaaaaaaa\"\x0A\x0A"
+"HTTP/1.0 301 Moved Permanently\x0ALocation: /a\x0A\x0A"
+"HTTP/1.1 302 Found\x0ALocation: http://lost/\x0A\x0A"
+
+# Proxy authentication headers. Note that fuzzers don't support NTLM or
+# negotiate.
+"WWW-Authenticate:"
+"Proxy-Authenticate:"
+"Basic"
+"Digest"
+"realm"
+"nonce"
+
+"Connection:"
+"Proxy-Connection:"
+"Keep-Alive"
+"Close"
+"Upgrade"
+"\x0AConnection: Keep-Alive"
+"\x0AConnection: Close"
+"\x0AProxy-Connection: Keep-Alive"
+"\x0AProxy-Connection: Close"
+
+"Content-Length:"
+"Transfer-Encoding:"
+"chunked"
+"\x0AContent-Length: 0"
+"\x0AContent-Length: 500"
+"\x0ATransfer-Encoding: chunked\x0A\x0A5\x0A12345\x0A0\x0A\x0A"
+
+"Location:"
+"\x0ALocation: http://foo/"
+"\x0ALocation: http://bar/"
+"\x0ALocation: https://foo/"
+"\x0ALocation: https://bar/"
+
+"Accept-Ranges:"
+"bytes"
+"\x0AAccept-Ranges: bytes"
+
+"Content-Range:"
+
+"Age:"
+"\x0AAge: 0"
+"\x0AAge: 3153600000"
+
+"Cache-Control:"
+"max-age"
+"no-cache"
+"no-store"
+"must-revalidate"
+"\x0ACache-Control: max-age=3153600000"
+"\x0ACache-Control: max-age=0"
+"\x0ACache-Control: no-cache"
+"\x0ACache-Control: no-store"
+"\x0ACache-Control: must-revalidate"
+
+"Content-Disposition:"
+"attachment"
+"filename"
+
+"Content-Encoding:"
+"gzip"
+"deflate"
+"sdch"
+"br"
+"\x0AContent-Encoding: gzip"
+"\x0AContent-Encoding: deflate"
+"\x0AContent-Encoding: sdch"
+"\x0AContent-Encoding: br"
+
+"Date:"
+"Fri, 01 Apr, 2050 14:14:14 GMT"
+"Mon, 28 Mar, 2016 04:04:04 GMT"
+"\x0ADate: Fri, 01 Apr, 2050 14:14:14 GMT"
+"\x0ADate: Mon, 28 Mar, 2016 04:04:04 GMT"
+
+"Last-Modified:"
+"\x0ALast-Modified: Fri, 01 Apr, 2050 14:14:14 GMT"
+"\x0ALast-Modified: Mon, 28 Mar, 2016 04:04:04 GMT"
+
+"Expires:"
+"\x0AExpires: Fri, 01 Apr, 2050 14:14:14 GMT"
+"\x0AExpires: Mon, 28 Mar, 2016 04:04:04 GMT"
+
+"Set-Cookie:"
+"Expires"
+"Max-Age"
+"Domain"
+"Path"
+"Secure"
+"HttpOnly"
+"Priority"
+"Low"
+"Medium"
+"High"
+"SameSite"
+"Strict"
+"Lax"
+"\x0ASet-Cookie: foo=bar"
+"\x0ASet-Cookie: foo2=bar2;HttpOnly;Priority=Low;SameSite=Strict;Path=/"
+"\x0ASet-Cookie: foo=chicken;SameSite=Lax"
+
+"Strict-Transport-Security:"
+"includeSubDomains"
+
+"Vary:"
+"\x0AVary: Cookie"
+"\x0AVary: Age"
+
+"ETag:"
+"\x0AETag: jumboshrimp"
+
+
+# Dictionary elements below have been generated automatically.
+"\x27F\x27"
+"all"
+"partial"
+"consider"
+"D.,"
+"people"
+"results"
+"rules."
+"prefix"
+"ABNF\x22,"
+"CR"
+"(which"
+"[STD63],"
+"aliases"
+"content"
+"Notice"
+"FORCE"
+"zone"
+"message."
+"send"
+"Standard"
+"languages"
+"Host"
+"SPONSORED"
+"excluded"
+"under"
+"include"
+"resources"
+"(STD"
+"[RFC1808],"
+"string"
+"advantage"
+"returning"
+"very"
+"translation"
+"misunderstanding"
+"[BCP35]"
+"P"
+"[STD63]"
+"SCTP)"
+"(NUL)"
+"unencrypted"
+"difference"
+"established."
+"(URI):"
+"entire"
+"Protocol"
+"M.,"
+"--"
+"EXPRESS"
+"list"
+"(%2E),"
+"WILL"
+"HE/SHE"
+"KATAKANA"
+"delegate"
+"enclosing"
+"[RFC2732]"
+"(URL)\x22,"
+"prevent"
+"unexpected"
+"INFORMATION"
+"[RFC1738];"
+"[RFC2518]"
+"M."
+"direct"
+"sign"
+"across"
+"likely"
+"Version"
+"allowed."
+"INPUT"
+"port"
+"append"
+"canonical"
+"even"
+"established"
+"errors"
+"domain."
+"opaque"
+"section"
+"<URI>"
+"decoding"
+"current"
+"version"
+"above"
+"new"
+"[RFC2732]."
+"ever"
+"public"
+"metadata"
+"Y.,"
+"WWW\x22"
+"never"
+"equals"
+"here"
+"ranges"
+"W3C/IETF"
+"them"
+"address"
+"path"
+"Distribution"
+"WWW:"
+"change"
+"incoming"
+"\x22AS"
+"technical"
+"involved"
+"larger"
+"X3.4,"
+"prior"
+"amount"
+"here."
+"NOT"
+"J.,"
+"makes"
+"composed"
+"2E:"
+"named"
+"via"
+"followed"
+"addresses"
+"extra"
+"\x22HTTP\x22"
+"When"
+"replace"
+"IMPLIED,"
+"(T):"
+"TO"
+"S."
+"D.1."
+"byte"
+"select"
+"Status"
+"use"
+"LATIN"
+"from"
+"would"
+"to"
+"value."
+"contains"
+"[RFC0952]."
+"two"
+"URI;"
+"next"
+"few"
+"(DNS)."
+"6"
+"scope"
+"type"
+"until"
+"used."
+"more"
+"expecting"
+"F"
+"Default"
+"initial"
+"validity"
+"it"
+"American"
+"known"
+"(ABNF)"
+"cases"
+"MHTML"
+"effort"
+"must"
+"DNS,"
+"parse"
+"none"
+"[RFC1123]"
+"RIGHTS"
+"this"
+"when"
+"[RFC2557]."
+"Syntax"
+"values"
+"sent"
+"following"
+"making"
+"original"
+"example"
+"[RFC0952]"
+"history"
+"control"
+"type."
+"reserved"
+"%61-%7A),"
+"process"
+"role"
+"PARTICULAR"
+"accept"
+"pieces"
+"substring"
+"STEP"
+"numbers"
+"allowed"
+"simple"
+"returned"
+"LF"
+"information"
+"end"
+"goal"
+"algorithm."
+"divided"
+"get"
+"1"
+"located"
+"reject"
+"instead"
+"native"
+"parameter"
+"algorithm:"
+"A"
+"map"
+"description"
+"number."
+"after"
+"derived"
+"lowercase"
+"collection"
+"HEREIN"
+"reflect"
+"such"
+"EBCDIC,"
+"revealed"
+"response"
+"types"
+"USENET"
+"a"
+"All"
+"[RFC1736]"
+"attempt"
+"save"
+"SP)"
+"H.,"
+"map."
+"[ASCII]."
+"element"
+"set,"
+"so"
+"File"
+"HTTP,"
+"1*4HEXDIG"
+"order"
+"hostname"
+"help"
+"over"
+"move"
+"vary"
+"\x22URN\x22"
+"through"
+"same"
+"Organization"
+"Usage"
+"existence"
+"still"
+"WITH"
+"its"
+"before"
+"style"
+"group"
+"termed"
+"fix"
+"28"
+"actually"
+"better"
+"platform"
+"absence"
+"P.,"
+"constitutes"
+"World"
+"main"
+"outside"
+"it."
+"it,"
+"return"
+"combination"
+"URL"
+"URN"
+"I."
+"L"
+"K."
+"they"
+"not"
+"However,"
+"\x5c"
+"matched"
+"term"
+"document"
+"name"
+"Simple"
+"always"
+"decimal"
+"routines"
+"Authority"
+"IPR"
+"A.,"
+"found"
+"identifier"
+"|"
+"characterized"
+"mean"
+"Adding"
+"domain"
+"Network"
+"reduce"
+"related"
+"*DIGIT"
+"extended"
+"operation"
+"beyond"
+"Parameter"
+"\x22%7E\x22"
+"special"
+"More"
+"by"
+"E."
+"network"
+"space"
+"Local"
+"[RFC1535]."
+"increase"
+"may"
+"time."
+"7"
+"2B:"
+"Set"
+"cause"
+"Class"
+"available."
+"K.,"
+"buffer."
+"G"
+"This"
+"Request"
+"segment."
+"\x22IANA"
+"mapping"
+"RFC"
+"base"
+"put"
+"Security"
+"beginning"
+"definition"
+"perform"
+"ABNF"
+"language"
+"created"
+"deprecated"
+"could"
+"filter"
+"place"
+"unknown"
+"assign"
+"first"
+"origin"
+"major"
+"already"
+"Copyright"
+"encoding"
+"CAPITAL"
+"Please"
+"number"
+"one"
+"INFRINGE"
+"ISO"
+"construct"
+"another"
+"FITNESS"
+"owner"
+"message"
+"open"
+"invalid."
+"has"
+"given"
+"[BCP19],"
+"reference"
+"service"
+"introduction"
+"data"
+"\x22URN"
+"flag"
+"system"
+"least"
+"their"
+"attack"
+"Q"
+"listed"
+"passed"
+"scheme"
+"Data"
+"store"
+"low"
+"B"
+"that"
+"UTF-8"
+"exactly"
+"serve"
+"D"
+"part"
+"LETTER"
+"$7"
+"Problem"
+"F.,"
+"than"
+"\x22URI\x22"
+"wide"
+"Code"
+"target"
+"16"
+"double"
+"require"
+"zero,"
+"enabled"
+"zero"
+"TCP,"
+"protected"
+"were"
+"1)"
+"IS\x22"
+"are"
+"and"
+"Information"
+"false"
+"1.1"
+"dash"
+"ANSI"
+"[BCP19]"
+"Other"
+"have"
+"need"
+"Mail"
+"any"
+"\x22%E3%82%A2\x22."
+"paths"
+"conversion"
+"data."
+"1*HEXDIG"
+"N."
+"depending"
+"responsible"
+"able"
+"mechanism"
+"[RFC3305]"
+"majority"
+"without"
+"take"
+"which"
+"algorithms"
+"With"
+"GRAVE"
+"length."
+"begin"
+"added"
+"multiple"
+"Name"
+"buffer"
+"object"
+"M"
+"unused"
+"most"
+"regular"
+"A-F."
+"letter"
+"device"
+"The"
+"]"
+"appear"
+"D."
+"considered"
+"clear"
+"sometimes"
+"request"
+"traditional"
+"L.,"
+"R"
+"(URL)"
+"everything"
+"If"
+"Its"
+"fact"
+"\x22MIME"
+"Web"
+"Note:"
+"particularly"
+"DNS"
+"text"
+"labels"
+"relation"
+"TCP"
+"Under"
+"SP"
+"find"
+"make"
+"pause"
+"based"
+"implementation"
+"("
+"(C)"
+"cache"
+"specified"
+"state"
+"WINS,"
+"should"
+"failed"
+"only"
+"Base"
+"[RFC1630]."
+"STD:"
+"8"
+"local"
+"US-ASCII"
+"do"
+"INTERNET"
+"handle"
+"[RFC3513]."
+"means"
+"=="
+"H"
+"account"
+"While"
+"cannot"
+"rest"
+"consecutive"
+"report"
+"during"
+"THE"
+"BNF"
+"(IF"
+"14"
+"REPRESENTS"
+"processes"
+"resource"
+"OUTPUT"
+"cached"
+"accordance"
+"method"
+"J."
+"\x22URL:\x22"
+"INCLUDING"
+"common"
+"contain"
+"including"
+"where"
+"Universal"
+"ORGANIZATION"
+"ignored"
+"set"
+"IANA"
+"For"
+"(%41-%5A"
+"we"
+"(SP)."
+"(IDNA)\x22,"
+"relative"
+"depends"
+"individual"
+"multipart"
+"close"
+"\x22X\x22"
+"E.,"
+"subject"
+"detect"
+"FOR"
+"2DIGIT"
+"purpose"
+"quality"
+"BUT"
+"label"
+"3"
+"determined"
+"various"
+"between"
+"[RFC1034]"
+"probably"
+"boundary"
+"email"
+"MERCHANTABILITY"
+"C"
+"terms"
+"ability"
+"parent"
+"missing"
+"0X"
+"[UCS]"
+"S"
+"STD"
+"no"
+"key"
+"(MIME)"
+"20"
+"Identifier"
+"P."
+"valid"
+"AND"
+"received"
+"WWW"
+"NOTE:"
+"last"
+"reverse"
+"many"
+"0x"
+"according"
+"against"
+"(%5F),"
+"Individual"
+"separator"
+"context"
+"empty."
+"however,"
+"expression"
+"\x27A\x27"
+"generic"
+"WARRANTY"
+"among"
+"can"
+"reasons"
+"others"
+"period"
+"TELNET"
+"header"
+"[RFC1630]"
+"colon"
+"D.2."
+"Index"
+"[RFC2234]."
+"respect"
+"[RFC2234],"
+"BCP"
+"["
+"[STD63];"
+"forms"
+"C."
+"second"
+"basis"
+"addition"
+"S.,"
+"(MHTML)\x22,"
+"been"
+"mark"
+"Introduction"
+"ANY),"
+"much"
+"context."
+"basic"
+"expected"
+"CONTRIBUTOR,"
+"WARRANTIES,"
+"empty"
+"4"
+"XML"
+"field"
+"URL?\x22,"
+"enable"
+"general"
+"W3C/MIT"
+"both"
+"CA"
+"SMTP"
+"ALL"
+"else"
+"A),"
+"[BCP35]."
+"Using"
+"MA"
+"mapped"
+"BY"
+"case"
+"exception"
+"handling"
+"these"
+"THAT"
+"as"
+"value"
+"will"
+"receive"
+"while"
+"replaced"
+"time,"
+"error"
+"BUFFER"
+"\x22HTTP"
+"loop"
+"L."
+"almost"
+"is"
+"thus"
+"herein"
+"Content"
+"MIME"
+"in"
+"trusted"
+"if"
+"result"
+"binary"
+"containing"
+"perhaps"
+"ISO/IEC"
+"\x22A"
+")"
+"flag."
+"set."
+"flag,"
+"\x22A\x22,"
+"of,"
+"[RFC2141]"
+"matches"
+"Objects"
+"widely"
+"Address"
+"9"
+"DIGIT"
+"several"
+"EBCDIC"
+"higher"
+"status"
+"used"
+"http"
+"HTML"
+"I"
+"IP"
+"IS"
+"effect"
+"URI"
+"action"
+"running"
+"user"
+"characters"
+"HEXDIG"
+"frequently"
+"[ASCII]"
+"lower"
+"task"
+"undefined"
+"[RFC2557]"
+"safely"
+"failing"
+"well"
+"It"
+"ANY"
+"thought"
+"[RFC1737]"
+"client"
+"services"
+"Names"
+"In"
+"position"
+"the"
+"[RFC1808]"
+"left"
+"[RFC3490]"
+"protocol"
+"US-ASCII."
+"2C:"
+"less"
+"being"
+"observed"
+"obtain"
+"actions"
+"(%2D),"
+"stored"
+"Internet"
+"useful"
+"R."
+"[UCS],"
+"tables"
+"unique"
+"application"
+"point"
+"character"
+"source"
+"internal"
+"location"
+"Although"
+"usage"
+"input"
+"(%7E)"
+"instructions"
+"remaining"
+"match"
+"URI."
+"URI,"
+"aspects"
+"around"
+"format"
+"Many"
+"URI\x22"
+"possible"
+"action,"
+"URI:"
+"T"
+"address."
+"D.W."
+"integer"
+"password"
+"color"
+"loss"
+"\x22%3A\x22)"
+"like"
+"B."
+"manual"
+"(R),"
+"server"
+"specific"
+"true"
+"either"
+"OF"
+"output"
+"security"
+"LALR"
+"OR"
+"[RFC3513]"
+"because"
+"often"
+"sequence"
+"existing"
+"uppercase"
+"B.,"
+"some"
+"System"
+"library"
+"[RFC2046]"
+"[RFC2396],"
+"equivalent"
+"examples"
+"table"
+"proper"
+"unless"
+"5"
+"exists"
+"DQUOTE"
+"ignore"
+"W3C"
+"Institute"
+"String"
+"for"
+"avoid"
+"inside"
+"/"
+"track"
+"does"
+"[RFC2396]"
+"refer"
+"be"
+"DISCLAIM"
+"(UTF-16),"
+"[RFC1535]"
+"example,"
+"Official"
+"\x22%C3%80\x22,"
+"host"
+"TASK"
+"become"
+"properties"
+"\x22URL\x22"
+"on"
+"about"
+"ENGINEERING"
+"actual"
+"WEBDAV\x22,"
+"(UCS)\x22,"
+"of"
+"R.,"
+"\x22UTF-8,"
+"o"
+"compatible"
+"range"
+"plus"
+"(ABNF:"
+"referred"
+"or"
+"No"
+"into"
+"within"
+"bound"
+"parsing"
+"URL,"
+"pair"
+"right"
+"determine"
+"T.,"
+"."
+"32-bit"
+"additional"
+"WARRANTIES"
+"IETF"
+"segment"
+"support"
+"there"
+"question"
+"[RFC1123]."
+"long"
+"decode"
+"strict"
+"describes"
+"User"
+"was"
+"punctuation"
+"servers."
+"function"
+"[RFC2718]"
+"medium"
+"complete"
+"form"
+"enough"
+"reference."
+"registered"
+"differences"
+"OCTET"
+"but"
+"back"
+"failure"
+"server."
+"IMPLIED"
+"POSIX"
+"(URI)"
+"[RFC2141],"
+"LIMITED"
+"encoded"
+"line"
+"highest"
+"with"
+"longer"
+"also"
+"made"
+"algorithm"
+"consist"
+"versions"
+"default"
+"\x22%D3%81%87%A4%95%81@%C2%85%81%83%88\x22."
+"are,"
+"up"
+"different"
+"PURPOSE."
+"below"
+"limit"
+"authorization"
+"site"
+"problem"
+"define"
+"similar"
+"called"
+"(URN)"
+"Reserved"
+"USE"
+"associated"
+"[RFC1738]"
+"USA"
+"defined"
+"Some"
+"escape"
+"unsafe"
+"an"
+"To"
+"single"
+"warning"
+"exist"
+"at"
+"file"
+"International"
+"[RFC2234]"
+"check"
+"physical"
+"incorrect"
+"Only"
+"variety"
+"May"
+"allow"
+"44"
+"generally"
+"invalid"
+"A."
+"name."
+"other"
+"lookup"
+"test"
+"[RFC2732],"
+"you"
+"out"
+"IDNA"
+"SOCIETY"
+"formats"
+"elements"
+"provided"
+"period,"
+"UDP,"
+"describe"
+"update"
+"Remove"
+"March"
+"T."
+"chance"
+"important"
+"U"
+"Context"
+"included"
+"literals"
+"N"
+"structure"
+"[RFC2718]."
+"[RFC1737]."
+"lead"
+"using"
+"requires"
+"persistent"
+"An"
+"As"
+"time"
+"directory"
+"ALPHA"
+"[RFC3305]."
+"12"
+"starting"
+"having"
+"once"

Powered by Google App Engine
This is Rietveld 408576698