arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.02384cs.SEcs.LOcs.PL
收藏

CBMC:C有界模型

CBMC: The C Bounded Model Checker

Daniel Kroening, Peter Schrammel, Michael Tautschnig

摘要:

CBMC(C Bounded Model)是证明C程序中断言的违反,或在给定的边界下证明断言的安全性。CBMC实现了一个输入C程序的位精确翻译,用断言和循环展开到给定的深度进行注释,变成一个公式。如果公式是可满足的,则存在导致违反断言的执行。CBMC是最成功的软件验证工具之一。它的主要优点是它的精度,鲁棒性和简单性。CBMC作为几个Linux发行版的一部分提供。它已被成千上万的软件开发人员用来验证真实世界的软件,如Linux内核,并为商业软件分析和测试生成工具提供支持。表1概述了CBMC的功能。CBMC也是一个通用的工具,可以应用于解决许多实际的程序分析问题,如错误发现,属性检查,测试输入生成,安全漏洞检测,等价性检查和程序合成。本章将介绍CBMC,包括实际例子和进一步阅读的提示。此外,我们还提供了有关CBMC自身发展的见解,展示了其在过去十年中的表现如何演变。

英文摘要:

The C Bounded Model Checker (CBMC) demonstrates the violation of assertions in C programs, or proves safety of the assertions under a given bound. CBMC implements a bit-precise translation of an input C program, annotated with assertions and with loops unrolled to a given depth, into a formula. If the formula is satisfiable, then an execution leading to a violated assertion exists. CBMC is one of the most successful software verification tools. Its main advantages are its precision, robustness and simplicity. CBMC is shipped as part of several Linux distributions. It has been used by thousands of software developers to verify real-world software, such as the Linux kernel, and powers commercial software analysis and test generation tools. Table 1 gives an overview of CBMC's features. CBMC is also a versatile tool that can be applied to solve many practical program analysis problems such as bug finding, property checking, test input generation, detection of security vulnerabilities, equivalence checking and program synthesis. This chapter will give an introduction into CBMC, including practical examples and pointers to further reading. Moreover, we give insights about the development of CBMC itself, showing how its performance evolved over the last decade.

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

↑