This is a simple memory manager for POSIX systems (requires unistd.h
and sys/mman.h
) that implements two functions: simple_malloc()
and simple_free()
that behave identically* (but are not interchangeable with) malloc()
and free()
. Please don't use this, as malloc()
and free()
are not only built into the c standard library but almost certainly less buggy.
If you want to build it for some reason; after cloning the repo simply run the following from the root of the repo:
mkdir build
cd build
cmake ..
make