CBMC vs PRISM
CBMC
diffblue.github.ioPRISM
prismmodelchecker.orgSide by side
| Figure | CBMC | PRISM |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Formal Verification Tools | 8.1 (#8) | 7.6 (#19) |
| Distribution | The release page provides macOS Homebrew instructions, Ubuntu DEB packages, Windows MSI installers, and Docker container images. | PRISM is distributed under the GNU General Public License, version 2. |
| Purpose | CBMC is a bounded model checker for C and C++ programs that explores possible execution paths and checks assertions. | PRISM is a probabilistic model checker for formal modelling and analysis of systems with random or probabilistic behaviour. |
| Support | The repository asks users encountering problems to file a bug report as a GitHub issue. | The project directs users to its FAQ and manual, and invites other questions, feedback, bug reports, and feature requests through its forum or GitHub issue tracker. |
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.
PRISM
PRISM is a probabilistic model checker for formal modelling and analysis of systems with random or probabilistic behaviour. It supports discrete-time and continuous-time Markov chains, Markov decision processes, probabilistic automata, probabilistic timed automata, partially observable models, and interval models; costs and rewards can extend supported models. Its property language includes PCTL, CSL, LTL, and PCTL*, with quantitative and costs/rewards extensions. Analysis options include BDD- and MTBDD-based symbolic algorithms, discrete-event simulation for approximate or statistical checking, quantitative abstraction refinement, and symmetry reduction. The tool accepts the PRISM language, PEPA, and SBML, and supports temporal-logic formalisms and counterexamples. Version 4.10.1 supports UMB import and export, POMDP import from explicit files, and optional exchange of initial state information through a .tra file. PRISM is free and open source under GNU General Public License version 2. It runs on Linux, Windows, and macOS and requires Java 11 or later; binary distributions require the Java Runtime Environment.