pIML -- An Interrupt Program Modelling Language for Real-Time and Embedded Systems

In the design of dependable software for real-time and embedded systems, the quantitative analysis of program behavior and system performance is a crucial but extremely difficult issue, the challenge of which is exacerbated due to the random city and nondeterminism of interrupt events and the corresponding handling behaviors. Moreover, time analysis is also need to be taken into account for such kinds of systems. Thus the research on a theory which integrates interrupt behaviors and time analysis seems to be important and challenging. In this paper, we propose an interrupt modeling language pIML including the probabilistic feature to describe the programs with interrupts. We explore a probabilistic operational semantics to depict the actions of pIML. Meanwhile, we also implement this operational semantics we proposed on Maude platform, which fill the gap between the theory and practice. Maude supports rewriting logic, equational logic, and etc. The rewrite rules of rewriting logic can very well implement the transition rules of probabilistic operational semantics. Based on this implementation, it is very convenient to simulate the program written in pIML and analyze the behaviors of program in the presence of interrupts quantitatively.

[1]  José Meseguer,et al.  The rewriting logic semantics project: A progress report , 2011, Inf. Comput..

[2]  Jan A. Bergstra,et al.  Syntax and defining equations for an interrupt mechanism in process algebra , 1985 .

[3]  Lijun Zhang,et al.  LTLf Satisfiability Checking , 2014, ECAI.

[4]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[5]  Narciso Martí-Oliet,et al.  Maude: specification and programming in rewriting logic , 2002, Theor. Comput. Sci..

[6]  Peng Liu,et al.  Linking Algebraic Semantics and Operational Semantics for Web Services Using Maude , 2013, 2013 18th International Conference on Engineering of Complex Computer Systems.

[7]  Serge Haddad,et al.  Real Time Properties for Interrupt Timed Automata , 2010, 2010 17th International Symposium on Temporal Representation and Reasoning.

[8]  Rupak Majumdar,et al.  Tools and Algorithms for the Construction and Analysis of Systems , 1997, Lecture Notes in Computer Science.

[9]  Alberto Verdejo,et al.  Executable structural operational semantics in Maude , 2006, J. Log. Algebraic Methods Program..

[10]  Serge Haddad,et al.  Interrupt Timed Automata: verification and expressiveness , 2012, Formal Methods Syst. Des..

[11]  John Regehr Safe and Structured Use of Interrupts in Real-Time and Embedded Software , 2007, Handbook of Real-Time and Embedded Systems.

[12]  Tayssir Touili,et al.  Pushdown Model Checking for Malware Detection , 2012, TACAS.

[13]  Zheng Wang,et al.  A Timing Verification Framework for AUTOSAR OS Component Development Based on Real-Time Maude , 2013, 2013 International Symposium on Theoretical Aspects of Software Engineering.

[14]  Carolyn L. Talcott,et al.  Plan in Maude: Specifying an Active Network Programming Language , 2004, WRLA.

[15]  Alberto Verdejo,et al.  Implementing CCS in Maude 2 , 2002, Electron. Notes Theor. Comput. Sci..