Nana

Jul 20, 2023

Support for assertion checking and logging using GNU C and GDB

Nana provides improved support for assertion checking and logging in C, C++ using GDB. In particular it provides

o Operations can be implemented directly in C or by generating
  debugger commands which do the checking and logging only if the
  application is run under the debugger. The debugger based calls
  require are very space efficient 0 or 1 bytes per call.
o Support for checking real time constraints.
o Support for assertion invariant checking including
	+ Space and time efficient at least versus <assert.h>
	  For example asserti>=0 uses 53 bytes on a i386 vs
	  an optimised nana call which uses 10 bytes per call.
	+ Checking can be turned on or off at compile or run time.
	+ The action taken when an error is detected can be modified
	  on a global and per/call basis.
o Support for logging printf style debugging including
	+ Logging can be turned on and off at compile or run time.
	+ Logging to files, processes or circular buffers in memory
	  with optional time stamping.
o Support for the quantifiers of predicate calculus forall, exists.
o Support for before and after state saving and checking x, x'.


Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler