Refinement-Based Verification of Communicating Unstructured Code

被引:2
|
作者
Jaehnig, Nils [1 ]
Goethel, Thomas [2 ]
Glesner, Sabine [1 ]
机构
[1] Tech Univ Berlin, Berlin, Germany
[2] Univ Potsdam, Potsdam, Germany
关键词
gotos; Unstructured code; Formal semantics; Hoare calculus; CSP; Failures refinement;
D O I
10.1007/978-3-319-41591-8_5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Formal model refinement aims at preserving safety and liveness properties of models. However, there is usually a verification gap between model and executed code, especially if concurrent processes are involved. The reason for this is that a manual implementation and further code optimizations can introduce implementation errors. In this paper, we present a framework that allows for formally proving a failures refinement between a CSP specification and its low-level implementation. The implementation is given in a generic unstructured language with gotos and an abstract communication instruction. We provide a failures-based denotational semantics of it with an appropriate Hoare calculus. Since failures-based refinement is compositional w.r.t. parallel composition of concurrent components and preserves safety and liveness properties, this contributes to reducing the verification gap between high-level specifications and their low-level implementations.
引用
下载
收藏
页码:61 / 75
页数:15
相关论文
共 50 条
  • [1] Refinement-Based CFG Reconstruction from Unstructured Programs
    Bardin, Sebastien
    Herrmann, Philippe
    Vedrine, Franck
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2011, 6538 : 54 - 69
  • [2] Refinement-based verification of implementations of Stateflow charts
    Miyazawa, Alvaro
    Cavalcanti, Ana
    FORMAL ASPECTS OF COMPUTING, 2014, 26 (02) : 367 - 405
  • [3] Refinement-based formal verification with heterogeneous timing
    Xiaohua Kong
    Radu Negulescu
    Larry Weidong Ying
    International Journal on Software Tools for Technology Transfer, 2003, 4 (3) : 359 - 370
  • [4] Refinement-based verification of elastic pipelined systems
    Srinivasan, S. K.
    Cai, Y.
    Sarker, K.
    IET COMPUTERS AND DIGITAL TECHNIQUES, 2012, 6 (02): : 136 - 152
  • [5] A Refinement-Based Approach to Spectre Invulnerability Verification
    Mathure, Nimish
    Srinivasan, Sudarshan K.
    Ponugoti, Kushal K.
    IEEE ACCESS, 2022, 10 : 80949 - 80957
  • [6] Refinement-based verification of sequential implementations of Stateflow charts
    Miyazawa, Alvaro
    Cavalcanti, Ana
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (55): : 65 - 83
  • [7] Refinement-based verification for possibly-cyclic lists
    Loginov, Alexey
    Reps, Thomas
    Sagiv, Mooly
    PROGRAM ANALYSIS AND COMPILATION, THEORY AND PRACTICE: ESSAYS DEDICATED TO REINHARD WILHELM ON THE OCCASION OF HIS 60TH BIRTHDAY, 2007, 4444 : 247 - +
  • [8] A refinement-based compositional reasoning framework for pipelined machine verification
    Manolios, Panagiotis
    Srinivasan, Sudarshan K.
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2008, 16 (04) : 353 - 364
  • [9] Refinement-Based Verification of Interactive Real-Time Systems
    Spichkova, Maria
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 214 : 131 - 157
  • [10] Refinement-Based Modeling and Formal Verification for Multiple Secure Partitions of TrustZone
    Zeng F.-L.
    Chang R.
    Xu H.
    Pan S.-P.
    Zhao Y.-W.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (08):