首页> 外文期刊>Information and computation >Control-flow analysis of function calls and returns by abstract interpretation
【24h】

Control-flow analysis of function calls and returns by abstract interpretation

机译:通过抽象解释对函数调用和返回进行控制流分析

获取原文
获取原文并翻译 | 示例
           

摘要

Abstract interpretation techniques are used to derive a control-flow analysis for a simple higher-order functional language. The analysis approximates the interprocedural control-flow of both function calls and returns in the presence of first-class functions and tail-call optimization. In addition to an abstract environment, the analysis computes for each expression an abstract call-stack, effectively approximating where function calls return. The analysis is systematically derived by abstract interpretation of the stack-based C_aEK abstract machine of Flanagan et al. using a series of Galois connections. We prove that the analysis is equivalent to an analysis obtained by first transforming the program into continuation-passing style and then performing control flow analysis of the transformed program. We then show how the analysis induces an equivalent constraint-based formulation, thereby providing a rational reconstruction of a constraint-based CFA from abstract interpretation principles.
机译:抽象解释技术用于推导简单的高阶功能语言的控制流分析。该分析近似了两个函数调用的过程间控制流,并在存在一流函数和尾部调用优化的情况下返回。除了抽象环境外,该分析还为每个表达式计算一个抽象调用堆栈,从而有效地逼近函数调用返回的位置。通过对Flanagan等人的基于堆栈的C_aEK抽象机的抽象解释,系统地得出该分析。使用一系列的Galois连接。我们证明该分析等效于通过先将程序转换为连续传递样式,然后对转换后的程序执行控制流分析而获得的分析。然后,我们展示了该分析如何引发等效的基于约束的表述,从而从抽象解释原理中合理地重构了基于约束的CFA。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号