【24h】

Learning Minimal Abstractions

机译:学习最小抽象

获取原文

摘要

Static analyses are generally parametrized by an abstraction which is chosen from a family of abstractions. We are interested in flexible families of abstractions with many parameters, as these families can allow one to increase precision in ways tailored to the client without sacrificing scalability. For example, we consider Ar-limited points-to analyses where each call site and allocation site in a program can have a different k value. We then ask a natural question in this paper: What is the minimal (coarsest) abstraction in a given family which is able to prove a set of client queries? In addressing this question, we make the following two contributions: (ⅰ) we introduce two machine learning algorithms for efficiently finding a minimal abstraction; and (ⅱ) for a static race detector backed by a k-limited points-to analysis, we show empirically that minimal abstractions are actually quite coarse: it suffices to provide context/object sensitivity to a very small fraction (0.4-2.3%) of the sites to yield equally precise results as providing context/object sensitivity uniformly to all sites.
机译:静态分析通常是通过从抽象家庭中选择的抽象参数化。我们对具有许多参数的灵活的抽象族感兴趣,因为这些家庭可以允许一个人以在不牺牲可扩展性的情况下为客户身份定制的方式提高精度。例如,我们认为AR限制点 - 分析程序中的每个呼叫站点和分配站点可以具有不同的k值。然后我们在本文中提出自然问题:给定的家庭中的最小(粗化)抽象是什么,能够证明一组客户查询?在解决这个问题时,我们进行以下两种贡献:(Ⅰ)我们介绍了两种机器学习算法,以有效地找到最小抽象; (Ⅱ)对静态赛探测器的静态赛探测器以K限量分析备受分析,我们透明地显示了最小的抽象实际上非常粗糙:它足以向非常小的分数提供上下文/物体敏感性(0.4-2.3%)在网站的同样精确的结果,因为向所有站点均匀地提供上下文/对象敏感性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号