Automated Verification Framework for Mixed Code in Embedded Real Time Operating System Kernel

被引:0
|
作者
Guo, Jian [1 ,3 ]
Ding, Ji-Zheng [3 ]
Zhu, Xiao-Ran [2 ]
机构
[1] Software Engineering Institute, East China Normal University, Shanghai,200062, China
[2] Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai,200062, China
[3] Software/Hardware Co-design Engineering Research Center, East China Normal University, Ministry of Education, Shanghai,200062, China
来源
Ruan Jian Xue Bao/Journal of Software | 2020年 / 31卷 / 05期
基金
中国国家自然科学基金;
关键词
C (programming language) - Formal verification - Real time systems - Computer operating systems - Computer architecture;
D O I
暂无
中图分类号
学科分类号
摘要
How to construct a trustworthy software system has become an important research area in academia and industry. As a basic component of the software system, the operating system kernel is an important component of constructing a trustworthy software system. In order to ensure the safety and reliability of an operating system kernel, this study introduces formal method into OS kernel verification, and proposes an automatically verifying framework. The verification framework includes following factors. (1) Separate C language programs and mixed language programs (for example, mixed language programs written by C and assembly language) for verification. (2) In the mixed language program verification, establish an abstract model for the assemble program, and then glue the C language program and the abstract model to form a verification model received by a C language verification tool. (3) Extract properties from the OS specification, and automatically verify properties based on a verification tool. (4) Do not limit to a specific hardware architecture. This study successfully applies the verification framework to verify a commercial real-time operating system kernel μC/OS-II of two different hardware platforms. The results show that when kernels on two different hardware platforms are verified, the reusability of the verification framework is very high, up to 83.8%. Of course, the abstract model needs to be reconstructed according to different hardware. During verification of operating system kernels based on two kinds of hardware, 10~12 defaults are found respectively. Among them, two hardware-related defaults on the ARM platform are discovered. This method has certain versatility for analysis and verification of the same operating system on different hardware architectures. © Copyright 2020, Institute of Software, the Chinese Academy of Sciences. All rights reserved.
引用
收藏
页码:1353 / 1373
相关论文
共 50 条
  • [31] Teaching with Video Assistance in Embedded Real-Time Operating System
    Wang, Zhaohong
    Meehan, Kathleen
    Guo, Jing
    2018 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE), 2018,
  • [32] Kernel for embedded real-time systems
    Zuberi, KM
    Shin, KG
    1996 IEEE REAL-TIME TECHNOLOGY AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 1996, : 241 - 249
  • [33] Analysis on Task Scheduling Operating Mechanism of Embedded Real-time Operating System MQX
    Zhao Tao
    Long Deqing
    PROCEEDINGS 2013 INTERNATIONAL CONFERENCE ON MECHATRONIC SCIENCES, ELECTRIC ENGINEERING AND COMPUTER (MEC), 2013, : 1844 - 1847
  • [34] A design framework for real-time embedded systems with code size and energy constraints
    Lee, Sheayun
    Shin, Insik
    Kim, Woonseok
    Lee, Insup
    Min, Sang Lyul
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2008, 7 (02)
  • [35] A linux kernel with fixed interrupt latency for embedded real-time system
    Yang, J
    Chen, Y
    Wang, HY
    Wang, BB
    ICESS 2005: SECOND INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, 2005, : 127 - 134
  • [36] A wireless networked embedded system with a new real-time kernel -: PaRTiKle
    Mata, W.
    Gonzalez, A.
    Aquino, R.
    Crespo, A.
    Ripoll, I.
    Capel, M.
    CERMA 2007: ELECTRONICS, ROBOTICS AND AUTOMOTIVE MECHANICS CONFERENCE, PROCEEDINGS, 2007, : 21 - +
  • [37] A Precise Memory Model for Operating System Code Verification
    Chen, Geng
    Luo, Lei
    Wang, Lijie
    TRUSTCOM 2011: 2011 INTERNATIONAL JOINT CONFERENCE OF IEEE TRUSTCOM-11/IEEE ICESS-11/FCST-11, 2011, : 1125 - 1132
  • [38] Real time in a real operating system
    Mullender, SJ
    Jansen, PG
    COMPUTER SYSTEMS: THEORY, TECHNOLOGY AND APPLICATIONS: A TRIBUTE TO ROGER NEEDHAM, 2004, : 213 - 221
  • [39] Component-Based Real-Time Operating System for Embedded Applications
    Loiret, Frederic
    Navas, Juan
    Babau, Jean-Philippe
    Lobry, Olivier
    COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, 5582 : 209 - +
  • [40] An operating system architecture for organic computing in embedded real-time systems
    Kluge, Florian
    Mische, Joerg
    Uhrig, Sascha
    Ungerer, Theo
    AUTONOMIC AND TRUSTED COMPUTING, PROCEEDINGS, 2008, 5060 : 343 - 357