Rchecker: A CBMC-based Data Race Detector for Interrupt-driven Programs

被引:7
|
作者
Feng, Haining [1 ]
Yin, Liangze [1 ]
Lin, Wenfeng [2 ]
Zhao, Xudong [1 ]
Dong, Wei [1 ]
机构
[1] Natl Univ Def Technol, Key Lab Software Engn Complex Syst, Changsha, Peoples R China
[2] China Acad Engn Phys, Mianyang, Sichuan, Peoples R China
关键词
interrupt-driven programs; data race; static analysis; bug detection;
D O I
10.1109/QRS-C51114.2020.00084
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Interrupt-driven programs are widely used in aerospace, medical equipment, and other embedded systems that require extreme safety and stability. However, uncertain interrupt interleaving executions may cause serious data race problems. Static analysis is an important technology to detect data race problems. Existing methods are either too conservative to have low accuracy, or bring lots of false alarms, there still need a more effective solution. The program verification tool CBMC has an excellent performance in the analysis and verification of C multi-threaded modeling, but it doesn't support interrupt-driven programs. In this paper, we proposed a method based on CBMC to detect data race in interrupt-driven programs. Our method achieved accurate analysis of interrupt-driven programs by performing analysis toward interrupt preemption and synchronization semantics, and further validation of the program can be supported. Experiments results on related benchmarks demonstrate our approach's usability and effectiveness.
引用
收藏
页码:465 / 471
页数:7
相关论文
共 38 条
  • [1] Static race detection of interrupt-driven programs
    Huo, Wei
    Yu, Hongtao
    Feng, Xiaobing
    Zhang, Zhaoqing
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2011, 48 (12): : 2290 - 2299
  • [2] Data Race Detection for Interrupt-Driven Programs via Bounded Model Checking
    Wu, Xueguang
    Wen, Yanjun
    Chen, Liqian
    Dong, Wei
    Wang, Ji
    [J]. 2013 IEEE 7TH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY - COMPANION (SERE-C), 2013, : 205 - 211
  • [3] Efficient data race detection for interrupt-driven programs via path feasibility analysis
    Zhao, Jingwen
    Wu, Yanxia
    Dong, Jibin
    [J]. JOURNAL OF SUPERCOMPUTING, 2024, 80 (15): : 21699 - 21725
  • [4] A Denotational Model for Interrupt-Driven Programs
    Huang, Yanhong
    Zhao, Yongxin
    Shi, Jianqi
    Zhu, Huibiao
    [J]. IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 15 - 20
  • [5] Precise Dynamic Data Race Prediction for Interrupt-Driven Embedded Software
    Yu, Tingting
    Jia, Chunpeng
    Chen, Rui
    Li, Chao
    Wang, Boxiang
    Jiang, Yunsong
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 69 - 74
  • [6] A Program Verification based Approach to Find Data Race Vulnerabilities in Interrupt-driven Program
    Feng, Haining
    [J]. 2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1361 - 1363
  • [7] Stack size analysis for interrupt-driven programs
    Chatterjee, K
    Ma, D
    Majumdar, R
    Zhao, T
    Henzinger, TA
    Palsberg, J
    [J]. INFORMATION AND COMPUTATION, 2004, 194 (02) : 144 - 174
  • [8] Stack size analysis for interrupt-driven programs
    Chatterjee, K
    Ma, D
    Majumdar, R
    Zhao, T
    Henzinger, TA
    Palsberg, J
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2003, 2694 : 109 - 126
  • [9] Analyzing and Disentangling Interleaved Interrupt-Driven IoT Programs
    Sun, Yuxia
    Guo, Song
    Cheung, Shing-Chi
    Tang, Yong
    [J]. IEEE INTERNET OF THINGS JOURNAL, 2019, 6 (03) : 5376 - 5386
  • [10] Disclosing and Locating Concurrency Bugs of Interrupt-Driven IoT Programs
    Sun, Yuxia
    Cheung, Shing-Chi
    Guo, Song
    Cheng, Ming
    [J]. IEEE INTERNET OF THINGS JOURNAL, 2019, 6 (05): : 8945 - 8957