A Symbolic Constraint Solving Framework for Analysis of Logic Programs

C. R. Ramakrishnan, I. V. Ramakrishnan, R. Sekar


Abstract:

Abstract Interpretation of logic programs using symbolic constraints has attracted a lot of attention lately since such approaches can yield very elegant formulation of many analyses. Moreover, the performance of an analysis that uses constraints to represent program properties and symbolic constraint solving techniques to infer them, can be largely insensitive to domain size. However, implementations of these techniques must balance the conflicting requirements of (a) providing efficient constraint solving algorithms for specific constraints, and (b) being general enough to deal with a large class of constraints. We overcome the apparent conflict by implementing the analysis and constraint solving operations in multiple layers such that the top most layer is completely generic. The lower layers become increasingly specialized for a particular analysis. Each layer provides a set of operations for the higher layer using the operations provided by the lower layers. Such layering enables us to choose the most efficient algorithms appropriate for that layer, independent of the other layers. The critical aspect of this framework is the identification of interfaces between the layers that enables us to modularize not only our algorithms and implementations, but also the proof efforts. Prototype implementation of our framework shows that it scales very well to large domains, and furthermore, compares favorably with existing implementations of other analysis methods.


Bibtex Entry:

@inproceedings{RRS:PEPM95,
author = {C. R. Ramakrishnan and  I. V. Ramakrishnan and  R. Sekar},
title = {A Symbolic Constraint Solving Framework for Analysis	of Logic Programs},
booktitle = {ACM Symposium on Partial Evaluation and Semantics-based	Program Manipulation},
publisher = {ACM},
pages = {12--23},
year = {1995}
}


Full Paper: [pdf]


Home | Papers

C. R. Ramakrishnan
(cram@cs.sunysb.edu)