Skip to content
/ malloc Public

This project is about implementing a dynamic memory allocation mechanism.

Notifications You must be signed in to change notification settings

elcolin/malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env variable

export LD_LIBRARY_PATH=$(pwd)

How to use valgrind with my malloc implementation?

valgrind --soname-synonyms=somalloc=libft_malloc.so ./a.out

gcc test/test0.c -L. -lft_malloc -> takes one integer gcc test/test1.c -L. -lft_malloc -> takes two strings

TODO

  • Adapt size allocation
  • Memory alignment pb (+ 8?)

About

This project is about implementing a dynamic memory allocation mechanism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published