16 Commits

Author SHA1 Message Date
naddy
85229c97e7 drop RCS Ids 2022-03-11 18:49:30 +00:00
kn
6cba74e4dc Use ports-gcc to fix sparc64 build and pass CC/CXX to honour CHOSEN_COMPILER 2022-02-19 20:02:39 +00:00
sthen
b000604618 actually use correct GH_TAGNAME this time, I was confused by the DISTNAME.
while github backed out the major change that broke distfile fetching, they
appear to not allow fetches from random junk filenames any more, they do need
a matching file/tag name, so with previous the distfile couldn't be fetched.
2021-11-30 10:10:06 +00:00
naddy
37387a6112 devel/cbmc: restore WRKDIST to fix build 2021-11-29 22:18:46 +00:00
sthen
189fd23f58 use correct GH_TAGNAME, use GH_DISTFILE 2021-11-28 12:45:46 +00:00
naddy
e3dcd216da devel/cbmc: unbreak parallel build
List the header files generated by bison as targets in Makefile rules
since they are prerequisites in other rules.
2021-05-12 14:44:18 +00:00
millert
5b213ba851 Use --defines=filename.h instead of -d to fix build with bison 3.7.
The y.tab.c file equivalent now includes the generated header so it
cannot simply be moved to a new name.  OK sthen@
2021-05-09 13:27:14 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
naddy
11e3dd67b3 switch COMPILER from the old, confusing shortcuts to the more explicit format 2017-11-16 23:20:37 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
c114d7057b add pthread to COMPILER_LIBCXX.
white lie, but it allows clang and gcc to be more similar
bump accordingly.
2017-07-23 09:26:25 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
espie
cc5bc426ed switch everything to new COMPILER idiom, even stuff that won't build with clang
yet, but at least that part is done.
2017-05-31 08:08:15 +00:00
espie
7f3650af58 use WANT_CXX, these build trivially 2017-05-27 04:41:43 +00:00
sthen
81f13e99fc fix WANTLIB, it was totally missing 2016-11-02 21:05:38 +00:00
jca
999a2e3391 Import CBMC, a model checker for C and C++.
Port by Simon Mages (maintainer) with input from Jan Klemkow, sthen@
and myself.  ok sthen@

DESCR:
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, and has experimental support for Java
Bytecode.

CBMC verifies 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.

While CBMC is aimed for embedded software, it also supports dynamic memory
allocation using malloc and new.

CBMC comes with a built-in solver for bit-vector formulas that is based on
MiniSat. As an alternative, CBMC has featured support for external SMT
solvers. Recommended solvers are (in no particular order) Boolector,
MathSAT, Yices 2 and Z3. Note that these solvers need to be installed
separately and have different licensing conditions.
2016-10-23 00:13:10 +00:00