Program analysis via efficient symbolic abstraction
Authors:
Open Access
- 15 October 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 5 (OOPSLA) , 1-32
Abstract
This paper concerns the scalability challenges of symbolic abstraction: given a formula ϕ in a logic L and an abstract domain A , find a most precise element in the abstract domain that over-approximates the meaning of ϕ. Symbolic abstraction is an important point in the space of abstract interpretation, as it allows for automatically synthesizing the best abstract transformers. However, current techniques for symbolic abstraction can have difficulty delivering on its practical strengths, due to performance issues. In this work, we introduce two algorithms for the symbolic abstraction of quantifier-free bit-vector formulas, which apply to the bit-vector interval domain and a certain kind of polyhedral domain, respectively. We implement and evaluate the proposed techniques on two machine code analysis clients, namely static memory corruption analysis and constrained random fuzzing. Using a suite of 57,933 queries from the clients, we compare our approach against a diverse group of state-of-the-art algorithms. The experiments show that our algorithms achieve a substantial speedup over existing techniques and illustrate significant precision advantages for the clients. Our work presents strong evidence that symbolic abstraction of numeric domains can be efficient and practical for large and realistic programs.Keywords
This publication has 53 references indexed in Scilit:
- TSLACM Transactions on Programming Languages and Systems, 2013
- Fully Bounded Polyhedral Analysis of Integers with WrappingElectronic Notes in Theoretical Computer Science, 2012
- Efficiently solving quantified bit-vector formulasFormal Methods in System Design, 2012
- Random Walks on Polytopes and an Affine Interior Point Method for Linear ProgrammingMathematics of Operations Research, 2012
- New developments in the theory of Gröbner bases and applications to formal verificationJournal of Pure and Applied Algebra, 2009
- The octagon abstract domainHigher-Order and Symbolic Computation, 2006
- An MCMC approach to classical estimationJournal of Econometrics, 2003
- Applying Linear Quantifier EliminationThe Computer Journal, 1993
- On the Complexity of Computing the Volume of a PolyhedronSIAM Journal on Computing, 1988
- A bibliography of quantifier elimination for real closed fieldsJournal of Symbolic Computation, 1988