• DocumentCode
    3076927
  • Title

    Static Data Race Detection for Interrupt-Driven Embedded Software

  • Author

    Chen, Rui ; Guo, Xiangying ; Duan, Yonghao ; Gu, Bin ; Yang, Mengfei

  • Author_Institution
    Beijing Inst. of Control Eng., Beijing, China
  • fYear
    2011
  • fDate
    27-29 June 2011
  • Firstpage
    47
  • Lastpage
    52
  • Abstract
    Interrupt mechanisms are widely used to process multiple concurrent tasks in the software without OS abstraction layer in various cyber physical systems (CPSs), such as space flight control systems. Data races caused by interrupt preemption frequently occur in those systems, leading to unexpected results or even severe system failures. In recent Chinese space projects, many software defects related to data races have been reported. How to detect interrupt based data races is an important issue in the quality assurance for aerospace software. In this paper, we propose a tool named Race Checker that can statically detect data races for interrupt-driven software. Given the source code or binary code of interrupt-driven software, the tool aggressively infers information such as interrupts priority states, interrupt enable states and memory accesses at each program point using our extended interprocedural data flow analysis. With the information above, it identifies the suspicious program points that may lead to data races. Race Checker is explicitly designed to find data race bugs in real-life aerospace software. Up to now, the tool has been applied in aerospace software V&V and found several severe data race bugs that may lead to system failures.
  • Keywords
    aerospace computing; embedded systems; security of data; Chinese space project; Race Checker tool; aerospace software; cyber physical systems; interprocedural data flow analysis; interrupt enable state; interrupt mechanism; interrupt-driven embedded software; interrupts priority state; memory access; quality assurance; software binary code; software defect; software source code; space flight control system; static data race detection; Algorithm design and analysis; Binary codes; Computer bugs; Embedded software; Registers; Synchronization; CPS; data race; embebdded software; interrupt-driven software; program analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Secure Software Integration & Reliability Improvement Companion (SSIRI-C), 2011 5th International Conference on
  • Conference_Location
    Jeju Island
  • Print_ISBN
    978-1-4577-0781-0
  • Electronic_ISBN
    978-0-7695-4454-0
  • Type

    conf

  • DOI
    10.1109/SSIRI-C.2011.18
  • Filename
    6004502