This repository has been archived on 2021-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
git-config/fuzz/fuzz_targets/parser.rs

10 lines
202 B
Rust
Raw Normal View History

2021-02-24 13:30:14 -08:00
#![no_main]
use git_config::parser::Parser;
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &[u8]| {
2021-02-24 14:55:58 -08:00
// Don't name this _; Rust may optimize it out.
let _a = Parser::from_bytes(data);
2021-02-24 13:30:14 -08:00
});