# control.fuzz.__fuzz_control_blocks

- **Module:** control.fuzz
- **Package:** libtmux
- **Language:** Rust
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/control/fuzz.rs#L34
- **Page:** https://libtmux.org/en/rs/latest/reference/control-fuzz-__fuzz_control_blocks/

```
control.fuzz.__fuzz_control_blocks(data: &[u8])
```

Frame arbitrary control-mode output into replies, and check each reply.

The first byte sets the line budget and how many requests are queued; the
next byte per request says how many commands it chained and whether its
caller has gone. The rest is what tmux wrote. Lines are read the way the
connection actor reads them, and every closed block goes to the actor's
reply slots.

# Panics

When a line inside a block is anything but output or that block's own
terminator, or when a reply holds other than the blocks it was owed: the
next ones in order, stopping at the first failure.
