【24h】

A Heuristic Approach for Computing Effects

机译:一种用于计算效果的启发式方法

获取原文

摘要

The effect of an operation on an object network can be described by the access paths along which the function reads or writes object properties. Abstracted to access path permissions, the effect can serve as part of the operation's documentation, augmenting a type signature or a contract for the operation. Statically determining such an effect is a challenging problem, in particular in a dynamic language which represents objects by hash tables like the current breed of scripting languages. In this work, we propose an analysis that computes access permissions describing the effect of an operation from a set of access paths obtained by running the program. The main ingredient of the analysis is a novel heuristic to abstract a set of access paths to a concise access permission. Our analysis is implemented as part of JSConTest, a testing framework for JavaScript. It has been applied to a range of examples with encouraging results.
机译:可以由函数读取或写入对象属性的访问路径来描述对象网络上的操作的影响。摘要访问路径权限,效果可以作为操作文档的一部分,增强类型签名或操作合同。静态地确定这种效果是一个具有挑战性的问题,特别是一种动态语言,其代表对象的哈希表,如当前的脚本语言。在这项工作中,我们提出了一个分析,该分析计算描述通过运行程序获得的一组访问路径的操作的效果的访问权限。分析的主要成分是一种新的启发式,可以抽象一组简洁访问权限的访问路径。我们的分析是作为JSCONTEST的一部分,是JavaScript的测试框架。它已应用于一系列令人鼓舞的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号