首页> 外文期刊>Higher-order and symbolic computation >Selectors Make Set-Based Analysis Too Hard
【24h】

Selectors Make Set-Based Analysis Too Hard

机译:选择器使基于集合的分析过于困难

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

摘要

A set-based program analysis establishes constraints between sets of abstract values for all expressions in a program. Solving the system of constraints produces a conservative approximation to the program's runtime flow of values. Some practical set-based analyses use explicit selectors to extract the relevant values from an approximation set. For example, if the analysis needs to determine the possible return values of a procedure, it uses the appropriate selector to extract the relevant component from the abstract representation of the procedure. In this paper, we show that this selector-based approach complicates the constraint solving phase of the analysis too much and thus fails to scale up to realistic programming languages. We demonstrate this claim with a full-fledged value flow analysis for case-lambda, a multi-branched version of lambda. We show how both the theoretical underpinnings and the practical implementation become too complex. In response, we present a variant of set-based closure analysis that computes equivalent results in a much more efficient manner.
机译:基于集合的程序分析为程序中的所有表达式建立了抽象值集之间的约束。解决约束系统会产生对程序的运行时值流的保守近似值。一些基于集合的实用分析使用显式选择器从近似集中提取相关值。例如,如果分析需要确定过程的可能返回值,则它使用适当的选择器从过程的抽象表示中提取相关组件。在本文中,我们证明了这种基于选择器的方法使分析的约束求解阶段变得非常复杂,因此无法扩展到实际的编程语言。我们通过对case-lambda(lambda的多分支版本)进行全面的价值流分析来证明这一主张。我们展示了理论基础和实际实施如何变得太复杂。作为回应,我们提出了一种基于集合的闭包分析的变体,它以更有效的方式计算等效结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号