Commit Graph

16 Commits

Author SHA1 Message Date
9824c9d230 add MALLOC_DEBUG_LEVEL environment variable support 2024-12-09 20:08:28 +01:00
039d29f0d7 fix realloc size detection when new size is larger than current chunk max size, add pthread mutex to make the functions thread safe 2024-12-05 18:59:07 +01:00
a9ad4492cc fix norm and mandatory done 2024-12-05 16:07:20 +01:00
913b33f74b fix get_prev_alloc, add "invalid pointer" message when an invalid pointer is passed to free or realloc 2024-12-04 18:49:53 +01:00
7dfa7eb049 fix norm and set chunk sizes 2024-12-03 19:03:30 +01:00
231b283e0d add realloc, rename bloc to chunk, start thinking of chunk sizes 2024-12-02 20:18:59 +01:00
a15705401e fix alloc between two allocations, fix free (uninitialized value) 2024-12-01 19:22:43 +01:00
7cddc28d28 add free function (may be broken), add pointer to first allocation in memory bloc. 2024-12-01 03:19:21 +01:00
fd59310dad add show_alloc_mem 2024-11-30 23:44:55 +01:00
59b60a0bd3 norm almost ok, just too many functions 2024-11-29 19:11:41 +01:00
2a3d29eb36 add malloc(ft_malloc for now) function 2024-11-29 18:49:10 +01:00
f721d2e95d some tests and create data structures 2024-11-28 20:25:32 +01:00
a18b30c0b2 add all .o and libft.a to gitignore 2024-11-27 17:50:53 +01:00
3c467a5fd5 add libft, add gitignore 2024-11-27 17:49:04 +01:00
b19228dccd add stddef.h 2024-11-26 20:18:06 +01:00
e809472771 create Makefile to compile a .so 2024-11-26 20:14:27 +01:00