arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.17289cs.LO
收藏

OCaml程序的静态与动态验证:Gospel生态系统(扩展版)

Static and Dynamic Verification of OCaml Programs: The Gospel Ecosystem (Extended Version)

Tiago Lopes Soares, Ion Chirica, Mário Pereira

AI总结:

本文展示了基于Gospel规范语言,协同使用Ortac、Cameleer和CFML等动态与静态分析工具,对一个非平凡OCaml程序进行验证的案例研究,揭示了不同工具的互补性及规范编写差异。

摘要:

我们展示了在动态和静态分析工具协同使用方面的工作,用于验证用OCaml语言编写的软件。我们基于Gospel构建,这是一种用于OCaml的规范语言,可用于动态和静态分析。我们采用Ortac进行运行时断言检查,并采用Cameleer和CFML对OCaml代码进行演绎验证。我们报告了使用此类工具对一个非平凡的OCaml程序进行协同分析案例研究的情况。这展示了这些工具如何很好地互补,同时突出了在编写针对动态或静态分析方法的规范时的差异。

英文摘要:

We present our work on the collaborative use of dynamic and static analysis tools for the verification of software written in the OCaml language. We build upon Gospel, a specification language for OCaml that can be used both in dynamic and static analyses. We employ Ortac, for runtime assertion checking, and Cameleer and CFML for the deductive verification of OCaml code. We report on the use of such tools to build a case study of collaborative analysis of a non-trivial OCaml program. This shows how these tools nicely complement each others, while at the same highlights the differences when writing specification targeting dynamic or static analysis methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑