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
来源
TRUSTCOM 2011: 2011 INTERNATIONAL JOINT CONFERENCE OF IEEE TRUSTCOM-11/IEEE ICESS-11/FCST-11 | 2011年
关键词
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
相关论文
共 17 条
  • [1] [Anonymous], 1980, SRI INT
  • [2] ARINC, 2005, 6532 ARINC
  • [3] KIT - A STUDY IN OPERATING SYSTEM VERIFICATION
    BEVIER, WR
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (11) : 1382 - 1396
  • [4] A Precise Yet Efficient Memory Model For C
    Cohen, Ernie
    Moskal, Michal
    Tobies, Stephan
    Schulte, Wolfram
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 254 : 85 - 103
  • [5] Certifying Low-Level Programs with Hardware Interrupts and Preemptive Threads
    Feng, Xinyu
    Shao, Zhong
    Dong, Yuan
    Guo, Yu
    [J]. PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION, 2008, : 170 - +
  • [6] ISO, 1999, 98991999 ISO ISOIEC
  • [7] Operating system verification-An overview
    Klein, Gerwin
    [J]. SADHANA-ACADEMY PROCEEDINGS IN ENGINEERING SCIENCES, 2009, 34 (01): : 27 - 69
  • [8] Formal verification of a C-like memory model and its uses for verifying program transformations
    Leroy, Xavier
    Blazy, Sandrine
    [J]. JOURNAL OF AUTOMATED REASONING, 2008, 41 (01) : 1 - 31
  • [9] Marti N., 2006, 3 WORKSH SEM PROGR A, P61
  • [10] Miné A, 2006, ACM SIGPLAN NOTICES, V41, P54, DOI 10.1145/1134650.1134659