Go to file
Antonia Lechner c74bca9f74 Clarify class/struct preference
Classes and structs both have their place, and it is confusing to always
prefer one of them. It depends on the situation.
The reworded version follows C++ Core Guideline C.2:
"Use class if the class has an invariant; use struct if the data members
can vary independently"
2019-03-25 16:37:16 +00:00
.githooks Make the pre-commit hook report non-temporary path names (#477) 2017-02-02 20:39:09 +00:00
.github Include User Guide item in pull request template 2018-11-15 19:23:58 +00:00
cmake Add DownloadProject cmake script 2017-09-27 11:22:20 +01:00
doc manual: markdown in jbmc manual 2019-03-23 15:13:02 +00:00
integration/xen Fix Xen integration test 2019-03-06 22:34:06 +00:00
jbmc Merge pull request #4416 from antlechner/antonia/nondet-int-refactor 2019-03-22 17:40:10 +00:00
pkg/arch Add CBMC package build file for Arch Linux 2017-04-26 16:29:00 +01:00
regression SMT2 string tests for nondet strings 2019-03-22 18:07:30 +00:00
scripts Make process_wrapper.sh executable 2019-03-18 10:16:21 +00:00
src Merge pull request #4371 from diffblue/array_of_exprt_API 2019-03-24 22:17:13 +00:00
unit Add check that gdb is on the path 2019-03-24 17:03:08 +00:00
.clang-format clang-format cleanup 2018-10-12 13:11:03 +00:00
.clang-format-ignore Use .clang-format-ignore 2019-01-29 09:43:59 +00:00
.dir-locals.el Move Emacs style file so it affects unit tests as well as main source 2017-08-16 12:43:32 +01:00
.editorconfig Don't remove trailing spaces from patch files 2016-11-29 17:26:59 +00:00
.gitattributes added test.desc as text 2016-08-15 12:35:10 +01:00
.gitignore Add function harness generator and generator factory 2019-02-07 16:44:02 +00:00
.gitmodules Use submodule to download java-models-library 2018-07-09 21:13:37 +01:00
.travis.yml Install gdb on macos builds 2019-03-19 15:52:32 +00:00
CHANGELOG Add new goto-instrument option print-global-state-size 2018-06-20 09:38:30 +01:00
CMakeLists.txt Build Cudd at the cmake configuration phase 2019-03-22 13:24:25 +00:00
CODEOWNERS CODEOWNERS: C. Smowton in goto-symex and goto-instrument 2019-03-01 14:41:12 +00:00
CODING_STANDARD.md Clarify class/struct preference 2019-03-25 16:37:16 +00:00
COMPILING.md Make JBMC build optional with cmake 2019-03-14 07:05:57 -07:00
LICENSE update year 2016-09-05 17:05:55 +01:00
MINI-PROJECTS.md Add CBMC Mini Projects list 2019-02-06 21:23:30 +00:00
README.md Add CBMC Mini Projects list 2019-02-06 21:23:30 +00:00
buildspec-linux-clang.yml Remove delete-failing-SMT-solver tests script 2019-02-08 12:50:58 +00:00
buildspec-linux-cmake-gcc.yml move two builds from Travis to codebuild 2019-02-03 15:52:17 +00:00
buildspec-windows.yml Enable SMT2 solver tests on Windows 2019-02-08 12:52:04 +00:00
buildspec.yml Install gdb package in CI to make gdb_apit unit tests work 2019-03-19 15:52:31 +00:00
gcloud-travis-cbmc.json.enc Add encrypted GCloud key for Travis 2018-03-20 12:16:01 +00:00

README.md

Build Status Build Status Build Status Build Status

CProver Wiki

CProver Documentation

About

CBMC is a Bounded Model Checker for C and C++ programs. It supports C89, C99, most of C11 and most compiler extensions provided by gcc and Visual Studio. It also supports SystemC using Scoot. It allows verifying array bounds (buffer overflows), pointer safety, exceptions and user-specified assertions. Furthermore, it can check C and C++ for consistency with other languages, such as Verilog. The verification is performed by unwinding the loops in the program and passing the resulting equation to a decision procedure.

For full information see cprover.org.

Versions

Get the latest release

  • Releases are tested and for production use.

Get the current develop version: git clone https://github.com/diffblue/cbmc.git

  • Develop versions are not recommended for production use.

Report bugs

If you encounter a problem please file a bug report:

Contributing to the code base

  1. Fork the repository
  2. Clone the repository git clone git@github.com:YOURNAME/cbmc.git
  3. Create a branch from the develop branch (default branch)
  4. Make your changes (follow the coding guidelines)
  5. Push your changes to your branch
  6. Create a Pull Request targeting the develop branch

New contributors can look through the mini projects page for small, focussed feature ideas.

License

4-clause BSD license, see LICENSE file.