Go to file
Pascal Kesseli 0496142cd7 Account for replaced functions in exceptions_map
Invariant in `uncaught_exceptions_analysist::output` expects all
functions in the GOTO model to be present in the exceptions_map.
However, functions like __CPROVER_assert(...) get replaced by explicit
GOTO instructions and will not occur as function calls, thus not be in
the map.  This fix addresses this issue, which only occurs in a debug
output produced with -DDEBUG.
2017-09-13 11:15:01 +02:00
.githooks Make the pre-commit hook report non-temporary path names (#477) 2017-02-02 20:39:09 +00:00
doc [docs 5/5] Convert CBMC Guide to Markdown 2017-07-10 12:48:38 +01:00
pkg/arch Add CBMC package build file for Arch Linux 2017-04-26 16:29:00 +01:00
regression Account for replaced functions in exceptions_map 2017-09-13 11:15:01 +02:00
scripts run_diff.sh shellcheck fixes 2017-09-06 11:18:32 +01:00
src Account for replaced functions in exceptions_map 2017-09-13 11:15:01 +02:00
unit Merge pull request #1339 from diffblue/initialize_goto_model 2017-09-11 21:57:39 +01: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 Updated doxyfile to a modern version 2017-06-30 19:39:42 +01:00
.travis.yml Remove PRE_COMMAND scaffolding 2017-09-11 17:52:58 +01:00
CHANGELOG dump-c: output a generated environment via --harness 2017-09-01 14:22:50 +01:00
CODING_STANDARD.md Update coding standard 2017-08-04 14:53:24 +01:00
COMPILING GCC 6 is no longer required 2017-05-22 17:35:10 +01:00
LICENSE update year 2016-09-05 17:05:55 +01:00
README.md Contributing section in readme 2017-08-22 17:27:21 +01:00
appveyor.yml added symex to Appveyor build 2017-09-12 18:23:50 +01:00

README.md

Build Status Build Status

CProver Wiki

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

License

4-clause BSD license, see LICENSE file.