[Following](https://www.gnu.org/software/libc/manual/html_node/Replacing-malloc.html) functions are needed to replace [`std::malloc`](https://en.cppreference.com/w/cpp/memory/c/malloc): - [x] malloc - [x] free - [x] calloc - [x] realloc - [x] aligned_alloc - [x] malloc_usable_size - [x] memalign - [x] posix_memalign - [x] pvalloc - [x] valloc Additionally, we should check if it is necessary to overload C++ `new` and `delete` operators (#4). Other programs that are dynamically linked to `libstdc++` may be overrode to link with our custom malloc implementation with help of [dynamic override](https://github.com/microsoft/mimalloc#dynamic-override).
Following functions are needed to replace
std::malloc:Additionally, we should check if it is necessary to overload C++
newanddeleteoperators (#4).Other programs that are dynamically linked to
libstdc++may be overrode to link with our custom malloc implementation with help of dynamic override.