Releases: phil-base/tripwire
Releases · phil-base/tripwire
v0.1.0 — Initial release
Lightweight C memory debugging wrapper. Drop in two files, catch buffer overflows, double frees, and leaks.
Features
- Transparent replacement of
malloc,realloc,calloc,strdup,free,memset,memcpy, andmemmovevia preprocessor macros - Sentinel-based buffer overflow and underflow detection
- Double-free and invalid-pointer detection
- Leak reporting via
tripwire_report() - File and line number in all diagnostics
Usage
Copy tripwire.h and tripwire.c into your project, include the header after your standard headers, and compile with tripwire.c. See the README for details.