Compilation of Synchronous Observers as Code Contracts

被引:2
|
作者
Dieumegard, Arnaud [1 ]
Garoche, Pierre-Loic [2 ]
Kahsai, Temesghen [3 ]
Taillar, Alice [1 ]
Thirioux, Xavier [1 ]
机构
[1] INPT, ENSEEIHT, Toulouse, France
[2] Off Natl Etud & Rech Aerosp, French Aerosp Lab, Toulouse, France
[3] CMU, NASA Ames, Pittsburgh, PA USA
关键词
SYSTEMS; VERIFICATION;
D O I
10.1145/2695664.2695819
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Synchronous languages have long been the standard formalism for modeling and implementing embedded control software in critical domains like avionics, automotive or railway system development. Those languages are equipped with qualified compilers that generate the target final embedded code. An extensively used technique to de fine the expected behavior is the use of synchronous observers. Those observers are typically used for simulation and testing purposes. However, the information contained in those observers is lost during the compilation process. This makes the verification of expected behavior at code level difficult, since it requires the re-specification of the observer. In this paper, we propose an integrated process in which functional properties expressed at the model level through synchronous observers are compiled as code-level contracts. We also show how these specifications, both at model level and code level could be analyzed via SMT-based model checking, static analysis and runtime verification. We have implemented these techniques in a tool chain targeting embedded systems modeled in Simulink.
引用
收藏
页码:1933 / 1939
页数:7
相关论文
共 50 条
  • [1] Certified Compilation of Financial Contracts
    Annenkov, Danil
    Elsman, Martin
    [J]. PPDP'18: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2018,
  • [2] COMPILATION TO COMPACT CODE
    MARKS, B
    [J]. IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1980, 24 (06) : 684 - 691
  • [3] Separate compilation for synchronous modules
    Zeng, J
    Edwards, SA
    [J]. EMBEDDED SOFTWARE AND SYSTEMS, PROCEEDINGS, 2005, 3820 : 129 - 140
  • [4] Modular compilation of synchronous programs
    Schneider, Klaus
    Brandt, Jens
    Vecchie, Eric
    [J]. FROM MODEL-DRIVEN DESIGN TO RESOURCE MANAGEMENT FOR DISTRIBUTED EMBEDDED SYSTEMS, 2006, 225 : 75 - +
  • [5] Modular compilation of a synchronous language
    Ressouche, Annie
    Gaffe, Daniel
    Roy, Valerie
    [J]. SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS, 2008, 150 : 157 - +
  • [6] European Contracts Code
    Kramer, Ernst A.
    [J]. RABELS ZEITSCHRIFT FUR AUSLANDISCHES UND INTERNATIONALES PRIVATRECHT, 2016, 80 (03): : 683 - +
  • [7] On Verifying Resource Contracts using Code Contracts
    Castano, Rodrigo
    Garbervetsky, Diego
    Tapicer, Jonathan
    Zoppi, Edgardo
    Galeotti, Juan Pablo
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (139): : 1 - 15
  • [8] Towards Principled Compilation of Ethereum Smart Contracts (SoK)
    Arias, Emilio Jesus Gallego
    [J]. 2019 10TH IFIP INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2019,
  • [9] Static Verification for Code Contracts
    Faehndrich, Manuel
    [J]. STATIC ANALYSIS, 2010, 6337 : 2 - 5
  • [10] Separate Compilation and Execution of Imperative Synchronous Modules
    Vecchie, Eric
    Talpin, Jean-Pierre
    Schneider, Luaus
    [J]. DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 1580 - +