...
首页> 外文期刊>Mathematical structures in computer science >Type-based flow analysis and context-free language reachability
【24h】

Type-based flow analysis and context-free language reachability

机译:基于类型的流分析和无上下文语言可达性

获取原文

摘要

We present a novel approach to computing the context-sensitive flow of values through procedures and data structures. Our approach combines and extends techniques from two seemingly disparate areas: polymorphic subtyping and interprocedural dataflow analysis based on context-free language reachability. The resulting technique offers several advantages over previous approaches: it works directly on higher-order programs; provides demand-driven interprocedural queries; and improves the asymptotic complexity of a known algorithm based on polymorphic subtyping from O(n~8) to O(n~3) for computing all queries. For intra-procedural flow restricted to equivalence classes, our algorithm yields linear inter-procedural flow queries.
机译:我们提出了一种新颖的方法来通过过程和数据结构计算上下文相关的值流。我们的方法结合并扩展了两个看似完全不同的领域的技术:多态子类型化和基于无上下文语言可达性的过程间数据流分析。与以前的方法相比,所产生的技术具有多个优点:它可直接用于高阶程序;提供需求驱动的过程间查询;并提高了基于从O(n〜8)到O(n〜3)的多态子类型化来计算所有查询的已知算法的渐近复杂度。对于限于等价类的过程内流,我们的算法产生线性过程间流查询。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号