期刊名称:International Journal of Software Engineering and Its Applications
印刷版ISSN:1738-9984
出版年度:2016
卷号:10
期号:1
页码:201-212
DOI:10.14257/ijseia.2016.10.1.19
出版社:SERSC
摘要:Atomicity races in ARINC 653 applications are a kind of concurrency bugs which causes nondeterministic behaviors by parallel processes. The defects must be detected to ensure the reliability of the applications, because they may lead to unpredictable results to the programmer. This paper presents a tool, called AR653, to dynamically detect atomicity races for an execution of the application. The tool monitors only minimal information, such as processes, semaphores, and read/write accesses to shared resources, and analyzes the relation of synchronizations to report atomicity races throgh a locking decipline of semaphores. We compared the accuracy of AR653 with CodeSonar using synthetic programs on a simulation system for integrated modular avionics. The emperiacal results show that our tool correctly reports atomicity races in cases of using shared pointers as well as in cases of using shared variables, while CodeSonar only locates atomicity races in cases of unsing shared variables.