首页> 外文会议>International Symposium on NASA Formal Methods >Generating Verifiable Java Code from Verified PVS Specifications
【24h】

Generating Verifiable Java Code from Verified PVS Specifications

机译:从已验证的PVS规范生成可验证的Java代码

获取原文

摘要

The use of verification tools to produce formal specifications of digital systems is commonly recommended, especially when dealing with safety-critical systems. These formal specifications often consist of segments which can automatically be translated into executable code. We propose to generate both code and assertions in order to support verification at the generated code level. This is essential (and possible) when making modifications to the implemented code without revering to the verification tool, as the formal verification can be performed directly at the level of the adjusted code. As a result of a feasibility study on this approach, we present a prototype of a code generator for the Prototype Verification System (PVS) that translates a subset of PVS functional specifications into Java annotated with JML assertions. To illustrate the tool's functionality a verified communication protocol from the NASA AirStar project is taken and a reference implementation in Java is generated. Subsequently, we experiment with verification on the Java level in order to show the feasibility of proving the generated JML annotations. In this paper we report on our experiences in this feasibility study.
机译:通常建议使用验证工具来生产数字系统的正式规格,特别是在处理安全关键系统时。这些正式规范通常由段组成,该段可以自动转换为可执行代码。我们建议生成代码和断言,以便在生成的代码级别支持验证。这是必不可少的(和可能的)当对实现的代码进行修改而不恢复验证工具,因为可以直接在调整代码的级别执行正式验证。由于这种方法的可行性研究,我们为原型验证系统(PVS)提供了一种代码生成器的原型,该原型验证系统(PVS)将PVS功能规范的子集转换为具有JML断言的Java。为了说明工具的功能,拍摄了来自NASA Airstar项目的已验证通信协议,并生成Java中的参考实现。随后,我们在Java级别进行验证,以便证明生成的JML注释的可行性。在本文中,我们报告了我们在这种可行性研究中的经验。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号