Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,...
by MaxBarraclough on Thursday May 28, 2020 @07:44AM
(#23336156)
Hypothesis: the more fuzzing tools we develop, the fewer infallible C programmers remain.
[ Parent
| on HN ]
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,...
by Gravityloss on Thursday May 28, 2020 @08:11AM
(#23336319)
I'm reminded of this apocryphal story of a revered machinist from Tampere. The city is on an isthmus between two lakes. Their shop was right next to the rapids between the lakes. They were famous, having never made any mistakes.
During some construction event, the city closed off the rapids and no water was flowing there, it was completely dry. There was a massive amount of partially machined objects on the bottom. The machinist had been tossing them out of the window into the water, every time when they made a mistake.
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,...
by MaxBarraclough on Thursday May 28, 2020 @08:44AM
(#23336583)
So the machinist had been using rigorous testing, catching all defects prior to release, rather than using a correct-by-construction methodology. Either approach seems fine.
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,...
by bluGill on Thursday May 28, 2020 @10:09AM
(#23337393)
Neither is perfect. Tests are only as good as your imagination of what to test. Proof by construction is only as good as your ability to have the right axioms
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,...
by MaxBarraclough on Thursday May 28, 2020 @01:17PM
(#23339877)
> Tests are only as good as your imagination of what to test.
A lot of work has been done on code-coverage, boundary-analysis, etc. Testing can never be complete, though.
> Proof by construction is only as good as your ability to have the right axioms
That's not a good summary of the challenges that formal methods face with respect to correctness. Defects can creep in at various points.
See p. 46 of the PDF linked from https://www.adacore.com/tokeneer