12 lines
387 B
Rust
12 lines
387 B
Rust
//! Fuzzes the XML reader behind every HTTP answer: never panics, whatever the bytes.
|
|
//! Phase A: the parser returns `Unimplemented`; QA adds the properties (round trips, caps) with the logic.
|
|
//! How to run: see the comment at the top of `fuzz/Cargo.toml`.
|
|
|
|
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
let _ = domistream::http::xml::parse(data);
|
|
});
|