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

Side by Side Diff: net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict

Issue 2649983003: A simple fuzzer for HttpServer, with limited coverage of WebSocket. (Closed)
Patch Set: Rebased, looked like doing it automatically failed Created 3 years, 10 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.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 ConsumeUint32InRange clients, like ConsumeBool,
50 # so try make it easy to produce lots of inputs for these.
51 "\x00\x00\x00\x00"
OLDNEW
« no previous file with comments | « net/data/fuzzer_data/http_server_requests/websocket.bin ('k') | net/server/http_server_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698