未修改Linux内核库函数的演绎验证
Deductive Verification of Unmodified Linux Kernel Library Functions
摘要:
本文介绍了一个演绎验证基准的开发和评估的结果,包括26个未修改的Linux内核库函数实现传统的内存和字符串操作。函数的正式契约从其源代码中提取,并以先决条件和后置条件的形式表示。使用AstraVer工具集完全证明了23个函数的正确性,尽管使用2种新的规约语言结构成功实现了11个函数。另外两个函数在对它们的源代码进行了微小的修改后被证明,而最后一个函数不能使用现有的内存模型完全证明。该基准可用于测试和评估演绎验证工具,并作为验证Linux内核其他部分的起点。
英文摘要:
This paper presents results from the development and evaluation of a deductive verification benchmark consisting of 26 unmodified Linux kernel library functions implementing conventional memory and string operations. The formal contract of the functions was extracted from their source code and was represented in the form of preconditions and postconditions. The correctness of 23 functions was completely proved using AstraVer toolset, although success for 11 functions was achieved using 2 new specification language constructs. Another 2 functions were proved after a minor modification of their source code, while the final one cannot be completely proved using the existing memory model. The benchmark can be used for the testing and evaluation of deductive verification tools and as a starting point for verifying other parts of the Linux kernel.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。