Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-rs latest

__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
#[doc(hidden)] pub fn __fuzz_control_blocks(data: &[u8])

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.

Parameters
Esc

Type to search.

Reference previewOpen reference