<feed xmlns='http://www.w3.org/2005/Atom'>
<title>malloc/tests/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:39:03Z</updated>
<entry>
<title>Add comments to test programs, replace custom atoi with libc</title>
<updated>2026-02-27T11:39:03Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T11:39:03Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=9d2ca1ee92a13d6e276d74536ebf295f2331dc08'/>
<id>urn:sha1:9d2ca1ee92a13d6e276d74536ebf295f2331dc08</id>
<content type='text'>
Clarify purpose of helper functions and label the allocate/verify/free
phases in _s_test_category and _s_test_realloc. Remove _s_atoi in
favor of stdlib atoi.
</content>
</entry>
<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>Add randomized correctness test</title>
<updated>2026-02-27T10:57:42Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-27T10:57:42Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/malloc/commit/?id=b8de4f339318dc245b073f05e186c4b2b1e8e758'/>
<id>urn:sha1:b8de4f339318dc245b073f05e186c4b2b1e8e758</id>
<content type='text'>
test_random allocates N blocks per category (TINY/SMALL/LARGE)
with random sizes, fills them with a deterministic pattern, and
verifies the data. Run with system malloc and LD_PRELOAD to
compare output. Seed and count are parameterized via argv.
</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>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>
