【24h】

Computing Exact Loop Bounds for Bounded Program Verification

机译:计算精确的循环界限以进行有界程序验证

获取原文

摘要

Bounded program verification techniques verify functional properties of programs by analyzing the program for user-provided bounds on the number of objects and loop iterations. Whereas those two kinds of bounds are related, existing bounded program verification tools treat them as independent parameters and require the user to provide them. We present a new approach for automatically calculating exact loop bounds, i.e., the greatest lower bound and the least upper bound, based on the number of objects. This ensures that the verification is complete with respect to all the configurations of objects on the heap and thus enhances the confidence in the correctness of the analyzed program. We compute the loop bounds by encoding the program and its specification as a logical formula, and solve it using an SMT solver. We performed experiments to evaluate the precision of our approach in loop bounds computation.
机译:有界程序验证技术通过分析程序为用户提供的对象数量和循环迭代次数的界限来验证程序的功能属性。尽管这两种界限是相关的,但是现有的界限程序验证工具将它们视为独立的参数,并要求用户提供它们。我们提出了一种新的方法,可以根据对象的数量自动计算精确的循环界限,即最大下限和最小上限。这确保了对堆上对象的所有配置的验证是完整的,从而增强了对所分析程序正确性的信心。我们通过将程序及其规范编码为逻辑公式来计算循环边界,并使用SMT求解器对其进行求解。我们进行了实验,以评估我们的方法在循环边界计算中的精度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号