chore(pumpkin-nbt): add fuzzing & benches
This commit is contained in:
1 parent
60ad62bbf1
commit
35b91efd38
14 files changed
+647
-8
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#![no_main]
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
use pumpkin_nbt::nbt_compress::read_gzip_compound_tag;
|
||||
use std::io::Cursor;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
let cursor = Cursor::new(data);
|
||||
let _ = read_gzip_compound_tag(cursor);
|
||||
});
|
||||
Reference in new issue
Block a user