matsp, Salem, you ROCK!! Thanks a lot!!! This is exactly what memwatch is doing.
Guys,thank you all!, Mistery resolved
Btw, if you're checking memory leaks in your apps, memwatch is pretty good i...
Type: Posts; User: coolclu3
matsp, Salem, you ROCK!! Thanks a lot!!! This is exactly what memwatch is doing.
Guys,thank you all!, Mistery resolved
Btw, if you're checking memory leaks in your apps, memwatch is pretty good i...
Thanks but sorry I still don't get you QuantumPete.
The only steps that i can imagine this possible is something like this, when compiling:
1. Get all the #define (s)
2. Define malloc by...
If I understand it right, Prelude, at preprocessing time, if it replaces *any* calls to malloc, then the code will be something like this, before compiling...
void* mwMalloc( size_t size,...
Hi all,
I'm analysing memwatch, a memory leaks detector, and came across this macro
#define malloc(n) mwMalloc(n,__FILE__,__LINE__)
And then in function mwMalloc, it calls malloc...