In Defense of Soundiness: A Manifesto

  • Ben Livshits

Communications of the ACM | , Vol 58(2): pp. 44-46

Publication

Static program analysis is a key component of many software development tools, including compilers, development environments, and verification tools. Practical applications of static analysis have grown in recent years to include tools by companies such as Coverity, Fortify, GrammaTech, IBM, and others. Analyses are often expected to be sound in that their result models all possible executions of the program under analysis. Soundness implies the analysis computes an over-approxima­tion in order to stay tractable; the analy­sis result will also model behaviors that do not actually occur in any program execution. The precision of an analysis is the degree to which it avoids such spurious results. Users expect analyses to be sound as a matter of course, and desire analyses to be as precise as pos­sible, while being able to scale to large programs.