Lightweight memory leak debugging on linux

前端 未结 8 1443
别那么骄傲
别那么骄傲 2021-01-30 09:33

I looked for existing answers first and saw that Valgrind is everyone’s favorite tool for memory leak debugging on linux. Unfortunately Valgrind does not seem

8条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 10:08

    Surprisingly, I was unable to find anything like Microsoft's UMDH in open-source domain or available for immediate download. (I also looked at Google Heap Leak Checker but it is more like Valgrind rather than to UMDH). So I ended up writing the tool myself using malloc instrumentation project as a reference point:

    https://github.com/glagolig/heapwatch

    The tool has number of limitations, but it worked just fine for my purposes.

提交回复
热议问题