2016 · 22 citations · 46 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesSoftware EngineeringControl-flow AnalysisData-flow AnalysisStatic AnalysisStatic Code AnalysisAbstractionAbstraction RefinementCounterexample-guided Abstraction RefinementExecution Time AnalysisPointer AnalysisProgram RefinementRandom Graph ModelsRefinement
The core challenge in designing an effective static program analysis is to find a good program abstraction -- one that retains only details relevant to a given query. In this paper, we present a new approach for automatically finding such an abstraction. Our approach uses a pessimistic strategy, which can optionally use guidance from a probabilistic model. Our approach applies to parametric static analyses implemented in Datalog, and is based on counterexample-guided abstraction refinement. For each untried abstraction, our probabilistic model provides a probability of success, while the size of the abstraction provides an estimate of its cost in terms of analysis time. Combining these two metrics, probability and cost, our refinement algorithm picks an optimal abstraction. Our probabilistic model is a variant of the Erdos--Renyi random graph model, and it is tunable by what we call hyperparameters. We present a method to learn good values for these hyperparameters, by observing past runs of the analysis on an existing codebase. We evaluate our approach on an object sensitive pointer analysis for Java programs, with two client analyses (PolySite and Downcast).
46
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
An Introduction to Variational Methods for Graphical Models
Michael I. Jordan, Zoubin Ghahramani, Tommi Jaakkola et al. · Machine Learning · 1999 · 3.8K citations · Full text
Counterexample-guided abstraction refinement for symbolic model checking
Edmund M. Clarke, Orna Grümberg, Somesh Jha et al. · Journal of the ACM · 2003 · 991 citations
Thomas Ball, Sriram K. Rajamani · 2002 · 926 citations