mallocQueiro is a minimalistic reimplementation of the C malloc function,
written entirely in AMD64 (x86-64) Assembly.
This project explores how dynamic memory allocation works at a low level,
showcasing the fundamentals behind one of the most important routines in C.
- Pure Assembly: Implemented fully in AMD64 (x86-64) assembly, with no external C code.
- Simplified allocator: Provides a basic, educational version of
mallocโnot intended for production use. - Learning focus: Designed to demystify how memory allocation is managed by operating systems and the C runtime.
- Implements a basic memory allocation routine.
- Focused on simplicity and readability rather than performance or advanced features.
- Serves as a starting point for experimenting with low-level memory management.
- Understand how
mallocworks internally (heap management, system calls, memory alignment). - Practice systems programming using pure assembly language.
- Provide a small, self-contained example for students and enthusiasts interested in OS and compiler internals.
- This is primarily a learning project, but suggestions, feedback, and discussions are welcome.
- Feel free to open an issue or submit a pull request.