An efficient inclusion-based points-to analysis for strictly-typed languages

被引:0
|
作者
Whaley, J [1 ]
Lam, MS [1 ]
机构
[1] Stanford Univ, Comp Syst Lab, Stanford, CA 94305 USA
来源
STATIC ANALYSIS, PROCEEDINGS | 2002年 / 2477卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We describe the design and implementation of an efficient. inclusion-based points-to analysis for strictly-typed object-oriented languages. Our implementation easily scales to millions of lines of Java code, and it supports language features such as inheritance, object fields, exceptional control flow, type casting, dynamic dispatch, and reflection. Our algorithm is based on Heintze and Tardieu's Andersen-style points-to analysis designed originally for C programs. We have improved the precision of their algorithm by tracking the fields of individual objects separately and by analyzing the local variables in a method in a flow-sensitive manner. Our algorithm represents the semantics of each procedure concisely using a sparse summary graph representation based on access paths; it iterates over this sparse representation until it reaches a fixed point solution. By utilizing the access path and field information present in the summary graphs, along with minimizing redundant operations and memory management overheads, we are able to quickly and effectively analyze very large programs. Our experimental results demonstrate that this technique can be used to compute precise static call graphs for very large Java programs.
引用
收藏
页码:180 / 195
页数:16
相关论文
共 43 条
  • [31] Call-Graph-Based Context-Sensitive Points-to Analysis for Java']Java
    Bao, Yulin
    Zhang, Chenyi
    Su, Kaile
    IEEE TRANSACTIONS ON RELIABILITY, 2024, 73 (02) : 851 - 860
  • [32] Analysis and Estimation of an Inclusion-Based Effective Fluid Modulus for Tight Gas-Bearing Sandstone Reservoirs
    Wang, Pu
    Chen, Xiaohong
    Li, Xiangyang
    Cui, Yi-an
    Li, Jingye
    Wang, Benfeng
    IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2022, 60
  • [33] Evaluating the Benefits of Context-Sensitive Points-to Analysis Using a BDD-Based Implementation
    Lhotak, Ondrej
    Hendren, Laurie
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2008, 18 (01)
  • [34] Thermoelastic analysis of a bi-layered system with the single domain inclusion-based boundary element method
    Wu, Chunlin
    Zhang, Liangliang
    Singhatanadgid, Pairod
    Zhang, Dongsheng
    ENGINEERING ANALYSIS WITH BOUNDARY ELEMENTS, 2023, 157 : 374 - 389
  • [35] Making context-sensitive inclusion-based pointer analysis practical for compilers using parameterised summarisation
    Sui, Yulei
    Ye, Sen
    Xue, Jingling
    Zhang, Jie
    SOFTWARE-PRACTICE & EXPERIENCE, 2014, 44 (12): : 1485 - 1510
  • [36] Thermoelastic behavior analysis of finite composites embedded in ellipsoidal inhomogeneities with inclusion-based boundary element method
    Zhang, Guanyi
    Zhang, Yifan
    Wang, Tengxiang
    Zhang, Liangliang
    Gao, Yang
    INTERNATIONAL JOURNAL OF SOLIDS AND STRUCTURES, 2025, 309
  • [37] Scaling CFL-Reachability-Based Points-To Analysis Using Context-Sensitive Must-Not-Alias Analysis
    Xu, Guoqing
    Rountev, Atanas
    Sridharan, Manu
    ECOOP 2009 - OBJECT-ORIENTED PROGRAMMING, 2009, 5653 : 98 - +
  • [38] Fine-Grained Control-Flow Integrity Based on Points-to Analysis for CPS (vol 2018, 3130652, 2018)
    Qiang, Weizhong
    Wang, Shizhen
    Jin, Hai
    Zhong, Jiangying
    SECURITY AND COMMUNICATION NETWORKS, 2018,
  • [39] The Inclusion-Based LINMAP Method for Multiple Criteria Decision Analysis Within an Interval-Valued Atanassov's Intuitionistic Fuzzy Environment
    Chen, Ting-Yu
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGY & DECISION MAKING, 2014, 13 (06) : 1325 - 1360
  • [40] AN INTEGRATED APPROACH TO THE ANALYSIS OF AMPLITUDE VARIATION WITH OFFSET IN VERTICAL TRANSVERSELY ISOTROPIC (VTI) MEDIA USING INCLUSION-BASED ROCK PHYSICS MODELING
    Ghanbarnejad-moghanloo, Hamed
    Riahi, Mohammad Ali
    JOURNAL OF SEISMIC EXPLORATION, 2023, 32 (01): : 67 - 88