首页> 外文期刊>Software Engineering, IEEE Transactions on >Engineering a Sound Assertion Semantics for the Verifying Compiler
【24h】

Engineering a Sound Assertion Semantics for the Verifying Compiler

机译:为验证编译器设计声音断言语义

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

摘要

The Verifying Compiler (VC) project is a core component of the Dependable Systems Evolution Grand Challenge. The VC offers the promise of automatically proving that a program or component is correct, where correctness is defined by program assertions. While several VC prototypes exist, all adopt a semantics for assertions that is unsound. This paper presents a consolidation of VC requirements analysis (RA) activities that, in particular, brought us to ask targeted VC customers what kind of semantics they wanted. Taking into account both practitioners' needs and current technological factors, we offer recovery of soundness through an adjusted definition of assertion validity that matches user expectations and can be implemented practically using current prover technology. For decades, there have been debates concerning the most appropriate semantics for program assertions. Our contribution here is unique in that we have applied fundamental software engineering techniques by asking primary stakeholders what they want and, based on this, proposed a means of efficiently realizing the semantics stakeholders want using standard tools and techniques. We describe how support for the new semantics has been added to ESC/Java2, one of the most fully developed VC prototypes. Case studies demonstrate the effectiveness of the new semantics at uncovering previously indiscernible specification errors.
机译:验证编译器(VC)项目是Dependable Systems Evolution大挑战的核心组成部分。 VC提供了自动证明程序或组件正确的承诺,其中正确性是由程序断言定义的。虽然存在多个VC原型,但所有原型都采用了不合理的断言语义。本文介绍了VC需求分析(RA)活动的合并,尤其是使我们能够询问目标VC客户他们想要哪种语义。考虑到从业人员的需求和当前的技术因素,我们通过调整断言有效性的定义(与用户的期望相匹配)来提供健全性的恢复,并且可以使用当前的证明者技术来实际实施。几十年来,一直有关于程序断言最合适的语义的争论。我们在这里的贡献是独特的,因为我们通过询问主要利益相关者想要什么来应用基本的软件工程技术,并在此基础上提出了一种使用标准工具和技术有效地实现利益相关者想要的语义的方法。我们将描述如何将最新的VC原型之一ESC / Java2中添加对新语义的支持。案例研究证明了新语义在发现以前无法识别的规范错误方面的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号