Verifying Auto-generated C Code from Simulink An Experience Report in the Automotive Domain

被引:5
|
作者
Berger, Philipp [1 ]
Katoen, Joost-Pieter [1 ]
Abraham, Erika [1 ]
Bin Waez, Md Tawhid [2 ]
Rambow, Thomas [3 ]
机构
[1] Rhein Westfal TH Aachen, Aachen, Germany
[2] Ford Motor Co, Dearborn, MI 48121 USA
[3] Ford Werke GmbH, Cologne, Germany
来源
FORMAL METHODS | 2018年 / 10951卷
关键词
D O I
10.1007/978-3-319-95582-7_18
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents our experience with formal verification of C code that is automatically generated from Simulink open-loop controller models. We apply the state-of-the-art commercial model checker BTC EmbeddedPlatform to two Ford R&D prototype case studies: a next-gen Driveline State Request and a next-gen E-Clutch Control. These case studies contain various features (decision logic, floating-point arithmetic, rate limiters and state-flow systems) implemented in discrete-time logic. The diverse features and the extensive use of floating-point variables make the formal code verification highly challenging. The paper reports our findings, identifies shortcomings and strengths of formal verification when adopted in an automotive setting. We also provide recommendations to tool developers and requirement engineers so as to integrate formal code verification into the automotive mass product development.
引用
收藏
页码:312 / 328
页数:17
相关论文
共 50 条
  • [1] On the Naturalness of Auto-generated Code-Can We Identify Auto-Generated Code Automatically?-
    Doi, Masayuki
    Higo, Yoshiki
    Arima, Ryo
    Shimonaka, Kento
    Kusumoto, Shinji
    [J]. 2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 340 - 343
  • [2] Simulation with consideration of hardware characteristics and auto-generated code using matlab/simulink
    Moon, Tae-Yoon
    Seo, Suk-Hyun
    Kim, Jin-Ho
    Hwang, Sung-Ho
    Jeon, Jae Wook
    [J]. 2007 INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION AND SYSTEMS, VOLS 1-6, 2007, : 336 - +
  • [3] Experiments with Auto-generated Socratic Dialogue for Source Code Understanding
    Alshaikh, Zeyad
    Tamang, Lasang
    Rus, Vasile
    [J]. CSEDU: PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED EDUCATION - VOL 2, 2021, : 35 - 44
  • [4] Identifying Auto-Generated Code by Using Machine Learning Techniques
    Shimonaka, Kento
    Sumi, Soichi
    Higo, Yoshiki
    Kusumoto, Shinji
    [J]. PROCEEDINGS 7TH INTERNATIONAL WORKSHOP ON EMPIRICAL SOFTWARE ENGINEERING IN PRACTICE (IWESEP 2016), 2016, : 18 - 23
  • [5] Auto-generated Wires Dataset for Semantic Segmentation with Domain-Independence
    Zanella, Riccardo
    Caporali, Alessio
    Tadaka, Kalyan
    De Gregorio, Daniele
    Palli, Gianluca
    [J]. 2021 INTERNATIONAL CONFERENCE ON COMPUTER, CONTROL AND ROBOTICS (ICCCR 2021), 2021, : 292 - 298
  • [6] Generating Code Review Documentation for Auto-Generated Mission-Critical Software
    Denney, Ewen
    Fischer, Bernd
    [J]. SMC-IT 2009: THIRD IEEE INTERNATIONAL CONFERENCE ON SPACE MISSION CHALLENGES FOR INFORMATION TECHNOLOGY, PROCEEDINGS, 2009, : 394 - +
  • [7] MONITORING URBAN FORESTS FROM AUTO-GENERATED SEGMENTATION MAPS
    Albrecht, Conrad M.
    Liu, Chenying
    Wang, Yi
    Klein, Levente
    Zhu, Xiao Xiang
    [J]. 2022 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (IGARSS 2022), 2022, : 5977 - 5980
  • [8] Why Should Auto-Generated C be Treated any Differently from Hand-Coded C?
    Montgomery, Steve
    [J]. SAE INTERNATIONAL JOURNAL OF PASSENGER CARS-ELECTRONIC AND ELECTRICAL SYSTEMS, 2009, 1 (01): : 249 - 254
  • [9] Automated verification of code automatically generated from Simulink®
    Colin O’Halloran
    [J]. Automated Software Engineering, 2013, 20 : 237 - 264
  • [10] Automated verification of code automatically generated from Simulink®
    O'Halloran, Colin
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2013, 20 (02) : 237 - 264