News for hackers. Stuff that matters.
Re:Ask HN: Memory leaks in C/C++ Application debugger tool? by jay-barronville on Thursday August 08, 2024 @09:30AM (#41191277)
Why not override the allocator functions and track the memory allocations and deallocations yourself?

You can do pretty much anything at that point (e.g., you can track memory allocations and deallocations at only the specific levels you care about)…

Re:Ask HN: Memory leaks in C/C++ Application debugger tool? by b20000 on Thursday August 08, 2024 @11:47AM (#41192804)
i recommend this approach as well, i've done this to keep track of statistics