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 条
  • [31] Staged Points-to Analysis for Large Code Bases
    Allen, Nicholas
    Scholz, Bernhard
    Krishnan, Padmanabhan
    COMPILER CONSTRUCTION (CC 2015), 2015, 9031 : 131 - 150
  • [32] Demand-Driven Refinement of Points-to Analysis
    Sun, Chenguang
    Midkiff, Samuel
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2019), 2019, : 264 - 265
  • [33] Correlation Tracking for Points-To Analysis of Java']JavaScript
    Sridharan, Manu
    Dolby, Julian
    Chandra, Satish
    Schaefer, Max
    Tip, Frank
    ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 435 - 458
  • [34] Points-to Analysis: A Fine-Grained Evaluation
    Lundberg, Jonas
    Lowe, Welf
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2012, 18 (20) : 2851 - 2878
  • [35] Modeling and Diagnosing Buggy Programs with Points-to Analysis
    Peng, Tao
    Zhang, Qiang
    Chen, Rong
    MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 2927 - +
  • [36] Prioritizing pointer analysis algorithm based on points-to updating
    PLA Information Engineering University, Zhengzhou
    450002, China
    Ruan Jian Xue Bao, 11 (2486-2498):
  • [37] Towards path-sensitive points-to analysis
    Gutzmann, Tobias
    Lundberg, Jonas
    Lowe, Welf
    SEVENTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2007, : 59 - 68
  • [38] Fast points-to analysis for languages with structured types
    Jung, M
    Huss, SA
    SOFTWARE AND COMPILERS FOR EMBEDDED SYSTEMS, PROCEEDINGS, 2004, 3199 : 107 - 121
  • [39] Parallel Inclusion-based Points-to Analysis
    Mendez-Lojo, Mario
    Mathew, Augustine
    Pingali, Keshav
    ACM SIGPLAN NOTICES, 2010, 45 (10) : 428 - 443
  • [40] Parallel Sparse Flow-Sensitive Points-to Analysis
    Zhao, Jisheng
    Burke, Michael G.
    Sarkar, Vivek
    CC'18: PROCEEDINGS OF THE 27TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION, 2018, : 59 - 70