Points-to Analysis as a System of Linear Equations

被引:0
|
作者
Nasre, Rupesh [1 ]
Govindarajan, Ramaswamy [1 ]
机构
[1] Indian Inst Sci, Dept Comp Sci & Automat, Bangalore 560012, Karnataka, India
来源
STATIC ANALYSIS | 2010年 / 6337卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:422 / 438
页数:17
相关论文
共 50 条
  • [21] Points-To Analysis with Efficient Strong Updates
    Lhotak, Ondrej
    Chung, Kwok-Chiang Andrew
    POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2011, : 3 - 15
  • [22] Points-To Analysis with Efficient Strong Updates
    Lhotak, Ondrej
    Chung, Kwok-Chiang Andrew
    ACM SIGPLAN NOTICES, 2011, 46 (01) : 3 - 15
  • [23] Using XBDDs and ZBDDs in points-to analysis
    Lhotak, Ondrej
    Curial, Stephen
    Amaral, Jose Nelson
    SOFTWARE-PRACTICE & EXPERIENCE, 2009, 39 (02): : 163 - 188
  • [24] Prioritizing Constraint Evaluation for Efficient Points-to Analysis
    Nasre, Rupesh
    Govindarajan, R.
    2011 9TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2011, : 267 - 276
  • [25] Points-to analysis for partial call graph construction
    College of Computer Science and Technology, Zhejiang University, Hangzhou
    310027, China
    Zhejiang Daxue Xuebao (Gongxue Ban), 6 (1031-1040):
  • [26] Supporting Operating System Kernel Data Disambiguation Using Points-to Analysis
    Ibrahim, Amani S.
    Grundy, John
    Hamlyn-Harris, James
    Almorsy, Mohamed
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 234 - 237
  • [27] Parallel Replication-Based Points-To Analysis
    Putta, Sandeep
    Nasre, Rupesh
    COMPILER CONSTRUCTION, CC 2012, 2012, 7210 : 61 - 80
  • [28] Efficient points-to analysis for whole-program analysis
    Liang, DL
    Harrold, MJ
    SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS, 1999, 1687 : 199 - 215
  • [29] Context-sensitive points-to analysis:: Is it worth it?
    Lhoták, O
    Hendren, L
    COMPILER CONSTRUCTION, PROCEEDINGS, 2006, 3923 : 47 - 64
  • [30] Hybrid Context-Sensitivity for Points-To Analysis
    Kastrinis, George
    Smaragdakis, Yannis
    ACM SIGPLAN NOTICES, 2013, 48 (06) : 423 - 433