Skip to main content

Module host

Module host 

Source
Expand description

The seam between probes and the machine: ProbeHost.

Probes never touch the OS directly; they ask a host to run a tool, read a file or list a directory. SystemHost does it for real (with a per-command timeout and no shell); tests supply a fake host with canned outputs, so a Linux ARM board or a Coral TPU can be simulated on a Mac.

Structs§

SystemHost
The real machine.

Constants§

MAX_OUTPUT
Largest tool output a probe reads, in bytes.

Traits§

ProbeHost
What probes may ask of the machine.