Database-Backed Program Analysis for Scalable Error Propagation
Cathrin Weiß, Cindy Rubio-González, Ben Liblit · Proceedings/Proceedings - International Conference on Software Engineering · 2015
Software is rapidly increasing in size and complexity. Static analyses must be designed to scale well if they are to be usable with realistic applications, but prior efforts have often been limited by available memory. We propose a database-backed strategy for large program analysis based on graph algorithms, using a Semantic Web database to manage representations of the program under analysis. Our approach is applicable to a variety of interprocedural finite distributive subset (IFDS) dataflow problems; we focus on error propagation as a motivating example. Our implementation analyzes multi-million-line programs quickly and in just a fraction of the memory required by prior approaches. When memory alone is insufficient, our approach falls back on disk using several hybrid configurations tuned to put all available resources to good use.
Cited by 17 works. doi:10.1109/icse.2015.75
Authors
References
- LLVM: a compilation framework for lifelong program analysis & transformation
- Precise interprocedural dataflow analysis via graph reachability
- A static analyzer for finding dynamic programming errors
- CIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
- Magic Sets and Other Strange Ways to Implement Logic Programs.
- Scalable Semantic Web Data Management Using Vertical Partitioning
- Cloning-based context-sensitive pointer alias analysis using binary decision diagrams
- Hexastore
- RDF-3X
- Automatic construction of sparse data flow evaluation graphs