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

高阶程序的下推控制流分析

Pushdown Control-Flow Analysis of Higher-Order Programs

Christopher Earl, Matthew Might, David Van Horn

摘要:

与上下文无关的静态分析方法通过完美地匹配返回到调用点-一个消除虚假过程间路径的属性-获得了优于经典方法的精度。Vardoulakis和Shivers最近对CFA 2的表述表明,将上下文无关方法应用于高阶语言并获得与一阶程序相同的精度提升是可能的(如果昂贵的话)。这个年轻的机构的工作上下文无关的高阶程序的分析,我们贡献了一个下推控制流分析框架,我们推导出一个抽象的解释CESK机与无界堆栈。这个框架的一个实例标志着高阶程序的第一个多变量下推分析;另一个标志着第一个多项式时间分析。最后,我们到达一个框架,控制流分析,可以有效地计算下推概括的经典控制流分析。

英文摘要:

Context-free approaches to static analysis gain precision over classical approaches by perfectly matching returns to call sites---a property that eliminates spurious interprocedural paths. Vardoulakis and Shivers's recent formulation of CFA2 showed that it is possible (if expensive) to apply context-free methods to higher-order languages and gain the same boost in precision achieved over first-order programs. To this young body of work on context-free analysis of higher-order programs, we contribute a pushdown control-flow analysis framework, which we derive as an abstract interpretation of a CESK machine with an unbounded stack. One instantiation of this framework marks the first polyvariant pushdown analysis of higher-order programs; another marks the first polynomial-time analysis. In the end, we arrive at a framework for control-flow analysis that can efficiently compute pushdown generalizations of classical control-flow analyses.

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

↑