Skip to content

MateusPersonalProjects/mallocQueiro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

mallocQueiro

Linux Assembly

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.

๐Ÿ“œ Overview

  • 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.

๐Ÿšง Current Status

  • 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.

๐Ÿ› ๏ธ Goals

  • Understand how malloc works 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.

๐Ÿค Contributing

  • This is primarily a learning project, but suggestions, feedback, and discussions are welcome.
  • Feel free to open an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published