首页> 外文会议>FM 2009: Formal methods >An Incremental Approach to Scope-Bounded Checking Using a Lightweight Formal Method
【24h】

An Incremental Approach to Scope-Bounded Checking Using a Lightweight Formal Method

机译:使用轻量级形式化方法进行范围界定检查的增量方法

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

摘要

We present a novel approach to optimize scope-bounded checking programs using a relational constraint solver. Given a program and its correctness specification, the traditional approach translates a bounded code segment of the entire program into a declarative formula and uses a constraint solver to search for any correctness violations. Scalability is a key issue with such approaches since for non-trivial programs the formulas are complex and represent a heavy workload that can choke the solvers. Our insight is that bounded code segments, which can be viewed as a set of (possible) execution paths, naturally lend to incremental checking through a partitioning of the set, where each partition represents a sub-set of paths. The partitions can be checked independently, and thus the problem of scope-bounded checking for the given program reduces to several sub-problems, where each sub-problem requires the constraint solver to check a less complex formula, thereby likely reducing the solver's overall workload. Experimental results show that our approach provides significant speed-ups over the traditional approach.
机译:我们提出了一种使用关系约束求解器优化范围界定检查程序的新颖方法。给定一个程序及其正确性规范,传统方法将整个程序的有界代码段转换为声明性公式,并使用约束求解器搜索任何正确性违规。可伸缩性是此类方法的关键问题,因为对于非平凡的程序,公式很复杂,并且代表着很重的工作量,可能会阻塞求解器。我们的见解是,有界代码段(可以视为一组(可能)执行路径)自然可以通过该组的分区进行增量检查,其中每个分区代表路径的子集。可以独立检查分区,因此给定程序的范围限制检查问题减少到几个子问题,其中每个子问题都需要约束求解器检查不太复杂的公式,从而可能减少求解器的整体工作量。实验结果表明,与传统方法相比,我们的方法可显着提高速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号