Applying Formal Verification to an Open-Source Real-Time Operating System

File Type:
PDFItem Type:
Conference PaperDate:
2023Author:
Access:
openAccessCitation:
Andrew Butterfield and Frédéric Tuong, Applying Formal Verification to an Open-Source Real-Time Operating System. In Jonathan P. Bowen, Qin Li, Qiwen Xu. (Eds.) Theories of Programming and Formal Methods, LNCS 14080, Shanghai, China, Springer Nature Switzerland, 2023, 348 - 366Download Item:

Abstract:
This paper describes work done using formal methods to verify parts of the RTEMS real-time operating system, as part of an activity
sponsored by the European Space Agency to qualify multi-core processors for spaceflight. A variety of formalisms were investigated, keeping in mind the need to be a good fit with the RTEMS community in general. The technique that was deployed used Promela to model aspects of the operating system behavior, and the SPIN model-checker to do test
generation. This involved developing Promela models, which are formal artifacts, and then developing a simple machine-readable observation language that made it easy to connect model behavior to the generation of C test code. The observation language was then refined to code using a dictionary mapping observable elements to test code snippets. Neither the observable language of the dictionary mapping are formal, so this paper also explores how these might be given UTP semantics, and linked together, in which the research of He Jifeng plays a key role.
It finishes defining a future research agenda that uses this work with a real-world application to drive the research.
Author's Homepage:
http://people.tcd.ie/butrfeld
Author: Butterfield, Andrew
Other Titles:
Theories of Programming and Formal MethodsPublisher:
Springer Nature SwitzerlandType of material:
Conference PaperCollections:
Series/Report no:
LNCS 14080;Availability:
Full text availableKeywords:
RTEMS, Real-Time Operating Systems, Test Generation, Unifying theories of programming, Promela/SPIN, Model checkingDOI:
http://dx.doi.org/10.1007/978-3-031-40436-8_13Licences: