Temporal Defect Detection of Embedded Software Using Timed Execution Trace

Bo WANG,Xiao-Ying BAI,Wen-Guang CHEN,Xiaoyu SONG
DOI: https://doi.org/10.11897/SP.J.1016.2017.02635
2018-01-01
Abstract:Temporal requirements are critical to embedded software.The correctness of system operation depends on its satisfications to the timing constraints.In an embedded system,there usually exist many timing constraints which may also correlate with each other.It is important to ensure that the execution of the system conforms to its temporal requirements.The paper proposes an approach for detecting temporal defects based on execution traces analysis.The characteristics of timing constraints are analyzed,and the ESIA(Extended Semantic Interface Automata) is proposed to characterize temporal requirements of embedded software.Then the correlation patterns of timing constraints are analyzed,and an algorithm using timing matrix is proposed to identify the correlated timing constraints in ESIA model.Traces tagged with time stamps are gathered from the execution environment of the target software.According to the temporal checking rules predefined,the traces are matched to the temporal model to verify its conformance to timing constraints,both individual as well as correlated constraints.In case violations detected,potential defects will be reported for further investigation.Experiments are exercised on a satellite positioning system for modeling and defect detection.The results are compared with other approaches in terms traces analysis and defect detection capabilities.It showed that the proposed approach can effectively detect temporal anomalies in system execution,which enhance the effectiveness and efficiency of temporal testing of embedded software.
What problem does this paper attempt to address?