This session start with a discussion on types of heap allocators. A quick review on malloc family of functions for allocating, using and freeing unnamed memory on heap. Role of system calls brk() and sbrk() in management of heap. The basic data structures used in management of heap for allocated and unallocated blocks. Common programming errors related to heap management. Tools and libraries for malloc debugging like splint, electric-fence, and Valgrind.

Email: Example Codes:

Leave a Reply

Your email address will not be published. Required fields are marked *