Skip to content

nielshoez/PSU_2019_malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSU_2019_malloc

Recode the standard LIBC function malloc realloc calloc free realloc_array in c using a best fit algorithm

How to use

make This will compile a shared library called libmy_malloc.so.

You can try to launch different programs by using the LD_PRELOAD=$(pwd)/libmy_malloc.so program_name command.

Example : LD_PRELOAD=$(pwd)/libmy_malloc.so ls -l will launch the ls program with -l flag.

alt text

Running the tests

make tests_run

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published