计算机科学 > 程序设计语言
[提交于 2025年1月21日]
标题:Correctness Witnesses with Function Contracts
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Dominik Klumpp[v1] 2025年1月21日 星期二 17:27:59 UTC