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

Unified Diff: testing/libfuzzer/fuzzers/dicts/mhtml.dict

Issue 2199493002: libFuzzer for blink::MHTMLParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback from esprehn@. Created 4 years, 4 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
« no previous file with comments | « base/test/test_suite.cc ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/fuzzers/dicts/mhtml.dict
diff --git a/testing/libfuzzer/fuzzers/dicts/mhtml.dict b/testing/libfuzzer/fuzzers/dicts/mhtml.dict
new file mode 100644
index 0000000000000000000000000000000000000000..f3205f12901e005101decc4b74741181fff06ba1
--- /dev/null
+++ b/testing/libfuzzer/fuzzers/dicts/mhtml.dict
@@ -0,0 +1,68 @@
+# 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.
+
+# This file contains several basic MHTML syntax elements based on
+# 1) rfc2557
+# 2) test files from chromium/third_party/WebKit/LayoutTests/mhtml
+# 3) suggestions from manual runs of libFuzzer
+
+line_ending_1="\x0D\x0A"
+line_ending_2="\x0D"
+line_ending_3="\x0A"
+backslash="\\"
+space=" "
+tab="\x08"
+open_paren="("
+close_paren=")"
+
+content_location1="Content-Location: CID: foo@bar.net"
+content_location2="Content-Location: http://www.ietf.cnri.reston.va.us/images/ietflogo.gif"
+content_location3="Content-Location: CID:foo@bar.net ; this header is disregarded"
+content_location4="Content-Location: CID:foo@bar.net"
+content_location5="Content-Location: CID:foo3@foo1@bar.net"
+
+content_type1_line1="Content-Type: multipart/related; boundary=\"boundary-example\";"
+content_type1_line2a="\x08type\"text/html\""
+content_type1_line2b="\x08type="text/html"
+content_type1_line2c="\x08type=\"text/html\"; start=\"<foo3@foo1@bar.net>\""
+content_type1_line2d="\x08type=\"text/html\"; start=\"<foo@bar.net>\""
+content_type2="Content-Type: text/html;charset=\"US-ASCII\""
+content_type3="Content-Type: text/html; charset=\"iso-8859-1\""
+content_type4="Content-Type: multipart/related;"
+content_type5="Content-Type: IMAGE/GIF"
+
+content_id1="Content-ID: <97116092511xyz@foo.bar.net>"
+content_id2="Content-ID: <foo@bar.net>"
+content_id3="Content-ID: <foo4@foo1@bar.net>"
+
+cid_uri_usage_1="<IMG SRC=\"cid:foo4@foo1@bar.net\">"
+cid_uri_usage_2="<IMG SRC=\"cid:foo@bar.net\">"
+
+boundary_prefix="--"
+boundary_1="--boundary-example"
+boundary_final1="--boundary-example--"
+boundary_3="\x08boundary=\"----=_NextPart_000_0000_87206557.D2C008B0\";"
+
+from="From: foo1@bar.net"
+to="To: foo2@bar.net"
+
+subject_1="Subject: A simple example"
+subject_2="Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?="
+
+date_1="Date: Wed, May 11 2011 15:36:36 GMT-0700"
+
+mime_version="Mime-Version: 1.0"
+
+content_transfer_encoding1="Content-Transfer-Encoding: base64"
+content_transfer_encoding2="Content-Transfer-Encoding: quoted-printable"
+content_transfer_encoding3="Content-Transfer-Encoding: binary"
+content_transfer_encoding4="Content-Transfer-Encoding: 7bit"
+content_transfer_encoding5="Content-Transfer-Encoding: 8bit"
+
+libFuzzer_suggestion1="date"
+libFuzzer_suggestion2="Access-Control-Allow-Extern"
+libFuzzer_suggestion3="Link"
+libFuzzer_suggestion4="from"
+libFuzzer_suggestion5="boundary"
+libFuzzer_suggestion6="mime-version"
« no previous file with comments | « base/test/test_suite.cc ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698