mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-15 11:01:10 +01:00
11 lines
293 B
Rust
11 lines
293 B
Rust
|
#![no_main]
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
|
||
|
fuzz_target!(|data: &str| {
|
||
|
let mut ctx = kalk::parser::Context::new().set_timeout(Some(5));
|
||
|
|
||
|
// We don't care if it parses or not, we only care about if it panicked
|
||
|
// while parsing
|
||
|
let _ = kalk::parser::parse(&mut ctx, data);
|
||
|
});
|