首页> 外文会议>ACM SIGPLAN International Conference on Functional Programming >Control-Flow Analysis of Function Calls and Returnsby Abstract Interpretation
【24h】

Control-Flow Analysis of Function Calls and Returnsby Abstract Interpretation

机译:函数调用的控制流程分析和Returnby抽象解释

获取原文

摘要

We derive a control-flow analysis that approximates the interproce-dural 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, our analysis computes for each expression an abstract control stack, effectively approximating where func-tion calls return across optimized tail calls. The analysis is sys-tematically calculated by abstract interpretation of the stack-based CaEK abstract machine of Flanagan et al. using a series of Galois connections. Abstract interpretation provides a unifying setting in which we 1) prove the analysis equivalent to the composition of a continuation-passing style (CPS) transformation followed by an ab-stract interpretation of a stack-less CPS machine, and 2) extract an equivalent constraint-based formulation, thereby providing a ratio-nal reconstruction of a constraint-based control-flow analysis from abstract interpretation principles.
机译:我们推出了一个控制流程分析,近似于函数调用的逆转控制流程,并在存在一流的功能和尾呼叫优化时返回。除了抽象环境之外,我们的分析还计算每个表达式抽象控制堆栈,有效地近似于在优化的尾呼叫中返回的磁带呼叫。通过抽象解释Flanagan等人的堆栈的Caek摘要机器,分析是通过抽象解释的制奏地计算。使用一系列Galois连接。摘要解释提供了一种统一的环境,其中我们1)证明了对延续的CPS机器的持续通行风格(CPS)变换的组成等于的分析,然后对堆栈的CPS机器和2)提取相当的约束基于抽象的制剂,从抽象解释原理提供基于约束的控制流量分析的比率-NAL重建。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号