<feed xmlns='http://www.w3.org/2005/Atom'>
<title>malloc/src, branch master</title>
<subtitle>Dynamic memory allocation library in C</subtitle>
<id>http://git.tvcloud.fr/cgit.cgi/malloc/atom?h=master</id>
<link rel='self' href='http://git.tvcloud.fr/cgit.cgi/malloc/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/'/>
<updated>2026-02-27T11:16:47Z</updated>
<entry>
<title>Fix stale filename comment, const qualifier, and int-to-size_t casts</title>
<updated>2026-02-27T11:16:47Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T11:16:47Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=c950a0a70d37f962bbef66221ff0a23cad450195'/>
<id>urn:sha1:c950a0a70d37f962bbef66221ff0a23cad450195</id>
<content type='text'>
- test_preload.c: @file main.c -&gt; @file test_preload.c
- show_alloc_mem.c, test_preload.c: hex array -&gt; static const
- show_alloc_mem.c, test_preload.c, test_random.c: use size_t
  for sizeof-derived indices instead of casting to int
</content>
</entry>
<entry>
<title>Implement realloc and add realloc rounds to random test</title>
<updated>2026-02-27T11:02:16Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T11:02:16Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=25d16ff06c2551ed090c2847efdc819303e577f3'/>
<id>urn:sha1:25d16ff06c2551ed090c2847efdc819303e577f3</id>
<content type='text'>
realloc returns the same pointer if the chunk is large enough,
otherwise malloc + memcpy + free. The random test now verifies
data integrity after resizing across all three categories.
</content>
</entry>
<entry>
<title>Implement free and add testing notes to README</title>
<updated>2026-02-27T10:45:06Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T10:45:06Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=5ba7a73f97fe6880dc5328807a1cb9353e77b863'/>
<id>urn:sha1:5ba7a73f97fe6880dc5328807a1cb9353e77b863</id>
<content type='text'>
free now locates the chunk matching the pointer, marks it as
free for TINY/SMALL zones, and munmaps LARGE allocations.
Document why ASan is incompatible and list alternatives.
</content>
</entry>
<entry>
<title>Add chunk splitting and free-chunk search, use sysconf for page size</title>
<updated>2026-02-27T10:13:19Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T10:13:19Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=fb19b1c35f6ec52c075b214d2f0416900a7c1bbe'/>
<id>urn:sha1:fb19b1c35f6ec52c075b214d2f0416900a7c1bbe</id>
<content type='text'>
malloc now searches zones for a free chunk, splits it to the
requested aligned size, and allocates a new zone when none have
space. Replace getpagesize() with sysconf(_SC_PAGESIZE).
</content>
</entry>
<entry>
<title>Add show_alloc_mem and test_show, rename test to test_preload</title>
<updated>2026-02-27T10:04:07Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T10:04:07Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=8849d801b9d3767390e3e1ed6b562db738ac1bcb'/>
<id>urn:sha1:8849d801b9d3767390e3e1ed6b562db738ac1bcb</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add zone allocation, internal data structures, and README</title>
<updated>2026-02-27T09:31:39Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T09:31:39Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=7de95ddd662b52c803d307b6028fd90a1aa71892'/>
<id>urn:sha1:7de95ddd662b52c803d307b6028fd90a1aa71892</id>
<content type='text'>
Implement mmap-based zone allocation for TINY (&lt;=128B) and SMALL
(&lt;=1024B) categories. malloc now creates zones on demand and
returns a pointer to the first chunk.
</content>
</entry>
<entry>
<title>Initial scaffold: Makefile, stub malloc/free/realloc, test harness</title>
<updated>2026-02-22T11:42:48Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-22T11:31:46Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=29b8c1556bf456596c6c067d413b65b51e17724e'/>
<id>urn:sha1:29b8c1556bf456596c6c067d413b65b51e17724e</id>
<content type='text'>
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.
</content>
</entry>
</feed>
