Loop summarization using state and transition invariants

  • Authors:
  • Daniel Kroening;Natasha Sharygina;Stefano Tonetta;Aliaksei Tsitovich;Christoph M. Wintersteiger

  • Affiliations:
  • University of Oxford, Oxford, UK;University of Lugano, Lugano, Switzerland;Fondazione Bruno Kessler, Trento, Italy;University of Lugano, Lugano, Switzerland and Phonak AG, Stäfa, Switzerland;Microsoft Research, Cambridge, UK

  • Venue:
  • Formal Methods in System Design
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents algorithms for program abstraction based on the principle of loop summarization, which, unlike traditional program approximation approaches (e.g., abstract interpretation), does not employ iterative fixpoint computation, but instead computes symbolic abstract transformers with respect to a set of abstract domains. This allows for an effective exploitation of problem-specific abstract domains for summarization and, as a consequence, the precision of an abstract model may be tailored to specific verification needs. Furthermore, we extend the concept of loop summarization to incorporate relational abstract domains to enable the discovery of transition invariants, which are subsequently used to prove termination of programs. Well-foundedness of the discovered transition invariants is ensured either by a separate decision procedure call or by using abstract domains that are well-founded by construction.We experimentally evaluate several abstract domains related to memory operations to detect buffer overflow problems. Also, our light-weight termination analysis is demonstrated to be effective on a wide range of benchmarks, including OS device drivers.