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 条
  • [31] Fine-grained analysis of language varieties and demographics
    Rangel, Francisco
    Rosso, Paolo
    Zaghouani, Wajdi
    Charfi, Anis
    NATURAL LANGUAGE ENGINEERING, 2020, 26 (06) : 641 - 661
  • [32] Fine-Grained Analysis of Propaganda in News Articles
    Da San Martino, Giovanni
    Yu, Seunghak
    Barron-Cedeno, Alberto
    Petrov, Rostislav
    Nakov, Preslav
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 5636 - 5646
  • [33] NEURAL DISCRIMINANT ANALYSIS FOR FINE-GRAINED CLASSIFICATION
    Ha, Mai Lan
    Blanz, Volker
    2020 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2020, : 1656 - 1660
  • [34] Fine-Grained Analysis of Similar Code Snippets
    Galasso, Jessie
    Famelis, Michalis
    Sahraoui, Houari
    REUSE AND SOFTWARE QUALITY (ICSR 2022), 2022, 13297 : 3 - 21
  • [35] Fine-Grained Analysis of Diversity Levels in the News
    Amsalem, Eran
    Fogel-Dror, Yair
    Shenhav, Shaul R.
    Sheafer, Tamir
    COMMUNICATION METHODS AND MEASURES, 2020, 14 (04) : 266 - 284
  • [36] MERCURY POROSIMETRY ANALYSIS OF FINE-GRAINED GRAPHITE
    BRIXIUS, WH
    DAGDIGIAN, JV
    CARBON, 1984, 22 (02) : 230 - 230
  • [37] Fine-Grained Cryptography
    Degwekar, Akshay
    Vaikuntanathan, Vinod
    Vasudevan, Prashant Nalini
    ADVANCES IN CRYPTOLOGY (CRYPTO 2016), PT III, 2016, 9816 : 533 - 562
  • [38] Analysis of the Hart equation in fine-grained material
    Belova, IV
    Murch, GE
    DIFFUSIONS IN MATERIALS: DIMAT2000, PTS 1 & 2, 2001, 194-1 : 1223 - 1226
  • [39] Salient points driven pedestrian group retrieval with fine-grained representation
    Chen, Xiao-Han
    Lai, Jian-Huang
    NEUROCOMPUTING, 2021, 423 : 255 - 263
  • [40] Fine-grained Sentiment Analysis Of Online Reviews
    Wan, Yan
    Nie, Hongzhurui
    Lan, Tianguang
    Wang, Zhaohui
    2015 12TH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (FSKD), 2015, : 1406 - 1411