kirancodes.me
To Proof Maintenance & Beyond!

Easy modelling and verification of unpredictable and preemptive interrupt-driven systems

Minxue Pan, Shouyu Chen, Yu Pei, Tian Zhang, Xuandong Li

Abstract

The widespread real-time and embedded systems are mostly interrupt-driven because their heavy interaction with the environment is often initiated by interrupts. With the interrupt arrival being unpredictable and the interrupt handling being preemptive, a large number of possible system behaviours are generated, which makes the correctness assurance of such systems difficult and costly. Model checking is considered to be one of the effective methods for exhausting behavioural state space for correctness. However, existing modelling approaches for interrupt-driven systems are based on either calculus or automata theory, and have a steep learning curve. To address this problem, we propose a new modelling language called interrupt sequence diagram (ISD). By extending the popular UML sequence diagram notations, the ISD supports the modelling of interrupts' essential features visually and concisely. We also propose an automata-based semantics for ISD, based on which ISD can be transformed to a subset of hybrid automata so as to leverage the abundant off-the-shelf checkers. Experiments on examples from both real-world and existing literature were conducted, and the results demonstrate our approach's usability and effectiveness.

BibTeX
@inproceedings{Pan-al:ICSE19,
  author    = {Minxue Pan and
               Shouyu Chen and
               Yu Pei and
               Tian Zhang and
               Xuandong Li},
  title     = {Easy modelling and verification of unpredictable and preemptive interrupt-driven systems},
  booktitle = {ICSE},
  pages     = {212--222},
  publisher = {{IEEE} / {ACM}},
  year      = {2019},
}

Related papers