diff options
Diffstat (limited to 'fuzz/fuzz_targets/markdown.rs')
-rw-r--r-- | fuzz/fuzz_targets/markdown.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fuzz/fuzz_targets/markdown.rs b/fuzz/fuzz_targets/markdown.rs deleted file mode 100644 index ca6d86b..0000000 --- a/fuzz/fuzz_targets/markdown.rs +++ /dev/null @@ -1,12 +0,0 @@ -#![no_main] -use libfuzzer_sys::fuzz_target; - -fuzz_target!(|data: &[u8]| { - if let Ok(s) = std::str::from_utf8(data) { - let _ = markdown::to_html(s); - 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()); - } -}); |