SMT-Based Bounded Model Checking for Embedded ANSI-C Software

被引:51
|
作者
Cordeiro, Lucas [1 ]
Fischer, Bernd [1 ]
Marques-Silva, Joao [2 ,3 ]
机构
[1] Univ Southampton, Southampton SO17 1BJ, Hants, England
[2] Univ Coll Dublin, Sch Informat & Comp Sci, Dublin, Ireland
[3] Univ Coll Dublin, Dublin, Ireland
基金
英国工程与自然科学研究理事会;
关键词
Bounded Model Checking; Satisfiability Modulo Theories; Embedded ANSI-C Software;
D O I
10.1109/ASE.2009.63
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Propositional bounded model checking has been applied successfully to verify embedded software but is limited by the increasing propositional formula size and the loss of structure during the translation. These limitations can be reduced by encoding word-level information in theories richer than propositional logic and using SMT solvers for the generated veri. cation conditions. Here, we investigate the application of different SMT solvers to the veri. cation of embedded software written in ANSI-C. We have extended the encodings from previous SMT-based bounded model checkers to provide more accurate support for variables of finite bit width, bit-vector operations, arrays, structures, unions and pointers. We have integrated the CVC3, Boolector, and Z3 solvers with the CBMC front-end and evaluated them using both standard software model checking benchmarks and typical embedded software applications from telecommunications, control systems, and medical devices. The experiments show that our approach can analyze larger problems and substantially reduce the veri. cation time.
引用
收藏
页码:137 / 148
页数:12
相关论文
共 50 条
  • [1] SMT-Based Bounded Model Checking for Embedded ANSI-C Software
    Cordeiro, Lucas
    Fischer, Bernd
    Marques-Silva, Joao
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (04) : 957 - 974
  • [2] SMT-based Bounded Model Checking for Cooperative Software with a Deterministic Scheduler
    Zhang, Haitao
    Lu, Yonggang
    [J]. STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD, 2017, 10189 : 181 - 200
  • [3] SMT-Based Software Model Checking
    Cimatti, Alessandro
    [J]. MODEL CHECKING SOFTWARE, 2010, 6349 : 1 - 3
  • [4] Context-Bounded Model Checking of LTL Properties for ANSI-C Software
    Morse, Jeremy
    Cordeiro, Lucas
    Nicole, Denis
    Fischer, Bernd
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS, 2011, 7041 : 302 - +
  • [5] SMT-Based Bounded Model Checking of Embedded Assembly Program with Interruptions
    Uemura, Kousuke
    Yamane, Satoshi
    [J]. IEEE 17TH INT CONF ON DEPENDABLE, AUTONOM AND SECURE COMP / IEEE 17TH INT CONF ON PERVAS INTELLIGENCE AND COMP / IEEE 5TH INT CONF ON CLOUD AND BIG DATA COMP / IEEE 4TH CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2019, : 633 - 639
  • [6] SMT-Based Bounded Model Checking of C plus plus Programs
    Ramalho, Mikhail
    Freitas, Mauro
    Sousa, Felipe
    Marques, Hendrio
    Cordeiro, Lucas
    Fischer, Bernd
    [J]. 2013 20TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER BASED SYSTEMS (ECBS 2013), 2013, : 147 - 156
  • [7] Verifying cooperative software: A SMT-based bounded model checking approach for deterministic scheduler
    Zhang, Haitao
    Li, Guoqiang
    Sun, Daniel
    Lu, Yonggang
    Hsu, Ching-Hsien
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2017, 81 : 7 - 16
  • [8] Checking RTECTL Properties of STSs via SMT-Based Bounded Model Checking
    Zbrzezny, Agnieszka M.
    Zbrzezny, Andrzej
    [J]. DISTRIBUTED COMPUTING AND ARTIFICIAL INTELLIGENCE, 12TH INTERNATIONAL CONFERENCE, 2015, 373 : 55 - 62
  • [9] Model checking LTL properties over ANSI-C programs with bounded traces
    Jeremy Morse
    Lucas Cordeiro
    Denis Nicole
    Bernd Fischer
    [J]. Software & Systems Modeling, 2015, 14 : 65 - 81
  • [10] SMT-based Bounded Model Checking for OSEK/VDX Applications
    Zhang, Haitao
    Aoki, Toshiaki
    Lin, Hsin-Hung
    Zhang, Min
    Chiba, Yuki
    Yatake, Kenro
    [J]. 2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 307 - 314