Contract-based slicing

  • Authors:
  • Daniela Da Cruz;Pedro Rangel Henriques;Jorge Sousa Pinto

  • Affiliations:
  • Departamento de Informática, CCTC, Universidade do Minho, Braga, Portugal;Departamento de Informática, CCTC, Universidade do Minho, Braga, Portugal;Departamento de Informática, CCTC, Universidade do Minho, Braga, Portugal

  • Venue:
  • ISoLA'10 Proceedings of the 4th international conference on Leveraging applications of formal methods, verification, and validation - Volume Part I
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the last years, the concern with the correctness of programs has been leading programmers to enrich their programs with annotations following the principles of design-by-contract, in order to be able to guarantee their correct behaviour and to facilitate reuse of verified components without having to reconstruct proofs of correctness. In this paper we adapt the idea of specification-based slicing to the scope of (contract-based) program verification systems and behaviour specification languages. In this direction, we introduce the notion of contract-based slice of a program and show how any specification-based slicing algorithm can be used as the basis for a contract-based slicing algorithm.