Skip to content

chhabra-anirudh/contiguous-memory-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Contiguous Memory Allocator (C)

A simplified model of C's contiguous memory and heap, implemented from scratch.
Features custom cmalloc and cfree functions, gap detection, and debug visualization.

Features

  • Custom cmalloc/cfree memory allocation
  • Linked data structures for block tracking
  • Debug utility to print memory layout
  • Automated test cases validating correctness

Build & Run

gcc contiguous.c test-contiguous.c -o allocator
./allocator

About

Simplified C memory allocator with custom cmalloc and cfree, gap detection, and debug visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages