Skip to main content

fuzz_parse_expr_bytes

Function fuzz_parse_expr_bytes 

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

Structure-aware fuzz entrypoint for fp_expr::parse_expr(...).

The narrowest expr-surface fuzz target per /testing-fuzzing Rule 2 (“fuzz the parser, not the application”). Every eval/query caller inherits parser bugs, so this target catches bugs at their source.

Per br-frankenpandas-jkhg Rule 3 coverage. Input is clamped to 4096 bytes and interpreted as lossy UTF-8. Panics in parse_expr are failures; Err returns are allowed.