glibc
library provides functions such as free
and malloc
to help developers manage the heap memory according to their use cases. It is the responsibility of the developer to:free
any memory he/she has obtained using malloc
.free
the same memory more than once.malloc
return an already allocated fastchunkmalloc
return a nearly arbitrary pointerunlink
malloc
return a chunk overlapping with an already allocated chunkmalloc
return a nearly arbitrary pointermalloc
return a nearly arbitrary pointermalloc
return a nearly arbitrary pointermalloc
return a nearly arbitrary pointer