Bounds of heap-allocated memory using malloc.c?

From what I understand, this should work. Malloc uses these values to define where it can allocate memory Here is a malloc implementation, it may help answer your questions asf.atmel.no/avr32/services/storage/mem_....

From what I understand, this should work. Malloc uses these values to define where it can allocate memory. Here is a malloc implementation, it may help answer your questions.

asf.atmel.no/avr32/services/storage/mem_....

Thanks! I already have Doug Lea's malloc. C, which is what that link goes to.

BTW, any idea why least_addr would have a value lower than the address of the mspace itself? I was expecting that the malloc_state structure would take up the first sizeof(struct malloc_state) bytes of the mspace, so least_addr should come right after that, but my testing shows a least_addr value lower than the pointer address of the mspace. – Amittai Aviram Feb 14 at 23:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions