DocumentCode :
2984178
Title :
Automated Verification of the FreeRTOS Scheduler in HIP/SLEEK
Author :
Ferreira, João F. ; He, Guanhua ; Qin, Shengchao
Author_Institution :
Sch. of Comput., Teesside Univ., Middlesbrough, UK
fYear :
2012
fDate :
4-6 July 2012
Firstpage :
51
Lastpage :
58
Abstract :
Automated verification of operating system kernels is a challenging problem, partly due to the use of shared mutable data structures. In this paper, we show how we can automatically verify memory safety and functional correctness of the task scheduler component of the FreeRTOS kernel using the verification system HIP/SLEEK. We show how some of HIP/SLEEK features like user-defined predicates and lemmas make the specifications highly expressive and the verification process viable. To the best of our knowledge, this is the first code-level verification of memory safety and functional correctness properties of the FreeRTOS scheduler. The outcome of our experiment confirms that HIP/SLEEK can indeed be used to verify code that is used in production. Moreover, since the properties that we verify are quite general, we envisage that the same approach can be adopted to verify the scheduler of other operating systems.
Keywords :
data structures; formal verification; operating system kernels; scheduling; shared memory systems; FreeRTOS kernel; FreeRTOS scheduler; HIP-SLEEK verification system; automated operating system kernel verification; first code-level verification; functional correctness verification; memory safety verification; real-time operating systems; shared mutable data structures; task scheduler component; user-defined lemmas; user-defined predicates; Context; Data structures; Hip; Kernel; Safety; Shape; FreeRTOS; HIP/SLEEK; automated verification; embedded systems; operating systems; separation logic; task scheduler;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Theoretical Aspects of Software Engineering (TASE), 2012 Sixth International Symposium on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-2353-6
Type :
conf
DOI :
10.1109/TASE.2012.45
Filename :
6269627
Link To Document :
بازگشت