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" |