|
From: Jeremy F. <je...@go...> - 2004-02-18 17:46:33
|
On Wed, 2004-02-18 at 08:15, Josef Weidendorfer wrote:
> With debug info, you can catch malloc() calls at instrumentation of first
> basic block: make the instrumentation to be a JMP to a replacement function.
> This should also work in the shared library case.
>
> Isn't this already done ("kludge") in some cases?
It already does this for libc's malloc. BTW, you don't need full debug
info, just a symbol table.
J
|