You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust/htp/fuzz/fuzz_targets/fuzz_htp.rs

15 lines
247 B
Rust

#![allow(non_snake_case)]
#![no_main]
#[macro_use] extern crate libfuzzer_sys;
extern crate htp;
use htp::test::{Test, TestConfig};
use std::env;
fuzz_target!(|data: &[u8]| {
let mut t = Test::new(TestConfig());
t.run_slice(data);
});