Correctness Witnesses with Function Contracts
Preprint
Abstract
Software verification witnesses are a common exchange format for software verification tools. They were developed to provide arguments supporting the verification result, allowing other tools to reproduce the verification results. Correctness witnesses in the current format (version 2.0) allow only for the encoding of loop and location invariants using C expressions. This limits the correctness arguments that verifiers can express in the witness format. One particular limitation is the inability to express function contracts, which consist of a pre-condition and a post-condition for a function. We propose an extension to the existing witness format 2.0 to allow for the specification of function contracts. Our extension includes support for several features inspired by ACSL (\result, \old, \at). This allows for the export of more information from tools and for the exchange of information with tools that require function contracts.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Contract-LIB: A Proposal for a Common Interchange Format for Software System Specification2024
- Software Verification Witnesses 2.02024
- Case Study on Verification-Witness Validators: Where We Are and Where We Go2022
- Cooperation Between Automatic and Interactive Software Verifiers2022
- An Interface Theory for Program Verification2020
- Verification Artifacts in Cooperative Verification: Survey and Unifying Component Framework2020
- Deductive Software Verification: From Pen-and-Paper Proofs to Industrial Tools2019
- The VerCors Tool for Verification of Concurrent Programs2014
- VeriFast: A Powerful, Sound, Predictable, Fast Verifier for C and Java2011
- Dafny: An Automatic Program Verifier for Functional Correctness2010