A Precise Memory Model for Operating System Code Verification

被引:0
|
作者
Chen, Geng [1 ]
Luo, Lei [1 ]
Wang, Lijie [1 ]
机构
[1] Univ Elect Sci & Technol China, Sch Comp Sci & Engn, Chengdu 611731, Sichuan, Peoples R China
关键词
formal method; verification; real-time operating systems; FORMAL VERIFICATION;
D O I
10.1109/TrustCom.2011.153
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Recently, safety and security requirements of real-time system received much attention. Several formal approaches have been presented to verify some related properties at the source code level. System's code is almost universally written in the C programming language, where memory is just a sequence of bytes and data can overlap almost arbitrarily. In this paper, we present a two-level formal memory model: abstract level and physical level. The abstract level is used to verify properties at design stage. While at physical level, the memory model captures some low-level features of C's pointers and memory. It is used to prove properties on code level. Then, we provide some well-behaved operations in the memory model and prove the well-formedness conditions of both levels. We use this model to solve the problems we encountered in an ongoing attempt to verify the Software Virtual Machine Kernel (SVMK). It is a real-time operating system kernel based on virtualization technology. The memory model is integrated in our verification environment based on the interactive theorem prover Coq. This verification environment will ultimately be used for the verification of the SVMK.
引用
收藏
页码:1125 / 1132
页数:8
相关论文
共 50 条
  • [1] A Formal Model of Memory Peculiarities for the Verification of Low-Level Operating-System Code
    Tews, Hendrik
    Weber, Tjark
    Voelp, Marcus
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 217 : 79 - 96
  • [2] Formal Memory Models for the Verification of Low-Level Operating-System Code
    Tews, Hendrik
    Voelp, Marcus
    Weber, Tjark
    JOURNAL OF AUTOMATED REASONING, 2009, 42 (2-4) : 189 - 227
  • [3] Formal Memory Models for the Verification of Low-Level Operating-System Code
    Hendrik Tews
    Marcus Völp
    Tjark Weber
    Journal of Automated Reasoning, 2009, 42 : 189 - 227
  • [4] Formal Verification of a Hybrid IoT Operating System Model
    Guan, Yuqian
    Guo, Jian
    Li, Qin
    IEEE ACCESS, 2021, 9 (09): : 59171 - 59183
  • [5] An Executable Code Authorization Model for Secure Operating System
    Chen Zemao
    Wu Xiaoping
    Tang Weimin
    PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON ELECTRONIC COMMERCE AND SECURITY, 2008, : 292 - +
  • [6] Operating System Verification
    Klein, Gerwin
    Huuck, Ralf
    Schlich, Bastian
    JOURNAL OF AUTOMATED REASONING, 2009, 42 (2-4) : 123 - 124
  • [7] Operating System Verification
    Gerwin Klein
    Ralf Huuck
    Bastian Schlich
    Journal of Automated Reasoning, 2009, 42 : 123 - 124
  • [8] Automated Verification Framework for Mixed Code in Embedded Real Time Operating System Kernel
    Guo, Jian
    Ding, Ji-Zheng
    Zhu, Xiao-Ran
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (05): : 1353 - 1373
  • [9] Model Development and Code Verification for Simulation of Electrodynamic Tether System
    Ellis, Joshua R.
    Hall, Christopher D.
    JOURNAL OF GUIDANCE CONTROL AND DYNAMICS, 2009, 32 (06) : 1713 - 1722
  • [10] Memory models for the formal verification of assembler code using bounded model checking
    Ecker, W
    Esen, V
    Steininger, T
    Zambaldi, M
    SEVENTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, : 129 - 135