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

Unified 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: Created 3 years, 11 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: net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict
diff --git a/net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict b/net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict
new file mode 100644
index 0000000000000000000000000000000000000000..bdf784e8b7d9900958d54181dd70a080c4337287
--- /dev/null
+++ b/net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict
@@ -0,0 +1,47 @@
+# 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.1 requests, to the extent that
+# HttpServer parses those (not very much).
+
+# Tokens the parser cares about.
+# INPUT_LWS
+" "
+"\x09"
+
+# INPUT_CR
+"\x0D"
+
+# INPUT_LF
+"\x0A"
+
+# INPUT_COLON
+":"
+
+# Methods... The code doesn't actually care much about those
+"GET "
+"HEAD "
+
+# The server really wants one of these.
+"HTTP/1.1"
+
+# Some characters for URLs.
+"/"
+"%"
+"a"
+"?"
+
+# Want this accessible...
+"\x0D\x0A"
+
+# Some stuff for headers
+"Content-Length: 10"
+
+# Things that WebSocket cares about.
+"Connection: upgrade"
+"sec-websocket-version: 8"
+"sec-websocket-version: 13"
+"sec-websocket-key: abcd"
+# There is a separate fuzzer for this.
+"sec-websocket-extensions: permessage-deflate"

Powered by Google App Engine
This is Rietveld 408576698