Integration of a security type system into a program logic

  • Authors:
  • Reiner Hähnle;Jing Pan;Philipp Rümmer;Dennis Walter

  • Affiliations:
  • Department of Computer Science and Engineering, Chalmers University of Technology and Göteborg University, Sweden;Department of Mathematics and Computer Science, Eindhoven University of Technology, Netherlands;Department of Computer Science and Engineering, Chalmers University of Technology and Göteborg University, Sweden;Deutsches Forschungszentrum für Künstliche Intelligenz, Bremen, Germany

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2008

Quantified Score

Hi-index 5.23

Visualization

Abstract

Type systems and program logics are often thought to be at opposing ends of the spectrum of formal software analyses. In this paper we show that a flow-sensitive type system ensuring non-interference in a simple while-language can be expressed through specialised rules of a program logic. In our framework, the structure of non-interference proofs resembles the corresponding derivations in a state-of-the-art security type system, meaning that the algorithmic version of the type system can be used as a proof procedure for the logic. We argue that this is important for obtaining uniform proof certificates in a proof-carrying code framework. We discuss in which cases the interleaving of approximative and precise reasoning allows us to deal with delimited information release. Finally, we present ideas on how our results can be extended to encompass features of realistic programming languages such as Java.