mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
16 lines
386 B
Rust
16 lines
386 B
Rust
// This file is part of the uutils coreutils package.
|
|
//
|
|
// For the full copyright and license information, please view the LICENSE
|
|
// file that was distributed with this source code.
|
|
|
|
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use uucore::parser::parse_glob;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
if let Ok(s) = std::str::from_utf8(data) {
|
|
_ = parse_glob::from_str(s);
|
|
}
|
|
});
|