DocumentCode
3288606
Title
Data Race Detection for Interrupt-Driven Programs via Bounded Model Checking
Author
Xueguang Wu ; Yanjun Wen ; Liqian Chen ; Wei Dong ; Ji Wang
Author_Institution
Nat. Univ. of Defense Technol., Changsha, China
fYear
2013
fDate
18-20 June 2013
Firstpage
204
Lastpage
210
Abstract
In Cyber-Physical Systems with interrupt mechanism, interrupts may cause unexpected interleaving executions and even wrong execution results. A kind of frequently occurred errors are caused by data race. We present an approach under the framework of bounded model checking (BMC) to detect data race for interrupt driven programs. The key idea is to automatically serialize a concurrent interrupt driven program as a non-deterministic sequential program, whose possible execution set includes all the possible executions of the interrupt driven program. Moreover, our approach checks data race in the sequential program and collects all the path condition of the data race location. On this basis, we leverage bounded model checking to convert all the path conditions into SMT formulae. Furthermore, our analysis uses a decision procedure to determine whether the formula is satisfiable, from which the analysis eliminates false alarms which can´t occur in real concurrent executions. A prototype based on CBMC is implemented and preliminary experimental results are encouraging.
Keywords
computability; concurrency theory; decision theory; embedded systems; formal verification; interrupts; CBMC; SMT; bounded model checking; cyber-physical system; data race checking; data race detection; decision procedure; false alarm; interrupt driven program; nondeterministic sequential program; unexpected interleaving execution; Concurrent computing; Explosions; Model checking; Programming; Prototypes; Software; Synchronization; Cyber-Physical Systems; Satisfiability Modulo Theories; bounded model checking; concurrent; data race; interrupt-driven programs;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Security and Reliability-Companion (SERE-C), 2013 IEEE 7th International Conference on
Conference_Location
Gaithersburg, MD
Print_ISBN
978-1-4799-2924-5
Type
conf
DOI
10.1109/SERE-C.2013.33
Filename
6616345
Link To Document