aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_targets/markdown.rs
diff options
context:
space:
mode:
authorLibravatar Christian Murphy <christian.murphy.42@gmail.com>2022-11-25 04:09:52 -0700
committerLibravatar GitHub <noreply@github.com>2022-11-25 12:09:52 +0100
commit7f06d55d84db512cc9b1eee0ef23db2d7bf30214 (patch)
tree1f428a73ab3ccf11fb162cfa6de28a27ccd6befa /fuzz/fuzz_targets/markdown.rs
parenteea185ea8509d37a1f87babab75b1f94350db802 (diff)
downloadmarkdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.tar.gz
markdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.tar.bz2
markdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.zip
Add mdx parser to fuzzing
Closes GH-25. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
Diffstat (limited to 'fuzz/fuzz_targets/markdown.rs')
-rw-r--r--fuzz/fuzz_targets/markdown.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/fuzz_targets/markdown.rs b/fuzz/fuzz_targets/markdown.rs
index c86a7db..ca6d86b 100644
--- a/fuzz/fuzz_targets/markdown.rs
+++ b/fuzz/fuzz_targets/markdown.rs
@@ -7,5 +7,6 @@ fuzz_target!(|data: &[u8]| {
let _ = markdown::to_html_with_options(s, &markdown::Options::gfm());
let _ = markdown::to_mdast(s, &markdown::ParseOptions::default());
let _ = markdown::to_mdast(s, &markdown::ParseOptions::gfm());
+ let _ = markdown::to_mdast(s, &markdown::ParseOptions::mdx());
}
});