Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/znippy

znippy-common/fuzz/fuzz_targets/ipc_stream.rs

//! Any bytes the guard lets through must decode in arrow-ipc without a panic
//! or an abort; the guard itself must never panic.
#![no_main]
use libfuzzer_sys::fuzz_target;
use znippy_common::ipc_guard;

fuzz_target!(|data: &[u8]| {
    let _ = ipc_guard::valid_prefix(data);
    if let Ok(reader) = ipc_guard::stream_reader(data) {
        for batch in reader {
            let _ = batch;
        }
    }
});