3 ms·
> To invoke correctness seems to suggest that you can do some amount of verification using fuzzing, but that's not really the case (unless you have a reference
by robryk 9y ago
> To invoke correctness seems to suggest that you can do some amount of verification using fuzzing, but that's not really the case (unless you have a reference implementation).
Not necessarily. You just need to be able to verify correctness of the output and fuzz the following program:
y := f(x)
if (y,x) are not correct then crash
E.g. if you want to verify correctness of the compressor, try to check if a known-good decompressor can always decompress its output to its input. This is simpler than having a reference implementation.