• DocumentCode
    3025992
  • Title

    Towards the formal verification of a C0 compiler: code generation and implementation correctness

  • Author

    Leinenbach, Dirk ; Paul, Wolfgang ; Petrova, Elena

  • Author_Institution
    Dept. of Comput. Sci., Saarland Univ., Saarbrucken, Germany
  • fYear
    2005
  • fDate
    7-9 Sept. 2005
  • Firstpage
    2
  • Lastpage
    11
  • Abstract
    In the spirit of the famous CLI stack project the Verisoft project aims at the pervasive verification of entire computer systems including hardware, system software, compiler, and communicating applications, with a special focus on industrial applications. The main programming language used in the Verisoft project is C0 (a subset of C which is similar to MISRA C). This paper reports on (i) an operational small steps semantics for C0 which is formalized in Isabelle/HOL, (ii) the formal specification of a compiler from C0 to the DLX machine language in Isabelle/HOL, (iii) a paper and pencil correctness proof for this compiler and the status of the formal verification effort for this proof, and (iv) the implementation of the compiler in C0 and a formal proof in Isabelle/HOL that the implementation produces the same code as the specification.
  • Keywords
    formal specification; formal verification; program compilers; programming language semantics; C0 compiler; DLX machine language; Isabelle-HOL; Verisoft project; code generation; compiler implementation correctness; formal specification; formal verification; operational small step semantics; paper-and-pencil correctness proof; Application software; Communication industry; Computer industry; Computer languages; Formal verification; Hardware; Pervasive computing; Program processors; System software; Utility programs;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Formal Methods, 2005. SEFM 2005. Third IEEE International Conference on
  • Print_ISBN
    0-7695-2435-4
  • Type

    conf

  • DOI
    10.1109/SEFM.2005.51
  • Filename
    1575889