Points-to Analysis: A Fine-Grained Evaluation

被引:0
|
作者
Lundberg, Jonas [1 ]
Lowe, Welf [1 ]
机构
[1] Linnaeus Univ, Vaxjo, Sweden
关键词
Static program analysis; Points-to analysis; Context sensitivity;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Points-to analysis is a static program analysis that extracts reference information from programs, e.g., possible targets of a call and possible objects referenced by a field. Previous works evaluating different approaches to context-sensitive Points-to analyses use coarse-grained precision metrics focusing on references between source code entities like methods and classes. Two typical examples of such metrics are the number of nodes and edges in a call-graph. These works indicate that context-sensitive analysis with a call-depth k = 1 only provides slightly better precision than context-insensitive analysis. Moreover, these works could not find a substantial precision improvement when using the more expensive analyses with call-depth k > 1. The hypothesis in the present paper is that substantial differences between the context-sensitive approaches show if (and only if) the precision is measured by more fine-grained metrics focusing on individual objects (rather than methods and classes) and references between them. These metrics are justified by the many applications requiring such detailed object reference information. In order to experimentally validate our hypothesis we make a systematic comparison of ten different variants of context-sensitive Points-to analysis using different call-depths k >= 1 for separating the contexts. For the comparison we use a metric suite containing four different metrics that all focus on individual objects and references between them. The main results show that the differences between different context-sensitive analysis techniques are substantial, also the differences between the context-insensitive and the context-sensitive analyses with call-depth k = 1 are substantial. The major surprise was that increasing the call-depth k > 1 did not lead to any substantial precision improvements. This is a negative result since it indicates that, in practice, we cannot get a more precise Points-to analysis by increasing the call-depth. Further investigations show that substantial precision improvements can be detected for k > 1, but they occur at such a low detail level that they are unlikely to be of any practical use.
引用
收藏
页码:2851 / 2878
页数:28
相关论文
共 50 条
  • [21] Generalized Points-to Graphs: A Precise and Scalable Abstraction for Points-to Analysis
    Gharat, Pritam M.
    Khedker, Uday P.
    Mycroft, Alan
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2020, 42 (02):
  • [22] IFPUG Function Points to COSMIC Function Points convertibility: A fine-grained statistical approach
    Abualkishik, Abedallah Zaid
    Lavazza, Luigi
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 97 : 179 - 191
  • [23] Searching,for points-to analysis
    Bruns, G
    Chandra, S
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (10) : 883 - 897
  • [24] The ART of Sharing Points-to Analysis: Reusing Points-to Analysis Results Safely and Efficiently
    Halalingaiah, Shashin
    Sundaresan, Vijay
    Maier, Daryl
    Nandivada, V. Krishna
    Proceedings of the ACM on Programming Languages, 2024, 8 (OOPSLA2)
  • [25] FINE-GRAINED MONOLITH
    Louw, Michael
    ARCHITECTURE SOUTH AFRICA, 2019, (96): : 48 - 49
  • [26] Is fine-grained viable?
    Aaldering, M
    EDN, 1997, 42 (02) : 28 - 28
  • [27] ORIENTATION ANALYSIS OF FINE-GRAINED CLASTIC SEDIMENTS
    DAPPLES, EC
    ROMINGER, JF
    GEOLOGICAL SOCIETY OF AMERICA BULLETIN, 1945, 56 (12) : 1153 - 1154
  • [28] Fine-grained multilayer virtualized systems analysis
    Biancheri, Cedric
    Dagenais, Michel R.
    JOURNAL OF CLOUD COMPUTING-ADVANCES SYSTEMS AND APPLICATIONS, 2016, 5
  • [29] Fine-Grained Financial News Sentiment Analysis
    Meyer, Bradley
    Bikdash, Marwan
    Dai, Xiangfeng
    SOUTHEASTCON 2017, 2017,
  • [30] Fine-Grained Analysis of Packet Loss in MANETs
    Khan, Muhammad Saleem
    Midi, Daniele
    Khan, Majid Iqbal
    Bertino, Elisa
    IEEE ACCESS, 2017, 5 : 7798 - 7807