Abstract
In this article we present a general method for achieving global static analyzers that are precise, sound, yet also scalable. Our method generalizes the sparse analysis techniques on top of the abstract interpretation framework to support relational as well as non-relational semantics properties for C-like languages. We first use the abstract interpretation framework to have a global static analyzer whose scalability is unattended. Upon this underlying sound static analyzer, we add our generalized sparse analysis techniques to improve its scalability while preserving the precision of the underlying analysis. Our framework determines what to prove to guarantee that the resulting sparse version should preserve the precision of the underlying analyzer. We formally present our framework; we present that existing sparse analyses are all restricted instances of our framework; we show more semantically elaborate design examples of sparse nonrelational and relational static analyses; we present their implementation results that scale to analyze up to one million lines of C programs. We also show a set of implementation techniques that turn out to be critical to economically support the sparse analysis process.
Original language | English |
---|---|
Pages (from-to) | 229-238 |
Number of pages | 10 |
Journal | ACM SIGPLAN Notices |
Volume | 47 |
Issue number | 6 |
DOIs | |
Publication status | Published - 2012 Aug |
Externally published | Yes |
Keywords
- Abstract interpretation
- Sparse analysis
- Static analysis
ASJC Scopus subject areas
- Computer Science(all)