Semi-sparse flow-sensitive pointer analysis
Authors:
Open Access
- 21 January 2009
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 44 (1) , 226-238
Abstract
Pointer analysis is a prerequisite for many program analyses, and the effectiveness of these analyses depends on the precision of the pointer information they receive. Two major axes of pointer analysis precision are flow-sensitivity and context-sensitivity, and while there has been significant recent progress regarding scalable context-sensitive pointer analysis, relatively little progress has been made in improving the scalability of flow-sensitive pointer analysis. This paper presents a new interprocedural, flow-sensitive pointer analysis algorithm that combines two ideas-semi-sparse analysis and a novel use of BDDs-that arise from a careful understanding of the unique challenges that face flow-sensitive pointer analysis. We evaluate our algorithm on 12 C benchmarks ranging from 11K to 474K lines of code. Our fastest algorithm is on average 197x faster and uses 4.6x less memory than the state of the art, and it can analyze programs that are an order of magnitude larger than the previous state of the art.Keywords
This publication has 40 references indexed in Scilit:
- Error checking with client-driven pointer analysisScience of Computer Programming, 2005
- Compiler support for speculative multithreading architecture with probabilistic points-to analysisACM SIGPLAN Notices, 2003
- Algorithms for computing the static single assignment formJournal of the ACM, 2003
- On sparse evaluation representationsTheoretical Computer Science, 2002
- Compiler support for scalable and efficient memory systemsIEEE Transactions on Computers, 2001
- Modular interprocedural pointer analysis using access pathsACM SIGPLAN Notices, 2000
- Off-line variable substitution for scaling points-to analysisACM SIGPLAN Notices, 2000
- Interprocedural pointer alias analysisACM Transactions on Programming Languages and Systems, 1999
- Efficiently computing Φ-nodes on-the-flyACM Transactions on Programming Languages and Systems, 1995
- Efficiently computing static single assignment form and the control dependence graphACM Transactions on Programming Languages and Systems, 1991