• DocumentCode
    501659
  • Title

    Modular Certification of Low-Level Intermediate Representation Programs

  • Author

    Dong, Yuan ; Wang, Shengyuan ; Zhang, Liwei ; Yang, Ping

  • Author_Institution
    Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
  • Volume
    1
  • fYear
    2009
  • fDate
    20-24 July 2009
  • Firstpage
    563
  • Lastpage
    570
  • Abstract
    Modular certification of low-level intermediate representation (IR) programs is one of the key steps of proof-transforming compilation. The major challenges are the complexity of abstract control stacks and the lack of control flow information due to their flat nature.To tackle these challenges, we present in this paper a novel Hoare-style logic framework for modular certification of p-machine style bytecode as IR programs. This logic can fully support abstract control stacks and unstructured control flows for modular certification of IR programs involving while loops, procedure call/return, recursive procedures, and even nested procedures. It applies foundational proof-carrying code (FPCC) concepts to IR level. This system is expressive and fully mechanized. We prove its soundness and demonstrate its power by certifying the implementation of some IR programs in the Coq proof assistant. This work not only provides a solid theoretical foundation for reasoning about IR programs, but also makes an important advance toward building proof-transforming compilation environment in which certified IR code with proofs can be compiled to machine checkable proof-carrying low-level assembly code.
  • Keywords
    formal logic; logic programming; reasoning about programs; Coq proof assistant; Hoare-style logic; foundational proof-carrying code; low-level intermediate representation program; modular certification; p-machine style bytecode; proof-transforming compilation; Application software; Assembly; Certification; Computer applications; Computer science; Educational institutions; Information science; Logic; Optical computing; Solids;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2009. COMPSAC '09. 33rd Annual IEEE International
  • Conference_Location
    Seattle, WA
  • ISSN
    0730-3157
  • Print_ISBN
    978-0-7695-3726-9
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2009.81
  • Filename
    5254213