【24h】

Pushdown Flow Analysis of First-Class Control

机译:一流控制的下推流程分析

获取原文

摘要

Pushdown models are better than control-flow graphs for higher-order flow analysis. They faithfully model the call/return structure of a program, which results in fewer spurious flows and increased precision. However, pushdown models require that calls and returns in the analyzed program nest properly. As a result, they cannot be used to analyze language constructs that break call/return nesting such as generators, coroutines, call/cc, etc. In this paper, we extend the CFA2 flow analysis to create the first pushdown flow analysis for languages with first-class control. We modify the abstract semantics of CFA2 to allow continuations to escape to, and be restored from, the heap. We then present a summarization algorithm that handles escaping continuations via a new kind of summary edge. We prove that the algorithm is sound with respect to the abstract semantics.
机译:下推模型优于控制流程图,用于高阶流量分析。他们忠实地模拟了一个程序的呼叫/返回结构,这导致杂散流量较少并提高精度。但是,下推模型要求正确调用并返回分析的程序嵌套。结果,它们不能用于分析语言构造,即打破呼叫/返回嵌套,如发电机,科调节,呼叫/ cc等。在本文中,我们扩展了CFA2流分析,以创建与语言的第一个下推流分析一流的控制。我们修改CFA2的抽象语义,以允许逃脱并从堆中恢复。然后,我们展示了一种通过新的摘要边缘处理延续延续的概述算法。我们证明了算法对抽象语义具有声音。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号