A Method to Generate Assertion and Proof about Assembly Language Certifying Compiler

Author
ZhangZhenZuo
Advisor
ChenYiYun
School
University of Science and Technology of China
Major
Computer Software and Theory
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2010
Downloads
39
Citations
0

Request the full text

Abstract

With the rapid development of computer science, software increasingly large-scale. Now consider the efficiency of software execution, but also increasingly concerned about their safety (Safety). High Confidence Software is committed to using cutting-edge technologies and tools to improve the security of computer software. Program verification is a method for constructing High Confidence Software, its principle is mathematically rigorous proof of program behavior consistent with its intended specification, thus ensuring the safety of the procedure. The program verifies the source code, assembly code. Source-level verification easier understanding and participation of programmers, but due to the low reliability of the ordinary compiler, the compiler can not guarantee that the assembly code generated by the verification of source code (Certified Source Code) is still scheduled to meet the safety norms. Although the assembly level verification to ensure the security of the generated assembly code, but if it is to manually write assembly code, writing assertions, interactive completion certificate, the cost is too high, the development of low efficiency. Therefore an ideal method is validated at the source code level, and then by integrating certifying compiler (Certifying Compiler) tool automatically generates a proven assembly code. This paper first introduces based on the nature of the program proven software security research at home and abroad as well as certifying compiler, then to introduced our project CComp the framework model: we have achieved a C-like language certifying compiler prototype in with standard notes compile source code into assembly code, but also to generate assembly code to meet the appropriate specifications Coq inspection certificate, thus ensuring the security of assembly code. The certifying compiler include: the front end of the compiler, assembler code generator, source-level verification condition generation, automated theorem proving, assembly-level assertion generator, assembly-level proof generator and assembler-level validation framework. The main work is concentrated in three parts of the back of a Hoare-style assembly-level validation framework, designed on the basis of the existing validation framework, the assertion language defined in this framework, and a new compilation level assertions and proven method of generating the assembly level assertion generation and assembly-level proof generator.

Table of contents

Abstract 4-5 ABSTRACT 5-8 Chapter 1 Introduction 8-18 1.1 research background and significance 8 - 13 1.1.1 trusted computing base 9 1.1.2 Program Verification 9-10 1.1.3 validation criteria 10-12 < br /> 1.1.4 prove aids Coq 12 1.1.5 carry identification code (PCC) 12-13 1.2 Research 13-15 < br /> 1.2.1 Separation Logic 13-14 1.2.2 certifying compiler 14 1.2.3 verified compiler 14-15 1.3 the problems and development direction 15-16 1.4 This article outlines 16-18 1.4.1 research 16-17 1.4.2 Features and contribution 17 1.4.3 chapters arranged 17-18 Chapter 2 certifying compiler Profile 18-26 2.1 overall framework for certifying compiler 18-20 2.2 CLIKE Language Introduction 20-22 2.3 source-level verification system 22-24 2.3 .1 specification markup language 22-23 2.3.2 source-level verification condition generator and theorem prover 23-24 2.4 target level validation system 24 2.5 Chapter Summary 24-26 Chapter 3 VSCAP validation framework 26-32 3.1 machine model and operational semantics 26-29 3.2 specification defines 29-30 3.3 inference rule 30-31 3.4 in VSCAP proof assembly level verification procedure under the framework of the steps is a good shape 31 3.5 Chapter Summary 31-32 Chapter 4 assembly-level code and assertions generated 32-44 4.1 assembly level code generation 32 - 34 4.2 assembly level assertions defined 34-39 4.2.1 p is defined 34-35 4.2.2 g defined 35 -36 4.2.3 p, g in the formal description coq 36-39 4.3 assembly level assertions generated 39-43 4.3.1 Assembly-level assertions translation 39-41 4.3.2 assembly level assertion calculus 41-43 4.4 Summary 43-44 Chapter 5 assembly level proved to generate 44-52 5.1 object-level proof classification 44-45 5.2 B class program points prove proof generation strategy 45-46 < br /> 5.3 A class of program points demonstrate proof generation strategy 46-51 5.3.1 proof of the statement is executed in order to generate strategies 47-49 5.3.2 Jump Proof generation strategy at 49-51 5.4 Chapter Summary 51-52 related work in Chapter 6 Comparison 52-56 6.1 Proven Compiler 52 6.2 certifying compiler generates the assembly level proved comparison 52-53 6.3 Comparison of assembly-level validation framework 53 <br / > 6.4 Chapter Summary 53-56 Chapter 7 Conclusions 56-60 7.1 thesis work summarizes 56-57 7.2 further research directions 57-60 References 60-62 Thanks 62-64 during the reading of papers published 64

Related dissertations

  1. Certifying Compilation in an Infrastructure for Developing Trustable Software
    GeLin ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  2. Researches on Two Important Topics of Certifying Compiler
  3. Proof Generation for Certifying Compiler
  4. An Integration of Several Data Flow Analysis Techniques for Program Verification
    XingYuChen ·Nanjing University ·2013 ·Master's thesis
  5. A Pointer Logic for Safety Verification of Pointer Programs
  6. Certifying the Safety of Assembly Pointer Programs
  7. Constraint Based Prolog Semantics and Its Applications in the Testing, Analysis and Verification of Prolog Programs
  8. Study on Program Verification Based on Symbolic Computation
    WuBin ·East China Normal University ·2010 ·Doctoral dissertation
  9. The Research of Partitioned Symbolic Execution Model and Its Environment Interaction Problem
  10. Program Verification Based on Computer Algebra
    ZhangZhiHai ·Beijing University ·2011 ·Doctoral dissertation
  11. Automated Loop Invariant Generation for Program Verification
  12. Study on Program Verification
  13. Concurrent Object-oriented Program Slicing and Its Application in Program Verification
    HeZhiXue ·Suzhou University ·2008 ·Master's thesis
  14. Research on Methods of Security Assurance Based on Computer-Assisted Proof
  15. Axiomatic semantics of the Java language 's exception handling mechanism
    QuWenJing ·Dalian University of Technology ·2004 ·Master's thesis
  16. Design and Implementation of Static Verifier in VeriJava
    ZhangCheng ·Shanghai Jiaotong University ·2007 ·Master's thesis
  17. Axiomatic Semantics of Class and Polymorphism for Java
    CuiHaiBo ·Dalian University of Technology ·2005 ·Master's thesis
  18. Verifying Parallel Low-Level Programs for Multi-core Processor
    ZhuYunMin ·Tsinghua University ·2009 ·Master's thesis
  19. A program verification tool design and implementation
  20. Analysis and Testing of Web Services Choreography Description Language
    XiaoHao ·East China Normal University ·2011 ·Master's thesis