1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00

fuzz init

This commit is contained in:
Robin Appelman 2022-12-21 22:49:02 +01:00
commit 697052897e
7 changed files with 104 additions and 1 deletions

View 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) });