NobleBlocks

Research indexBook chapter

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

Julio, l

IOS Press eBooks1 Jan 2018

NobleIDark:/48914/w1/20260525/E07B538ADOI10.3233/978-1-61499-886-0-87

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

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.

Discussion

Citations

Topics

More

Suggest a correction or report