ACM Transactions on Programming Languages and Systems · 2019 · 23 citations · 45 references
ComputingComputer ScienceAlgorithmsMachine LearningSoftware EngineeringControl-flow AnalysisData-flow AnalysisStatic AnalysisStatic Code AnalysisBrute-force SearchContext-sensitive AnalysisGreedy HeuristicsProgram Property Analysis
We present a new machine-learning algorithm with disjunctive model for data-driven program analysis. One major challenge in static program analysis is a substantial amount of manual effort required for tuning the analysis performance. Recently, data-driven program analysis has emerged to address this challenge by automatically adjusting the analysis based on data through a learning algorithm. Although this new approach has proven promising for various program analysis tasks, its effectiveness has been limited due to simple-minded learning models and algorithms that are unable to capture sophisticated, in particular disjunctive, program properties. To overcome this shortcoming, this article presents a new disjunctive model for data-driven program analysis as well as a learning algorithm to find the model parameters. Our model uses Boolean formulas over atomic features and therefore is able to express nonlinear combinations of program properties. A key technical challenge is to efficiently determine a set of good Boolean formulas, as brute-force search would simply be impractical. We present a stepwise and greedy algorithm that efficiently learns Boolean formulas. We show the effectiveness and generality of our algorithm with two static analyzers: context-sensitive points-to analysis for Java and flow-sensitive interval analysis for C. Experimental results show that our automated technique significantly improves the performance of the state-of-the-art techniques including ones hand-crafted by human experts.
45
Stephen M. Blackburn, Robin Garner, Chris Hoffmann et al. · 2006 · 1.6K citations · Full text
Antoine Miné · LISP and Symbolic Computation · 2006 · 698 citations
Michael Hind · 2001 · 583 citations
A static analyzer for large safety-critical software
Bruno Blanchet, Patrick Cousot, Radhia Cousot et al. · ACM SIGPLAN Notices · 2003 · 577 citations
Efficient context-sensitive pointer analysis for C programs
Robert P. Wilson, Monica S. Lam · ACM SIGPLAN Notices · 1995 · 538 citations