mirror of
https://github.com/Automattic/harper.git
synced 2025-12-23 08:48:15 +00:00
* fuzz: add example fuzzing targets * fuzz: don't disable lto * fuzz: add markdown parser fuzz target * docs(fuzz): adjust documentation to match current state of LTO + add parallelization --------- Co-authored-by: Elijah Potter <me@elijahpotter.dev>
9 lines
190 B
Rust
9 lines
190 B
Rust
#![no_main]
|
|
|
|
use harper_core::parsers::StrParser;
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
fuzz_target!(|data: &str| {
|
|
let typst = harper_typst::Typst;
|
|
let _res = typst.parse_str(data);
|
|
});
|