ePrints@IIScePrints@IISc Home | About | Browse | Latest Additions | Advanced Search | Contact | Help

Points-to Analysis as a System of Linear Equations

Nasre, Rupesh and Govindarajan, Ramaswamy (2010) Points-to Analysis as a System of Linear Equations. In: 17th International Static Analysis Symposium, SEP 14-16, 2010, Perpignan, FRANCE, pp. 422-438.

[img]
Preview
PDF
nasre-sas10-linear.pdf - Accepted Version

Download (203kB)
Official URL: http://www.springerlink.com/content/670561u6567q67...

Abstract

We propose a novel formulation of the points-to analysis as a system of linear equations. With this, the efficiency of the points-to analysis can be significantly improved by leveraging the advances in solution procedures for solving the systems of linear equations. However, such a formulation is non-trivial and becomes challenging due to various facts, namely, multiple pointer indirections, address-of operators and multiple assignments to the same variable. Further, the problem is exacerbated by the need to keep the transformed equations linear. Despite this, we successfully model all the pointer operations. We propose a novel inclusion-based context-sensitive points-to analysis algorithm based on prime factorization, which can model all the pointer operations. Experimental evaluation on SPEC 2000 benchmarks and two large open source programs reveals that our approach is competitive to the state-of-the-art algorithms. With an average memory requirement of mere 21MB, our context-sensitive points-to analysis algorithm analyzes each benchmark in 55 seconds on an average.

Item Type: Conference Paper
Series.: Lecture Notes in Computer Science
Publisher: Springer
Additional Information: Copyright of this article belongs to Springer.
Department/Centre: Division of Electrical Sciences > Computer Science & Automation
Date Deposited: 12 Apr 2011 11:54
Last Modified: 15 Apr 2011 05:49
URI: http://eprints.iisc.ac.in/id/eprint/36050

Actions (login required)

View Item View Item