Deductive Verification of Cooperative RTOS Applications

Tasche P; Herber P; Huisman M

Forschungsartikel (Zeitschrift) | Peer reviewed

Zusammenfassung

Embedded systems are used in many safety-critical domains, including in medicine, traffic, and critical infrastructure. Due to the strict timing requirements such systems usually have to fulfill, they often run on real-time operating systems (RTOS). As the RTOS influences the function and the timing behavior of the system, it becomes important to rigorously ensure the correctness and safety of applications running on them while taking into account the semantics of the operating system. Existing verification approaches are either limited to specific RTOS components or based on explicit state space exploration techniques such as model checking, which do not scale well for concurrent or timed applications. In this article, we propose a deductive approach to verify crucial safety properties about applications written for the widely-used RTOS FreeRTOS using the VerCors verifier. Our key ideas are threefold: (1) We provide a formalization of a wide variety of FreeRTOS features and an automatic encoding of FreeRTOS applications for verification with VerCors. (2) We adapt and enhance an existing approach for automatic invariant generation to largely automate the typically high-effort verification process. (3) We present a systematic technique to verify both functional and timing-related properties of cooperative RTOS applications. We demonstrate the applicability of our approach on a FreeRTOS demo application as well as an adaptive cruise control system.

Details zur Publikation

FachzeitschriftTransactions on Embedded Computing Systems
Jahrgang / Bandnr. / Volume24
Ausgabe / Heftnr. / Issue5s
StatusVeröffentlicht
Veröffentlichungsjahr2025
Sprache, in der die Publikation verfasst istEnglisch
DOI10.1145/3759251
Link zum Volltexthttps://doi.org/10.1145/3759251
StichwörterDeductive verification, embedded systems, real time, RTOS

Autor*innen der Universität Münster

Herber, Paula
Professur für Praktische Informatik (Prof. Herber)