I have written a custom library which implements malloc/calloc/realloc/free using the standard C prototypes, and I figured out how to compile it to an so. I want to test the
Don't write your malloc() in terms of malloc() -- write it using sbrk, which gets memory directly from the OS.
malloc()
sbrk