Electronic Proceedings in Theoretical Computer Science (Aug 2011)

An Abstract Semantics for Inference of Types and Effects in a Multi-Tier Web Language

  • Letterio Galletta,
  • Giorgio Levi

DOI
https://doi.org/10.4204/EPTCS.61.6
Journal volume & issue
Vol. 61, no. Proc. WWV 2011
pp. 81 – 95

Abstract

Read online

Types-and-effects are type systems, which allow one to express general semantic properties and to statically reason about program's execution. They have been widely exploited to specify static analyses, for example to track computational side effects, exceptions and communications in concurrent programs. In this paper we adopt abstract interpretation techniques to reconstruct (following the Cousot's methodology) a types-and-effects system developed to handle security problems of a multi-tier web language. Our reconstruction allows us to show that this types-and-effects system is not sound with respect to the semantics of the language. In addition, we correct the soundness issues in the analysis and systematically construct a correct analyser.