Formal Verification of Real-time Operating System in Binary Code Level

Author
ShiJianZuo
Advisor
HeJiFeng
School
East China Normal University
Major
Applied Computer Technology
Classification
TP316.2 Real-time operating system
Degree
Doctoral dissertation
Year
2012
Downloads
258
Citations
1

Request the full text

Abstract

With the rapid development of the science and technology, people are paying more and more attention to the correctness and the safety of the critical software systems which are based on the real-time operating systems. Therefore,the correctness of the real-time operating system is of vital importance. To ensure the correctness and the safety of the real-time operating system, a new approach is proposed for verifying the real-time system in binary code level. The approach which is proposed in this thesis has been applied in the national key project "Research on reliable analyzing and verification approach for Automotive Electronic System" under "Core electronic components, High-end general chips and Infrastructure software" series projects.In this paper, the theory, methodology and tools are proposed. The contributions of the binary code level real-time operating system verification work are listed as follows:1. Embedded Application Oriented Binary Code Intermediate Language-xBIL. It is proposed on this thesis that Embedded Application Oriented Binary Code Interme-diate Language-xBIL (eXtensive Binary Intermediate Languag). xBIL can be used to present the binary code of multiple hardware platforms in a unified form. xBIL which supports the interrupt mechanism, can be used to describe the interrupt be-haviors of the low level program in the operating system. xBIL can also declare the execution time of the instructions, and evaluate the execution time of the program. The approach presents the operational semantics and the denotational semantics of the xBIL, and the equivalence of the two semantics have been proved.2. Bit vector arithmetic and Decision procedure In this paper, a new bit vector arith-metic and it’s decision procedure are proposed for deciding the bit vector formulas of xBIL code.3. The approach of verifying the real-time operating system in binary code level. The approach and methodology of verifying the real-time operating system are intro-duced in this paper. Not only the OS specification verification, but also the interrupt safety properties verification are considered in this paper.4. Integrated tools chain for operating system verification The approach which is pro-posed in this thesis has been applied a kind of integrated automatic verification platform. This platform integrates variety of verification tools, and hosts all the tools as services in the enterprise service bus. Through the service adapter of each verification tools, the service coordinates all the verification tools and performs the verification work automatically and efficiently.The approaches above are applied in the verification work of ORIENTAIS RTOS. The application represents the practicality of these approaches. By improving the37bugs which are found by the methodologies of this paper, ORIENTAIS has been certificated by the OSEK international standard group.

Table of contents

Summary 6-8 Abstract 8-12 first chapter 12-28 1.1 operating system authentication related work 17 Situation analysis and verification methods -18 1.2 object code for a program verification and simulation of the status quo 18-20 1.3 tool 20-23 1.4 existing problems main job nbsp 23-25 ?? 1.5 herein ; 25-28 the second chapter of the object code for embedded applications intermediate language xBIL 28-58 <br / > 2.1 xBIL language 30-38 2.2 xBIL operational semantics 38-44 2.3 xBIL denotational semantics 44-48 2.4 xBIL of semantic equivalence proof 48-52 2.5 real-time operating system and application analysis indicates xBIL 52-56 2.6 Summary 56-58 <br / > the third chapter xBIL bit field operation and decision process 58-80 effects 3.1 xBIL bit field operation and determination process 59-61 3.2 xBIL bit field operation 61-68 bit field operation 3.3 xBIL expression interpretation representation 68-69 3.4 xBIL bit field formulas 69-70 3.5 xBIL bit field determination process 70-76 3.6 xBIL bit field operation and application examples of the determination process 76-79 3.7 of this chapter subsections 79-80 <br / > Chapter IV object code based real-time operating system API to verify 80-90 4.1 xBIL Hall logical assertions based representation and reasoning rules extend 80-84 4.2 based Hall RTOS functional logic verification 84-88 4.3 Summary 88-90 Chapter V with the probability of real-time operating system interrupt verify security properties 90-112 5.1 interrupt safe nature of authentication methods and processes 91-92 5.2 xBIL abstract instruction interrupt generation method 92-96 5.3 interrupt -based xBIL discrete time Markov chain modeling abstract instruction 96-102 5.4 automatically generates an interrupt safe nature and 102-105 5.5 automated verification 105 5.6 ORIENTAIS interrupt security properties verification results 105-110 section 5.7 of this chapter 110-112 Chapter VI application system integration verification 112-124 <br / > 6.1 integrated authentication methods and processes 114-116 6.2 formal verification tool chain platform 116-120 6.3 developed tools 120-122 <br / > 6.4 Chapter Summary 122-124 Chapter VII summary and Outlook 124-126 Appendix A 126-138 A.1 bit propositional formula determines the domain generated 1 126-130 A.2 -bit field determines the formula generated proposition 2 130-135 A.3 ORIENTAISAPI-GetAlarmxBIL 135-138 References 138-148 Thanks published 148-150 PhD period, participation in research projects and apply for a patent case 150-152

Related dissertations

  1. Research on AADL model transformation and verification
    LiuZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  2. Research on the Scheduling Algorithms in Real-Time Multimedia Systems
  3. Functional Verification of YHFT-DX High Performance DSP
  4. Design and Implementation of Vibration Spectrum Analyzer
    WangSheng ·Zhejiang University of Technology ·2013 ·Master's thesis
  5. Reseach on Intelligent Control of Elevator Gate Based on Image Recognition
    WangFei ·Zhejiang University of Technology ·2009 ·Master's thesis
  6. Study on the transplantation of FreeRTOS real-time operating system based on Lwip protocol
  7. The kernel of embedded real-time operating system FreeRTOS
  8. Research on the Context Switching Method in Preempitive Real-Time System
    CaiXueLiang ·Northeastern University ·2010 ·Master's thesis
  9. Design and Implementation of Embedded Operating System WebitX for Internet of Things
    GuoNaiMing ·Northeastern University ·2010 ·Master's thesis
  10. The Interrupt Mechanism of Real-time Operating System on ARM
  11. A Tailoring and Research of Embedded Operating System in Intelligent Car Equipment
  12. Memory Management of an ARM-based Embedded Real-Time Operating System
  13. Design and Implementation of an Automotive Embedded Real-Time Operating System Kernel Supporting Homogeneous Multicore
    JiangBin ·Hunan University ·2012 ·Master's thesis
  14. A Requirements Verification Supporting Tool for Embedded Systems
    WangMengJia ·Jilin University ·2012 ·Master's thesis
  15. Software Trustworthiness Mesurement Based on Model Checking
    HanZuo ·Beijing University of Technology ·2012 ·Master's thesis
  16. Analysis and Verification of Security Authorization for Role Based Access Control System
    ZhangZuo ·Hunan University ·2011 ·Master's thesis
  17. Research on Methodology of Formal Design and Verification for Security Operating System
    QianZhenJiang ·Nanjing University ·2013 ·Doctoral dissertation
  18. Application of model checking to the formal verification of security protocols
  19. A Research Approach to Model Abstraction Based on Assertion Graph
  20. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation