Research Article
A static analyzer for finding dynamic programming errors
Article first published online: 2 MAY 2000
DOI: 10.1002/(SICI)1097-024X(200006)30:7<775::AID-SPE309>3.0.CO;2-H
Copyright © 2000 John Wiley & Sons, Ltd.
Additional Information
How to Cite
Bush, W. R., Pincus, J. D. and Sielaff, D. J. (2000), A static analyzer for finding dynamic programming errors. Software: Practice and Experience, 30: 775–802. doi: 10.1002/(SICI)1097-024X(200006)30:7<775::AID-SPE309>3.0.CO;2-H
Publication History
- Issue published online: 2 MAY 2000
- Article first published online: 2 MAY 2000
- Manuscript Accepted: 28 DEC 1999
- Manuscript Revised: 27 DEC 1999
- Manuscript Received: 9 NOV 1998
- Abstract
- References
- Cited By
Keywords:
- program analysis;
- program error checking
Abstract
There are important classes of programming errors that are hard to diagnose, both manually and automatically, because they involve a program's dynamic behavior. This article describes a compile-time analyzer that detects these dynamic errors in large, real-world programs. The analyzer traces execution paths through the source code, modeling memory and reporting inconsistencies. In addition to avoiding false paths through the program, this approach provides valuable contextual information to the programmer who needs to understand and repair the defects. Automatically-created models, abstracting the behavior of individual functions, allow inter-procedural defects to be detected efficiently. A product built on these techniques has been used effectively on several large commercial programs. Copyright © 2000 John Wiley & Sons, Ltd.

1097-024X/asset/olbannerleft.jpg?v=1&s=2d7d001211f2c40f177a231141601e9f52afc1f3)
1097-024X/asset/olbannerright.jpg?v=1&s=3aec7891a8ba78b361ead9743adfc0b6eae6369a)
1097-024X/asset/cover.gif?v=1&s=5a70ecca2928358eca4ff75b9921d0552ffb6539)