arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.3108cs.PL
收藏

修剪、下推异常-流分析

Pruning, Pushdown Exception-Flow Analysis

Shuying Liang, Weibin Sun, Matthew Might, Andy Keep, David Van Horn

摘要:

静态推理异常的存在和异常的影响是具有挑战性的:异常流是相互确定的传统的控制流和点的分析。我们从两个角度来应对分析异常流的挑战。首先,从修剪控制流(正常和异常)的角度,我们推导出一个具有全功能异常的面向对象语言的下推框架。与传统的分析不同,它可以精确地匹配投掷者和接球者。其次,从修剪指向信息的角度,将抽象垃圾回收推广到面向对象程序中,并通过活性分析对其进行了改进。然后,我们无缝编织的技术增强可达性计算,产生高度精确的异常流分析,而不会变得棘手,即使是大型应用程序。我们评估我们的修剪,下推异常流分析,比较它与大规模的标准Java基准的既定分析。结果表明,我们的分析显着提高了分析精度比传统的分析在合理的分析时间。

英文摘要:

Statically reasoning in the presence of exceptions and about the effects of exceptions is challenging: exception-flows are mutually determined by traditional control-flow and points-to analyses. We tackle the challenge of analyzing exception-flows from two angles. First, from the angle of pruning control-flows (both normal and exceptional), we derive a pushdown framework for an object-oriented language with full-featured exceptions. Unlike traditional analyses, it allows precise matching of throwers to catchers. Second, from the angle of pruning points-to information, we generalize abstract garbage collection to object-oriented programs and enhance it with liveness analysis. We then seamlessly weave the techniques into enhanced reachability computation, yielding highly precise exception-flow analysis, without becoming intractable, even for large applications. We evaluate our pruned, pushdown exception-flow analysis, comparing it with an established analysis on large scale standard Java benchmarks. The results show that our analysis significantly improves analysis precision over traditional analysis within a reasonable analysis time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑