Apalache vs CBMC
Apalache
apalache-mc.orgCBMC
diffblue.github.ioSide by side
| Figure | Apalache | CBMC |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Formal Verification Tools | 7.7 (#17) | 8.1 (#8) |
| License | The repository identifies Apalache as Apache-2.0 licensed. | The repository identifies CBMC as licensed under the 4-clause BSD license. |
| Purpose | Apalache is a symbolic model checker for TLA+ specifications. | CBMC is a bounded model checker for C and C++ programs that explores possible execution paths and checks assertions. |
| Related tools | Solarkraft and Atomkraft use Apalache as a backend model checker. | The user guide names CBMC Viewer and CBMC Starter Kit as third-party tools for summarizing findings and adding verification to a project. |
| Solver support | The documentation lists Z3 as the default SMT solver and CVC5 as experimental. | CBMC supports an incremental SMT2 backend that can use an SMT-LIB 2.6 compliant solver, with examples for Z3 and CVC5. |
| Support | The site names Igor Konnov as the contact person. | The repository asks users encountering problems to file a bug report as a GitHub issue. |
Plans
In their own words
CBMC
CBMC is a bounded model checker for C and C++ programs. It explores execution paths to check assertions, including array bounds, pointer safety, exceptions, and some undefined behavior such as signed integer overflow. Its analysis unwinds loops before sending the resulting equation to a decision procedure, and inputs may need a bounded size. The repository lists C89, C99, most of C11, C17, C23, GCC and Visual Studio extensions, and SystemC through Scoot; the listed input languages also include Java bytecode. CBMC supports contracts and can produce counterexamples. Its incremental SMT2 backend works with SMT-LIB 2.6-compliant solvers, with Z3 and CVC5 as examples. Distribution options include Homebrew instructions for macOS, Ubuntu DEB packages, Windows MSI installers, and Docker images. goto-cc can replace gcc or cl.exe in Makefiles to collect project models. The guide discusses routine development and continuous integration use. CBMC is free under the 4-clause BSD license.