blob: b3ddfb51263b4443a54b187bf478263cd8413bad (
plain)
1
2
3
4
5
6
7
8
9
|
// #1547
fuzz_target!(|data: &[u8]| if let Some(first) = data.first() {
let index = *first as usize;
if index >= ENCODINGS.len() {
return;
}
let encoding = ENCODINGS[index];
dispatch_test(encoding, &data[1..]);
});
|