Commit Graph

19 Commits

Author SHA1 Message Date
016dcba92a fix HOSTTYPE setting even if env var is set. changes to free to not unmap first chunk and add env setting NO_UNMAP 2025-03-20 17:03:35 +01:00
13c3e9a77b norme fix 2025-02-15 16:26:27 +01:00
0a64743980 finished show_mem_alloc_ex 2025-02-15 16:22:08 +01:00
f5b2f8b8bf fix compilation error on newer clang version, fix some norm errors and start doing show_alloc_mem_ex function 2025-02-14 19:38:42 +01:00
561211f709 fix norm 2025-02-13 13:37:18 +01:00
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
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