mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-28 08:01:24 +00:00
13 lines
236 B
Rust
13 lines
236 B
Rust
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use mail_parser_fuzz::kernels;
|
|
use std::sync::Once;
|
|
|
|
static REPORTED: Once = Once::new();
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
REPORTED.call_once(kernels::report);
|
|
kernels::check(data);
|
|
});
|