Title :
Verifying the Implementation of an Operating System Scheduler
Author :
Kleine, Moritz ; Bartels, Björn ; Göthel, Thomas ; Glesner, Sabine
Author_Institution :
Inst. for Software Eng. & Theor. Comput. Sci., Tech. Univ. of Berlin, Berlin, Germany
Abstract :
In this paper, we applied our approach for verifying low-level code to the scheduler of the real-time operating system BOSS. We developed its high-level specification in CSP-OZ and showed that it enforces the BOSS scheduling strategy. Furthermore, we presented a low-level CSPM model, which has been semi-automatically synthesized from its implementation. Using the automatic FDR2 refinement checker, we proved that the low-level model is a failures-divergence refinement of the CSPM encoding of the scheduler´s CSP-OZ specification. First, this means that the methods are terminating. Second, the implementation respects the pre- and post-conditions of its specification. Third, the implementation produces exactly the schedules that are described by the CSP-OZ specification. We intend to examine other components of BOSS using our approach. Another objective is to extend it to enable the verification of real-time systems by using our formalization of Timed CSP in the Isabelle/HOL theorem prover [T. Gothel and S. Glesner, 2009].
Keywords :
formal specification; formal verification; operating systems (computers); real-time systems; scheduling; CSP-OZ specification; Isabelle/HOL theorem prover; high level specification; operating system scheduler; real-time operating system BOSS; real-time system; refinement checker; scheduling strategy; Birds; Calculus; Computer science; Operating systems; Processor scheduling; Real time systems; Resumes; Software engineering; Software systems; Yarn;
Conference_Titel :
Theoretical Aspects of Software Engineering, 2009. TASE 2009. Third IEEE International Symposium on
Conference_Location :
Tianjin
Print_ISBN :
978-0-7695-3757-3
DOI :
10.1109/TASE.2009.58