mfunyu / malloc

Find out the workings behind optimum memory management and recode it, as well as free and realloc.
2 stars 0 forks source link

[imp] end of blocks (chunks) #2

Closed mfunyu closed 1 year ago

mfunyu commented 1 year ago

Currently, there is no detection for the end of the blocks. This will lead to an infinite loop in show_alloc_heap, and also make it impossible to tell the end of the mapped region.