Skip to content
Nana - a design by contract framework for C/C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autom4te.cache
doc
emacs
examples
gdb
man
perf
shortform
src
test
ANNOUNCE
AUTHORS
COPYING
ChangeLog
INSTALL
INSTALL.con
LICENSE
Makefile
Makefile.am
Makefile.in
NEWS
PROJECTS
README
README.md
THANKS
TODO
aclocal.m4
acnana.m4
compile
config.guess
config.log
config.status
config.sub
configure
configure.ac
configure.in~
depcomp
install-sh
missing
mkinstalldirs
showconfig.c
test-driver

README.md

nana

Nana is developer/testing tool for C/C++ which supports design by contract using a mix of code and GDB debugger support. It intended to be used for:

  • Safety critical or high reliability systems.
  • Embedded systems where the GDB.

Some of its benefits are space and time efficency, e.g.the default assert(i>=10) implementation on an i386 uses 52 bytes vs 10 bytes for nana inline checks (or 1 byte if you are using GDB based assertion checking).

Specific parts of the library require GNU CC extensions but it works under clang as well. A standards compliant version mostly excludes the quanitifers forall (A), exists (E), etc.

You can’t perform that action at this time.