mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
fuzz init
This commit is contained in:
parent
e132a34a00
commit
697052897e
7 changed files with 104 additions and 1 deletions
8
fuzz/fuzz_targets/fuzz_target_1.rs
Normal file
8
fuzz/fuzz_targets/fuzz_target_1.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![no_main]
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
fn fuzz(data: &[u8]) {
|
||||
let _ = vbsp::Bsp::read(data);
|
||||
}
|
||||
|
||||
fuzz_target!(|data: &[u8]| { fuzz(data) });
|
||||
Loading…
Add table
Add a link
Reference in a new issue