On the Recall of Static Call Graph Construction in Practice.
Saved in:
| Title: | On the Recall of Static Call Graph Construction in Practice. |
|---|---|
| Authors: | Li Sui, Dietrich, Jens, Tahir, Amjed, Fourtounis, George |
| Source: | ICSE: International Conference on Software Engineering; 6/17/2020, p1049-1060, 12p |
| Subject Terms: | DYLAN (Computer program language), JAVA programming language, COMPUTER programming, SOFTWARE engineering, ARTIFICIAL intelligence |
| Abstract: | Static analyses have problems modelling dynamic language features soundly while retaining acceptable precision. The problem is wellunderstood in theory, but there is little evidence on howthis impacts the analysis of real-world programs. We have studied this issue for call graph construction on a set of 31 real-world Java programs using an oracle of actual program behaviour recorded from executions of built-in and synthesised test cases with high coverage, have measured the recall that is being achieved by various static analysis algorithms and configurations, and investigated which language features lead to static analysis false negatives. We report that (1) the median recall is 0.884 suggesting that standard static analyses have significant gaps with respect to the proportion of the program modelled (2) built-in tests are significantly better to expose dynamic program behaviour than synthesised tests (3) adding precision to the static analysis has little impact on recall indicating that those are separate concerns (4) state-of-the-art support for dynamic language features can significantly improve recall (the median observed is 0.935 ), but it comes with a hefty performance penalty, and (5) the main sources of unsoundness are not reflective method invocations, but objects allocated or accessed via native methods, and invocations initiated by the JVM, without matching call sites in the program under analysis. These results provide some novel insights into the interaction between static and dynamic program analyses that can be used to assess the utility of static analysis results and to guide the development of future static and hybrid analyses. [ABSTRACT FROM AUTHOR] |
| Copyright of ICSE: International Conference on Software Engineering is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Complementary Index |
Be the first to leave a comment!