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 条
  • [41] Domain-Specific Scenarios for Refinement-Based Methods
    Snook, Colin
    Thai Son Hoang
    Dghaym, Dana
    Butler, Michael
    NEW TRENDS IN MODEL AND DATA ENGINEERING, 2019, 1085 : 18 - 31
  • [42] THETA: a Framework for Abstraction Refinement-Based Model Checking
    Toth, Tamas
    Hajdu, Akos
    Voros, Andras
    Micskei, Zoltan
    Majzik, Istvan
    PROCEEDINGS OF THE 17TH CONFERENCE ON FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD 2017), 2017, : 176 - 179
  • [43] A Refinement-Based Correctness Proof of Symmetry Reduced Model Checking
    Turner, Edd
    Butler, Michael
    Leuschel, Michael
    ABSTRACT STATE MACHINES, ALLOY, B AND Z, PROCEEDINGS, 2010, 5977 : 231 - +
  • [44] A Refinement-Based Approach for Proving Distributed Algorithms on Evolving Graphs
    Fakhfakh, Faten
    Tounsi, Mohamed
    Kacem, Ahmed Hadj
    Mosbah, Mohamed
    2016 IEEE 25TH INTERNATIONAL CONFERENCE ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE), 2016, : 44 - 49
  • [45] Crafting data structures: A study of reference locality in refinement-based pathfinding
    Niewiadomski, R
    Amaral, JN
    Holte, RC
    HIGH PERFORMANCE COMPUTING - HIPC 2003, 2003, 2913 : 438 - 448
  • [46] A refinement-based approach to safe smart contract deployment and evolution
    Antonino, Pedro
    Ferreira, Juliandson
    Sampaio, Augusto
    Roscoe, A. W.
    Arruda, Filipe
    SOFTWARE AND SYSTEMS MODELING, 2024, 23 (03): : 657 - 693
  • [47] Enforcing Generalized Refinement-based Noninterference for Secure Interface Composition
    Sun, Cong
    Xi, Ning
    Ma, Jianfeng
    2017 IEEE 41ST ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2017, : 586 - 595
  • [48] A Case Study in Refinement-Based Modelling of a Resilient Control System
    Prokhorova, Yuliya
    Troubitsyna, Elena
    Laibinis, Linas
    SOFTWARE ENGINEERING FOR RESILIENT SYSTEMS, SERENE 2013, 2013, 8166 : 79 - 93
  • [49] Refinement-based requirements modeling using Triggered Message Sequence Charts
    Sengupta, B
    Cleaveland, R
    11TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, PROCEEDINGS, 2003, : 95 - 104
  • [50] Formal Proofs of Termination Detection for Local Computations by Refinement-Based Compositions
    Boussabbeh, Maha
    Tounsi, Mohamed
    Mosbah, Mohamed
    Kacem, Ahmed Hadj
    ABSTRACT STATE MACHINES, ALLOY, B, TLA, VDM, AND Z (ABZ 2016), 2016, 9675 : 198 - 212