From: Philippe W. <phi...@sk...> - 2014-05-24 17:54:37
|
On Sat, 2014-05-24 at 12:21 +0100, Vignesh wrote: > > ==268== HEAP SUMMARY: > ==268== in use at exit: 0 bytes in 0 blocks > ==268== total heap usage: 0 allocs, 0 frees, 0 bytes allocated This seems to indicate that malloc interception is not working. Try to run with -v -v -v -d -d -d -trace-redir=yes and look in the trace to see what is going wrong. Note that your application cannot be statically linked, otherwise redir of malloc et al does not work. (the dynamic linker must be invoked). The malloc library itself can be statically linked but you need to use --soname-synonyms=somalloc=NONE arg then. Philippe |