English

Enforcing Programming Guidelines with Region Types and Effects

Programming Languages 2018-01-24 v1 Logic in Computer Science Software Engineering

Abstract

We present in this paper a new type and effect system for Java which can be used to ensure adherence to guidelines for secure web programming. The system is based on the region and effect system by Beringer, Grabowski, and Hofmann. It improves upon it by being parametrized over an arbitrary guideline supplied in the form of a finite monoid or automaton and a type annotation or mockup code for external methods. Furthermore, we add a powerful type inference based on precise interprocedural analysis and provide an implementation in the Soot framework which has been tested on a number of benchmarks including large parts of the Stanford SecuriBench.

Cite

@article{arxiv.1801.07647,
  title  = {Enforcing Programming Guidelines with Region Types and Effects},
  author = {Serdar Erbatur and Martin Hofmann and Eugen Zalinescu},
  journal= {arXiv preprint arXiv:1801.07647},
  year   = {2018}
}

Comments

long version of APLAS'17 paper

R2 v1 2026-06-22T23:53:19.445Z