verification
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
verification [2007/11/01 14:09] – franck | verification [2007/11/01 14:13] (current) – franck | ||
---|---|---|---|
Line 135: | Line 135: | ||
gradually used up all available memory thus causing the system to crash. This programming error should not have occurred and was caused by carelessness and lack of quality assurance | gradually used up all available memory thus causing the system to crash. This programming error should not have occurred and was caused by carelessness and lack of quality assurance | ||
of program code changes. Given the nature of the fault it is unlikely that it would have been detected through conventional programmer or user testing." | of program code changes. Given the nature of the fault it is unlikely that it would have been detected through conventional programmer or user testing." | ||
+ | |||
==== Software that kills ==== | ==== Software that kills ==== | ||
Line 150: | Line 151: | ||
Levenson and Turner warn against simply blaming tragedies such as the Therac-25 accidents on software errors alone—they argue for a deeper analysis of “organizational, | Levenson and Turner warn against simply blaming tragedies such as the Therac-25 accidents on software errors alone—they argue for a deeper analysis of “organizational, | ||
+ | True enough, but one of the underlying causes of unsafe software may be the general reluctance to apply formal methods and verification techniques, usually on the grounds that they are too difficult to automate and hence cannot be applied to “real code”. One purpose of this text is to argue by example against the validity of this excuse—to show that through the use of appropriate tools, portions of code can be verified automatically | ||
+ | or semi-automatically, | ||
+ | to check for at least those spelling errors which the dictionary can catch, so we should — in the future, if not today — expect programmers to routinely check or generate their code with software verification tools to catch and eliminate at least those errors which the tools can prevent. Even then programmers will not succeed in stamping out that vexatious and stubborn “last bug”, but at least its available hiding places will grow smaller, and both money and lives may be saved. |
verification.1193926176.txt.gz · Last modified: (external edit)