Search:

Type: Posts; User: coolclu3

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    8,311

    matsp, Salem, you ROCK!! Thanks a lot!!! This is...

    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...
  2. Replies
    10
    Views
    8,311

    Thanks but sorry I still don't get you...

    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...
  3. Replies
    10
    Views
    8,311

    If I understand it right, Prelude, at...

    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,...
  4. Replies
    10
    Views
    8,311

    Macro has same name as Function?

    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...
Results 1 to 4 of 4