native-ipc-testkit
Deterministic hostile-input generators and golden-message helpers for testing
protocols built on native-ipc-core.
The helpers are deliberately bounded so they are suitable for ordinary unit tests and CI, not only fuzzing jobs.
Example
use ;
let canonical = b"NIPC";
let truncations: = every_truncation.collect;
assert_eq!;
assert_eq!;
let mutations = bounded_bit_mutations;
assert_eq!;
assert_ne!;
assert_eq!;
Additional helpers produce fixed-field shared-layout mutations and exactly
sized encoded golden vectors. The committed cross-platform fixtures are in the
golden_vectors integration test.
The same bounded corpus API is runnable as the
hostile_inputs example.
Licensed under MIT or Apache-2.0.