Cargando…
Effects of Program Representation on Pointer Analyses — An Empirical Study
Static analysis frameworks, such as Soot and Wala, are used by researchers to prototype and compare program analyses. These frameworks vary on heap abstraction, modeling library classes, and underlying intermediate program representation (IR). Often, these variations pose a threat to the validity of...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7978870/ http://dx.doi.org/10.1007/978-3-030-71500-7_12 |
_version_ | 1783667231518883840 |
---|---|
author | Prakash, Jyoti Tiwari, Abhishek Hammer, Christian |
author_facet | Prakash, Jyoti Tiwari, Abhishek Hammer, Christian |
author_sort | Prakash, Jyoti |
collection | PubMed |
description | Static analysis frameworks, such as Soot and Wala, are used by researchers to prototype and compare program analyses. These frameworks vary on heap abstraction, modeling library classes, and underlying intermediate program representation (IR). Often, these variations pose a threat to the validity of the results as the implications of comparing the same analysis implementation in different frameworks are still unexplored. Earlier studies have focused on the precision, soundness, and recall of the algorithms implemented in these frameworks; however, little to no work has been done to evaluate the effects of program representation. In this work, we fill this gap and study the impact of program representation on pointer analysis. Unfortunately, existing metrics are insufficient for such a comparison due to their inability to isolate each aspect of the program representation. Therefore, we define two novel metrics that measure these analyses’ precision after isolating the influence of class-hierarchy and intermediate representation. Our results establish that the minor differences in the class hierarchy and IR do not impact program analysis significantly. Besides, they reveal the sources of unsoundness that aid researchers in developing program analysis. |
format | Online Article Text |
id | pubmed-7978870 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
record_format | MEDLINE/PubMed |
spelling | pubmed-79788702021-03-23 Effects of Program Representation on Pointer Analyses — An Empirical Study Prakash, Jyoti Tiwari, Abhishek Hammer, Christian Fundamental Approaches to Software Engineering Article Static analysis frameworks, such as Soot and Wala, are used by researchers to prototype and compare program analyses. These frameworks vary on heap abstraction, modeling library classes, and underlying intermediate program representation (IR). Often, these variations pose a threat to the validity of the results as the implications of comparing the same analysis implementation in different frameworks are still unexplored. Earlier studies have focused on the precision, soundness, and recall of the algorithms implemented in these frameworks; however, little to no work has been done to evaluate the effects of program representation. In this work, we fill this gap and study the impact of program representation on pointer analysis. Unfortunately, existing metrics are insufficient for such a comparison due to their inability to isolate each aspect of the program representation. Therefore, we define two novel metrics that measure these analyses’ precision after isolating the influence of class-hierarchy and intermediate representation. Our results establish that the minor differences in the class hierarchy and IR do not impact program analysis significantly. Besides, they reveal the sources of unsoundness that aid researchers in developing program analysis. 2021-02-24 /pmc/articles/PMC7978870/ http://dx.doi.org/10.1007/978-3-030-71500-7_12 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Prakash, Jyoti Tiwari, Abhishek Hammer, Christian Effects of Program Representation on Pointer Analyses — An Empirical Study |
title | Effects of Program Representation on Pointer Analyses — An Empirical Study |
title_full | Effects of Program Representation on Pointer Analyses — An Empirical Study |
title_fullStr | Effects of Program Representation on Pointer Analyses — An Empirical Study |
title_full_unstemmed | Effects of Program Representation on Pointer Analyses — An Empirical Study |
title_short | Effects of Program Representation on Pointer Analyses — An Empirical Study |
title_sort | effects of program representation on pointer analyses — an empirical study |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7978870/ http://dx.doi.org/10.1007/978-3-030-71500-7_12 |
work_keys_str_mv | AT prakashjyoti effectsofprogramrepresentationonpointeranalysesanempiricalstudy AT tiwariabhishek effectsofprogramrepresentationonpointeranalysesanempiricalstudy AT hammerchristian effectsofprogramrepresentationonpointeranalysesanempiricalstudy |