aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add show_alloc_mem and test_show, rename test to test_preloadThomas Vanbesien2026-02-271-0/+87
| | | | | | Implement show_alloc_mem() to print all zones and allocations by ascending address. Add test_show binary that links directly against libft_malloc.so to exercise it.
* Add zone allocation, internal data structures, and READMEThomas Vanbesien2026-02-272-5/+80
| | | | | | Implement mmap-based zone allocation for TINY (<=128B) and SMALL (<=1024B) categories. malloc now creates zones on demand and returns a pointer to the first chunk.
* Initial scaffold: Makefile, stub malloc/free/realloc, test harnessThomas Vanbesien2026-02-223-0/+45
Build system produces libft_malloc_$HOSTTYPE.so shared library with Libft (NOMALLOC=1) as dependency. Stub functions print their name and return NULL. Test runner compares system malloc vs LD_PRELOAD output using write(2) to avoid stdio interference.