RMIT University
Browse

Certifying deadlock-freedom for BIP models

conference contribution
posted on 2024-10-31, 16:47 authored by Jan Olaf Blech, Michael Perin
The BIP framework provides a methodology supported by a tool chain for developing software for embedded systems. The design of a BIP system follows the decomposition in behavior, interaction and priority. The first step comprises the division of desired behavior of a system into components. In a second step interactions and their priorities are added between the components. Finally, machine code is generated from the BIP model. While adding interactions it is possible to overconstrain a system resulting in potential deadlocks. The tool chain crucially depends on an automatic tool, D-Finder, which checks for deadlock-freedom. This paper reports on guaranteeing the correctness of the verdict of D-Finder. We address the problem of formally proving deadlock-freedom of an embedded system in a way that is comprehensible for third party users and other tools. We propose the automatic generation of certificates for each BIP model declared safe by D-Finder. These certificates comprise a proof of deadlock-freedom of the BIP model which can be checked by an independent checker. We use the Coq theorem prover as certificate checker. Thus, bringing the high level of confidence of a formal proof to the deadlock analysis results. With the help of certificates one gets a deadlock-freedom guarantee of BIP models without having to trust or even take a look at the deadlock checking tool. The proof of deadlock-freedom fundamentally relies on the computation of invariant properties of the considered BIP model which is carried out by D-Finder and serves as basis for certificate generation. Encapsulating these invariants into certificates and checking them is the most important subtask of our methodology for guaranteeing deadlock-freedom.

History

Related Materials

  1. 1.
    ISBN - Is published in 9781605586960 (urn:isbn:9781605586960)
  2. 2.

Start page

61

End page

70

Total pages

10

Outlet

Proceedings of the12th International Workshop on Software and Compilers for Embedded Systems (SCOPES 2009)

Editors

Heiko Falk

Name of conference

SCOPES 2009

Publisher

Association for Computing Machinery, Inc. (ACM)

Place published

New York, United States

Start date

2009-04-23

End date

2009-04-24

Language

English

Copyright

© 2009 Association for Computing Machinery, Inc. (ACM)

Former Identifier

2006041500

Esploro creation date

2020-06-22

Fedora creation date

2013-07-22

Usage metrics

    Scholarly Works

    Keywords

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC