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 条
  • [21] An analytical model for source code distributability verification
    Isazadeh, Ayaz
    Karimpour, Jaber
    Elgedawy, Islam
    Izadkhah, Habib
    JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE C-COMPUTERS & ELECTRONICS, 2014, 15 (02): : 126 - 138
  • [22] An analytical model for source code distributability verification
    Ayaz Isazadeh
    Jaber Karimpour
    Islam Elgedawy
    Habib Izadkhah
    Journal of Zhejiang University SCIENCE C, 2014, 15 : 126 - 138
  • [23] Chiefly Symmetric: Results on the Scalability of Probabilistic Model Checking for Operating-System Code
    Baier, Christel
    Daum, Marcus
    Engel, Benjamin
    Haertig, Hermann
    Klein, Joachim
    Klueppelholz, Sascha
    Maercker, Steffen
    Tews, Hendrik
    Voelp, Marcus
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (102): : 156 - 166
  • [24] Data set and model code on the optimal operating state of a negative emission polygeneration system
    Aviso, Kathleen B.
    Tan, Raymond R.
    Foo, Dominic C. Y.
    Lee, Jui-Yuan
    Ubando, Aristotle T.
    DATA IN BRIEF, 2020, 29
  • [25] Formal Model and Code Verification in Model-Based Design
    Popovici, Katalin
    Lalo, Marc
    2009 JOINT IEEE NORTH-EAST WORKSHOP ON CIRCUITS AND SYSTEMS AND TAISA CONFERENCE, 2009, : 392 - 395
  • [26] Memory model sensitive bytecode verification
    Department of Computer Science, University of Maryland, College Park, United States
    不详
    Formal Methods Syst Des, 1600, 3 (281-305):
  • [27] Improving an operating system with memory protection
    Limao, C.J.
    Paixao, A.A.
    Cunha, A.R.
    Proceedings of the IASTED International Symposium on Applied Informatics, 1991,
  • [28] Memory model sensitive bytecode verification
    Thuan Quang Huynh
    Abhik Roychoudhury
    Formal Methods in System Design, 2007, 31 : 281 - 305
  • [29] Memory model sensitive bytecode verification
    Huynh, Thuan Quang
    Roychoudhury, Abhik
    FORMAL METHODS IN SYSTEM DESIGN, 2007, 31 (03) : 281 - 305
  • [30] A Precise Yet Efficient Memory Model For C
    Cohen, Ernie
    Moskal, Michal
    Tobies, Stephan
    Schulte, Wolfram
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 254 : 85 - 103