mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
11 lines
251 B
Rust
11 lines
251 B
Rust
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use uucore::parser::parse_time;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
if let Ok(s) = std::str::from_utf8(data) {
|
|
_ = parse_time::from_str(s, true);
|
|
_ = parse_time::from_str(s, false);
|
|
}
|
|
});
|