mirror of https://github.com/OISF/suricata
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.
15 lines
247 B
Rust
15 lines
247 B
Rust
|
3 years ago
|
#![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);
|
||
|
|
});
|