aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_targets/micromark.rs
diff options
context:
space:
mode:
authorLibravatar Christian Murphy <christian.murphy.42@gmail.com>2022-10-25 02:00:56 -0700
committerLibravatar GitHub <noreply@github.com>2022-10-25 11:00:56 +0200
commit74ec04655f81eb57a648846b2a77974428497b86 (patch)
tree037339efd41a90bf8cef4cb6209f5c20b037439b /fuzz/fuzz_targets/micromark.rs
parent6a600621a0d374657562b0c08c252b3d164a1540 (diff)
downloadmarkdown-rs-74ec04655f81eb57a648846b2a77974428497b86.tar.gz
markdown-rs-74ec04655f81eb57a648846b2a77974428497b86.tar.bz2
markdown-rs-74ec04655f81eb57a648846b2a77974428497b86.zip
Fix filename of fuzzer task
Closes GH-12.
Diffstat (limited to 'fuzz/fuzz_targets/micromark.rs')
-rw-r--r--fuzz/fuzz_targets/micromark.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/fuzz/fuzz_targets/micromark.rs b/fuzz/fuzz_targets/micromark.rs
deleted file mode 100644
index c058637..0000000
--- a/fuzz/fuzz_targets/micromark.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#![no_main]
-use libfuzzer_sys::fuzz_target;
-extern crate markdown;
-
-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());
- }
-});