|
From: Nicholas N. <nj...@cs...> - 2007-04-04 22:05:56
|
On Wed, 4 Apr 2007, Ashley Pittman wrote: >> What about making a new tool out of it? >> It really would be _especially_ nice to print the function parameters with >> correct types, using DWARF debug info. > > You mean the "resource alloc/dealloc checker" Nick added to the projects > page last week? Hmm, there are similarities, but I see those as two different tools. The resource alloc/dealloc checker keeps track of the "tokens" returned by an "alloc" functions and checks if they are deallocated. The function entry/exit trace alone does not give you that. (Well, if you print the args you could maybe work it out, but painfully.) Nick |