计算机科学 > 计算机科学中的逻辑
[提交于 2023年8月29日]
标题:Certifying C program correctness with respect to CH2O with VeriFast
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:VeriFast is a powerful tool for verification of various correctness properties of C programs using symbolic execution. However, VeriFast itself has not been verified. We present a proof-of-concept extension which generates a correctness certificate for each successful verification run individually. This certificate takes the form of a Coq script which, when successfully checked by Coq, removes the need for trusting in the correctness of VeriFast itself. The Coq script achieves this by applying a chain of soundness results, allowing us to prove correctness of the program with regards to the third-party CH2O small step semantics for C11 by proving correctness in terms of symbolic execution in Coq. This proof chain includes two intermediate auxiliary big step semantics, the most important of which describes VeriFast's interpretation of C. Finally, symbolic execution in Coq is implemented by transforming the exported AST of the program into a Coq proposition representing the symbolic execution performed by VeriFast itself.
提交历史
来自:Stefan Wils[v1] 2023年8月29日 星期二 18:41:15 UTC