Is it possible to determine whether and address was obtained using sbrk or mmap?
I am developing a heap memory allocator based on Hoard for educational purposes. I know how to allocate memory using sbrk and mmap and have developed toy level allocators before.