构造调用图的关系静态语义
A Relational Static Semantics for Call Graph Construction
摘要:
解决面向对象语言中虚方法和接口调用的问题一直是程序分析界面临的一个长期挑战。复杂性是由于各种原因造成的,例如大型程序中类继承和多态性级别的增加。在本文中,我们提出了一种新的方法,称为类型流分析,表示传播的类型信息之间的程序变量的一组关系,而无需堆抽象的帮助。我们证明,关于类信息的可达性变量的精度,我们的方法产生的结果相当于一个可以从一个点到分析。此外,在实践中,我们的方法消耗较低的时间和空间使用,实验结果支持。
英文摘要:
The problem of resolving virtual method and interface calls in object-oriented languages has been a long standing challenge to the program analysis community. The complexities are due to various reasons, such as increased levels of class inheritance and polymorphism in large programs. In this paper, we propose a new approach called type flow analysis that represent propagation of type information between program variables by a group of relations without the help of a heap abstraction. We prove that regarding the precision on reachability of class information to a variable, our method produces results equivalent to that one can derive from a points-to analysis. Moreover, in practice, our method consumes lower time and space usage, as supported by the experimental results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。