__fuzz_control_blocks
Frame arbitrary control-mode output into replies, and check each reply.
Source and package
- Qualified name
-
libtmux::control:: fuzz:: _ _fuzz _control _blocks - Module
- control.fuzz
- Package
- libtmux
- Source
- crates/libtmux/src/control/fuzz.rs
-
Description#
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.