首页> 外文会议>WoTUG technical meeting >A Model-Driven Methodology for Generating and Verifying CSP-Based Java Code
【24h】

A Model-Driven Methodology for Generating and Verifying CSP-Based Java Code

机译:基于模型的方法论,用于生成和验证基于CSP的Java代码

获取原文

摘要

Model-driven methodologies can help developers create more reliable software. In previous work, we have advocated a model-driven approach for the analysis and design of concurrent, safety-critical systems. However, to take full advantage of those techniques, they must be supported by code generation schemes for concrete programming languages. Ideally, this translation should be traceable, automated and should support verification of the generated code. In this paper we consider the problem of generating concurrent Java code from high-level interaction models. Our proposal includes an extension of JML that allows to specify shared resources as Java interfaces, and several translation patterns for (partial) generation of CSP-based Java code. The template code thus obtained is JML-annotated Java using the JCSP library, with proof obligations that help with both traceability and verification. Finally, we present an experiment in code verification using the KeY tool.
机译:模型驱动的方法可以帮助开发人员创建更可靠的软件。在先前的工作中,我们提倡一种模型驱动的方法来分析和设计并发的,对安全至关重要的系统。但是,要充分利用这些技术,必须使用针对具体编程语言的代码生成方案来支持它们。理想情况下,这种翻译应该是可追溯的,自动化的,并且应该支持对生成代码的验证。在本文中,我们考虑了从高级交互模型生成并发Java代码的问题。我们的建议包括对JML的扩展,该扩展允许将共享资源指定为Java接口,以及几种(部分)基于CSP的Java代码生成的转换模式。这样获得的模板代码是使用JCSP库的带有JML注释的Java,其证明义务有助于追溯和验证。最后,我们提出了使用KeY工具进行代码验证的实验。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号