Re:Iddqd, or the hardest kind of unsafe Rust
by sunshowers on Tuesday June 02, 2026 @12:04PM
(#48372059)
Thanks Andrew! Honestly I learned so much about what makes unsafe Rust so hard from building iddqd.
[ Parent
| on HN ]
Re:Iddqd, or the hardest kind of unsafe Rust
by epilys on Tuesday June 02, 2026 @05:20PM
(#48376468)
Hi Rain, have you considered fuzzing? and if not, why?
(Thanks for cargo-nextest btw!)
Re:Iddqd, or the hardest kind of unsafe Rust
by sunshowers on Tuesday June 02, 2026 @05:36PM
(#48376673)
Since iddqd works on structured data, the model-based tests (while not being coverage-guided) do a lot of the kinds of things fuzzing would do against an algorithm which accepted unstructured data. In principle the bitstream from which structured data is generated could be provided by a fuzzer rather than the system RNG, but proptest makes that somewhat inconvenient. It's possible the newer Hegel library makes that easier, though.
(You're welcome!)