skip to main content
10.1145/3018610.3023367acmotherconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
invited-talk

Mechanized verification of preemptive OS kernels (invited talk)

Published:16 January 2017Publication History

ABSTRACT

We propose a practical verification framework for preemptive OS kernels. The framework models the correctness of API implementations in OS kernels as contextual refinement of their abstract specifications. It provides a specification language for defining the high-level abstract model of OS kernels, a program logic for refinement verification of concurrent kernel code with multi-level hardware interrupts, and automated tactics for developing mechanized proofs. The whole framework is developed for a practical subset of the C language. We have successfully applied it to verify key modules of a commercial preemptive OS μC/OS-II, including the scheduler, interrupt handlers, message queues, and mutexes, etc. We also verify the priority-inversion-freedom (PIF) in μC/OS-II. All the proofs are mechanized in Coq. To our knowledge, our work is the first to verify the functional correctness of a practical preemptive OS kernel with machine-checkable proofs. More details about the project is available at <http://staff.ustc.edu.cn/~fuming/research/certiucos/>

References

  1. Fengwei Xu, Ming Fu, Xinyu Feng, Xiaoran Zhang, Hui Zhang, Zhaohui Li. A Practical Verification Framework for Preemptive OS Kernels. In: Proc. 28th International Conference on Computer Aided Verification (CAV’16), part II, pages 59--79, Toronto, Ontario, Canada. July 2016.Google ScholarGoogle Scholar

Index Terms

  1. Mechanized verification of preemptive OS kernels (invited talk)

                      Recommendations

                      Comments

                      Login options

                      Check if you have access through your login credentials or your institution to get full access on this article.

                      Sign in
                      • Published in

                        cover image ACM Other conferences
                        CPP 2017: Proceedings of the 6th ACM SIGPLAN Conference on Certified Programs and Proofs
                        January 2017
                        234 pages
                        ISBN:9781450347051
                        DOI:10.1145/3018610

                        Copyright © 2017 Owner/Author

                        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

                        Publisher

                        Association for Computing Machinery

                        New York, NY, United States

                        Publication History

                        • Published: 16 January 2017

                        Check for updates

                        Qualifiers

                        • invited-talk

                        Acceptance Rates

                        Overall Acceptance Rate18of26submissions,69%
                      • Article Metrics

                        • Downloads (Last 12 months)3
                        • Downloads (Last 6 weeks)1

                        Other Metrics

                      PDF Format

                      View or Download as a PDF file.

                      PDF

                      eReader

                      View online with eReader.

                      eReader