Article 6FTCY OpenBSD's built-in memory leak detection

OpenBSD's built-in memory leak detection

by
from OpenBSD Journal on (#6FTCY)

Asannouncedon themisc@mailing list,Otto Moerbeek (otto@),the author of OpenBSD'smalloc(3)implementation[a.k.a. "otto malloc"],has written atutorial on the newmalloc(3) leak detection available in OpenBSD 7.4

Read it at:OpenBSD's built-in memory leak detection

Since the publication of that write-up,Otto hascommittedfurther enchancements:

CVSROOT:/cvsModule name:srcChanges by:otto@cvs.openbsd.org2023/10/22 06:19:26Modified files:lib/libc/stdlib: malloc.3 malloc.c Log message:When option D is active, store callers for all chunks; this avoidsthe 0x0 call sites for leak reports. Also display more info ondetected write of free chunks: print the info about where the chunkwas allocated, and for the preceding chunk as well.ok asou@
External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments