首页> 外文期刊>Electronic Notes in Theoretical Computer Science >Handling Non-linear Operations in the Value Analysis of COSTA
【24h】

Handling Non-linear Operations in the Value Analysis of COSTA

机译: COSTA 的价值分析中的非线性运算处理

获取原文
           

摘要

Inferring precise relations between (the values of) program variables at different program points is essential for termination and resource usage analysis. In both cases, this information is used to synthesize ranking functions that imply the program?s termination and bound the number of iterations of its loops. For efficiency, it is common to basevalue analysison non-disjunctive abstract domains such as Polyhedra, Octagon, etc. While these domains are efficient and able to infer complex relations for a wide class of programs, they are often not sufficient for modeling the effect of non-linear and bit arithmetic operations. Modeling such operations precisely can be done by using more sophisticated abstract domains, at the price of performance overhead. In this paper we report on the value analysis ofCOSTAthat is based on the idea of encoding the disjunctive nature of non-linear operations into the (abstract) program itself, instead of using more sophisticated abstract domains. Our experiments demonstrate thatCOSTAis able to prove termination and infer bounds on resource consumption for programs that could not be handled before.
机译:推断不同程序点的程序变量(值)之间的精确关系对于终止和资源使用情况分析至关重要。在这两种情况下,此信息都用于综合排名函数,这些函数暗示程序的终止并限制其循环的迭代次数。为了提高效率,通常在非析取抽象域(例如,Polyhedra,Octagon等)上进行基值分析。尽管这些域是有效的并且能够推断出各种程序的复杂关系,但它们通常不足以对非线性和位算术运算。可以通过使用更复杂的抽象域来精确地对此类操作进行建模,而以性能开销为代价。在本文中,我们报告了COSTA的价值分析,该价值分析基于将非线性操作的析取性质编码到(抽象)程序本身中的想法,而不是使用更复杂的抽象域。我们的实验表明,COSTA能够证明终止和推断以前无法处理的程序的资源消耗范围。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号