Alias Analysis for Object-Oriented Programs
Alias Analysis for Object-Oriented Programs
复制标题
面向对象程序的别名分析
DOI:
10.1007/978-3-642-36946-9_8
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
Eran Yahav
中科院分区:
文献类型:
--
作者:
Manu Sridharan;S. Chandra;Julian T Dolby;Stephen J. Fink;Eran Yahav
We present a high-level survey of state-of-the-art alias analyses for object-oriented programs, based on a years-long effort developing industrial-strength static analyses for Java. We first present common variants of points-to analysis, including a discussion of key implementation techniques. We then describe flow-sensitive techniques based on tracking of access paths, which can yield greater precision for certain clients. We also discuss how whole-program alias analysis has become less useful for modern Java programs, due to increasing use of reflection in libraries and frameworks. We have found that for real-world programs, an under-approximate alias analysis based on access-path tracking often provides the best results for a variety of practical clients.