• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 The Chromium Authors
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.1 requests, to the extent that
6# HttpServer parses those (not very much).
7
8# Tokens the parser cares about.
9# INPUT_LWS
10" "
11"\x09"
12
13# INPUT_CR
14"\x0D"
15
16# INPUT_LF
17"\x0A"
18
19# INPUT_COLON
20":"
21
22# Methods... The code doesn't actually care much about those
23"GET "
24"HEAD "
25
26# The server really wants one of these.
27"HTTP/1.1"
28
29# Some characters for URLs.
30"/"
31"%"
32"a"
33"?"
34
35# Want this accessible...
36"\x0D\x0A"
37
38# Some stuff for headers
39"Content-Length: 10"
40
41# Things that WebSocket cares about.
42"Connection: upgrade\x0D\x0Asec-websocket-version: 13\x0D\x0Asec-websocket-key: abcd"
43# There is a separate fuzzer for this.
44"sec-websocket-extensions: permessage-deflate"
45
46# String terminator for FuzzedDataProvider::ConsumeRandomLengthString.
47"\\ "
48
49# There is a lot of use of ConsumeIntegralInRange clients, like ConsumeBool,
50# so try make it easy to produce lots of inputs for these.
51"\x00\x00\x00\x00"
52