pith. sign in

arxiv: 2302.02384 · v1 · pith:5OK5XQOKnew · submitted 2023-02-05 · 💻 cs.SE · cs.LO· cs.PL

CBMC: The C Bounded Model Checker

classification 💻 cs.SE cs.LOcs.PL
keywords cbmcsoftwareassertionsprogramanalysisboundedcheckerchecking
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Kani: A Model Checker for Rust

    cs.SE 2026-07 unverdicted novelty 6.0

    Kani is a model checker that compiles Rust proof harnesses from MIR to CBMC for bounded verification of safety properties and supports contracts to extend checks to unbounded correctness.

  2. QCP: A Practical Separation Logic-based C Program Verification Tool

    cs.PL 2025-05 unverdicted novelty 4.0

    QCP combines automatic separation logic verification with Rocq interactive proving for C programs via annotations and a VS Code extension.