[PATCH v2 0/4] talloc and memory leak debugging

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 10 00:12:05 PST 2025


On Fri, 07 Nov 2025 15:41:08 +0100, Sascha Hauer wrote:
> This picks up the talloc series previously sent by Ahmad. I also added
> the memory leak debugging patch tooling for sandbox.
> 
> This series includes my review comments to v1.
> 
> Changes since v1:
> - pass originally allocated pointer to malloc_usable_size()
> - align talloc allocations to 8 bytes
> - Use __lsan_do_recoverable_leak_check() instead of
>   __lsan_do_leak_check() to keep barebox running after memory leaks have
>   been detected
> 
> [...]

Applied, thanks!

[1/4] lib: add talloc for overlaying a tree onto allocations
      https://git.pengutronix.de/cgit/barebox/commit/?id=9c35b3c2ac7e (link may not be stable)
[2/4] test: self: add talloc selftest
      https://git.pengutronix.de/cgit/barebox/commit/?id=2e65ba56f3ee (link may not be stable)
[3/4] hush: fix memory leaks
      https://git.pengutronix.de/cgit/barebox/commit/?id=f86d68979fa6 (link may not be stable)
[4/4] sandbox: add memory leak debugging tooling around LeakSanitizer
      https://git.pengutronix.de/cgit/barebox/commit/?id=bfa34bbddb8a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list