From fcbfb0b6b3526c1e55bab6d8b740985282f35442 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Thu, 4 Apr 2024 22:18:37 -0500 Subject: [PATCH] Add defensive programming resources --- debugging.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debugging.md b/debugging.md index 239b59b2..6edd3614 100644 --- a/debugging.md +++ b/debugging.md @@ -1493,6 +1493,13 @@ See also: [RR](#rr), [WinDbg - Time Travel Debugging](https://github.com/MattPD/ - https://maskray.me/blog/2020-11-08-stack-unwinding - Unwind specification draft for GNU/Linux/ia64 (extends the exception ABI) - https://www.kernel.org/pub/linux/devel/gcc/unwind/ +## Defensive Programming +- Libassert: The most over-engineered C++ assertion library + - Provides detailed information on assertion failures and decomposes assertion expressions + - https://github.com/jeremy-rifkin/libassert +- Bloomberg's bsls_assert: Build-specific, runtime-configurable assertion macros + - https://bloomberg.github.io/bde-resources/doxygen/bde_api_prod/group__bsls__assert.html + --- # Talks