From: Nicholas N. <n.n...@gm...> - 2009-05-07 22:49:40
|
On Fri, May 8, 2009 at 12:49 AM, John Reiser <jr...@bi...> wrote: >> - The last place where a pointer to a block was clobbered/lost, which is a >> probable location for the actual leak > > Search the Web for "valgrind omega". This paper is related too: author = {Jonas Maebe and Michiel Ronsse and Koen De Bosschere}, title = {Precise detection of memory leaks}, booktitle = {Proceedings of the Second International Workshop on Dynamic Analysis (WODA 2004)}, pages = {}, address = {Edinburgh, Scotland}, month = may, year = 2004, In general, what you are proposing is possible, but it's not easy, is really slow and would be lots of extra code in Memcheck. Nick |