Skip to main content

fuzz_ipc_stream_io_bytes

Function fuzz_ipc_stream_io_bytes 

Source
pub fn fuzz_ipc_stream_io_bytes(input: &[u8]) -> Result<(), IoError>
Expand description

Structure-aware fuzz entrypoint for the fp-io Arrow IPC stream reader.

Inputs use the same dual-mode envelope as fuzz_feather_io_bytes(). Raw mode (tag % 2 == 0) feeds the remaining bytes directly into read_ipc_stream_bytes(), where parser errors are acceptable but successful parses must round-trip. Synth mode projects bytes into a tiny typed DataFrame, serializes it with write_ipc_stream_bytes(), then checks the reader against that valid payload.