ITPUB
Sep 27, 2016 · Backend Development
Building a Linux C++ Memory Leak Detector with Custom New/Delete
This article explains how to implement a memory‑leak detection subsystem for Linux C++ programs by overloading the global new/delete operators, recording allocation sites with file and line information, handling mismatched deletions, supporting dynamic monitoring, and addressing nested‑delete and mutex re‑entrancy issues.
C++DebuggingLinux
0 likes · 30 min read
