A simplified model of C's contiguous memory and heap, implemented from scratch.
Features custom cmalloc and cfree functions, gap detection, and debug visualization.
- Custom
cmalloc/cfreememory allocation - Linked data structures for block tracking
- Debug utility to print memory layout
- Automated test cases validating correctness
gcc contiguous.c test-contiguous.c -o allocator
./allocator