A Program Result Checker for the Lexical Analysis of the GNU C Compiler

  • Authors:
  • Sabine Glesner;Simone Forster;Matthias Jäger

  • Affiliations:
  • Fakultät für Informatik, Universität Karlsruhe, 76128 Karlsruhe, Germany;Fakultät für Informatik, Universität Karlsruhe, 76128 Karlsruhe, Germany;Fakultät für Informatik, Universität Karlsruhe, 76128 Karlsruhe, Germany

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In theory, program result checking has been established as a well-suited method to construct formally correct compiler frontends but it has never proved its practicality for real-life compilers. Such a proof is necessary to establish result checking as the method of choice to implement compilers correctly. We show that the lexical analysis of the GNU C compiler can be formally specified and checked within the theorem prover Isabelle/HOL utilizing program checking. Thereby we demonstrate that formal specification and verification techniques are able to handle real-life compilers.