Tame Your Annotations with MetAcsl: Specifying, Testing and Proving High-Level Properties

  • Virgile Robles
  • , Nikolai Kosmatov
  • , Virgile Prevosto
  • , Louis Rilling
  • , Pascale Le Gall

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A common way to specify software properties is to associate a contract to each function, allowing the use of various techniques to assess (e.g. to prove or to test) that the implementation is valid with respect to these contracts. However, in practice, high-level properties are not always easily expressible through function contracts. Furthermore, such properties may span across multiple functions, making the specification task tedious, and its assessment difficult and error-prone, especially on large code bases. To address these issues, we propose a new specification mechanism called meta-properties. Meta-properties are enhanced global invariants specified for a set of functions, capable of expressing predicates on values of variables as well as memory related conditions (such as separation) and read or write access constraints. This paper gives a detailed presentation of meta-properties and their support in a dedicated Frama-C plugin MetAcsl, and shows that they are automatically amenable to both deductive verification and testing. This is demonstrated by applying these techniques on two illustrative case studies.

Original languageEnglish
Title of host publicationTests and Proofs - 13th International Conference, TAP 2019, held as part of the 3rd World Congress on Formal Methods 2019, Proceedings
EditorsDirk Beyer, Chantal Keller
PublisherSpringer
Pages167-185
Number of pages19
ISBN (Print)9783030311568
DOIs
Publication statusPublished - 1 Jan 2019
Externally publishedYes
Event13th International Conference on Tests and Proofs, TAP 2019, held as part of the 3rd World Congress on Formal Methods, FM 2019 - Porto, Portugal
Duration: 9 Oct 201911 Oct 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11823 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference13th International Conference on Tests and Proofs, TAP 2019, held as part of the 3rd World Congress on Formal Methods, FM 2019
Country/TerritoryPortugal
CityPorto
Period9/10/1911/10/19

Fingerprint

Dive into the research topics of 'Tame Your Annotations with MetAcsl: Specifying, Testing and Proving High-Level Properties'. Together they form a unique fingerprint.

Cite this