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 条
  • [1] A HARDWARE SUPPORTED OPERATING SYSTEM KERNEL FOR EMBEDDED HARD REAL-TIME APPLICATIONS
    COLNARIC, M
    HALANG, WA
    TOL, RM
    MICROPROCESSORS AND MICROSYSTEMS, 1994, 18 (10) : 579 - 591
  • [2] AUTOMATED CODE GENERATION OF EMBEDDED REAL-TIME SYSTEMS
    AUER, A
    KEMPPAINEN, P
    OKKONEN, A
    SEPPANEN, V
    MICROPROCESSING AND MICROPROGRAMMING, 1988, 24 (1-5): : 51 - 55
  • [3] Microcontroller with ARM Kernel and Real Time Operating System
    Bychkov, Mikhail
    Fedorenko, Artem
    2016 IX INTERNATIONAL CONFERENCE ON POWER DRIVES SYSTEMS (ICPDS), 2016,
  • [4] Automated Code Synthesis for Run-Time Verification of Distributed Embedded Systems
    Majzik, Istvan
    Horanyi, Gergo
    12TH SYMPOSIUM ON PROGRAMMING LANGUAGES AND SOFTWARE TOOLS, SPLST' 11, 2011, : 161 - 172
  • [5] Code compaction of an operating system kernel
    He, Haifeng
    Trimble, John
    Perianayagam, Somu
    Debray, Saumya
    Andrews, Gregory
    CGO 2007: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2007, : 283 - +
  • [6] Silicon real time operating system for embedded DSPs
    Murtaza, Zeeshan
    Khan, Shoab A.
    Rafique, Abid
    Bajwa, Khalid Bashir
    Zaman, Umer
    SECOND INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES 2006, PROCEEDINGS, 2006, : 188 - +
  • [7] Implementation of an embedded operating system kernel
    Ling, Ming
    Zheng, Kaidong
    Hu, Chen
    Shi, Longxing
    Dianzi Qijian/Journal of Electron Devices, 1999, 22 (04): : 262 - 269
  • [8] Embedded system design framework for minimizing code size and guaranteeing real-time requirements
    Shin, I
    Lee, I
    Min, SL
    23RD IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2002, : 201 - 211
  • [9] Real-time operating system kernel for multithreaded processor
    Tanaka, Kiyofumi
    INTERNATIONAL WORKSHOP ON INNOVATIVE ARCHITECTURE FOR FUTURE GENERATION HIGH PERFORMANCE PROCESSORS AND SYSTEMS, 2006, : 91 - 99
  • [10] A Code Generation Framework for Distributed Real-Time Embedded Systems
    Bambagini, Mario
    Di Natale, Marco
    2012 IEEE 17TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2012,