On Tue, 04 Jan 2011 01:12:53 +0200, %u <[email protected]> wrote:
I've recompiled the code for my library to redirect all calls to malloc(), free(), realloc(), and calloc() to HeapAlloc(), HeapFree(), and HeapReAlloc().
Sorry, do you mean the libc functions? The GC doesn't use those to allocate its memory pools, and uses page allocation functions (mmap on *nix and VirtualAlloc on Windows). If you mean the GC functions, then wouldn't your hooked malloc be called before mallocNoSync is called?
-- Best regards, Vladimir mailto:[email protected]
