Hacker News new | ask | show | jobs
by gchaincl 1277 days ago
This is awesome, i had to do the same, ended up writing a .h file that redefined malloc/free with macros, and then reported the missing and double frees.

https://github.com/qustavo/smc/blob/master/smc.h#L191