Skip to content

An implementation of `malloc(3)` in the Go programming language

License

Notifications You must be signed in to change notification settings

christarazi/galloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

galloc

An implementation of malloc(3) in the Go programming language.

Disclaimer: this was created for educational purposes.

Dependencies

This program is intended to be used on a Unix system because it depends on the unix package.

Usage

Simply download / clone the repo then run:

$ cd path/to/repo
$ go build && ./malloc

TODO

  • Add implementation for free(3)
  • Add implementation for realloc(3)
  • Add implementation for calloc(3)
  • Allow for use in C using cgo

License

This program is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License (or any later version). For more information, see the file LICENSE.

Releases

No releases published

Packages

No packages published

Languages