I created a C library that enhances memory allocation

3 months ago
3

I created a C library that enhances memory allocation methods of the standard library. It is a very tiny library that enhances malloc() and free() functions in the C language.

I named it MemGuard (Memory Guard) because I enabled programmers to set a fixed memory size limit for their app and whenever they allocate memory, now they can use mg_malloc() and mg_free() functions which will make sure the limits set are not exceeded and the operations done with memory are valid memory addresses and not null.

Source code:

https://github.com/yunusemrejr/memguard

Loading comments...