How OpenBSD’s malloc helps the developer - Otto Moerbeek - EuroBSDcon 2023
Otto Moerbeek: How OpenBSD’s malloc helps the developer
It has been 15 years since my malloc implementation was imported into OpenBSD. It features randomization, keeping meta-data strictly separate from user data and detecting various forms of API misuse like use-after-free and writes inside the allocation but outside the requested size.
These features not only improve security but also help the developer to find bugs. We will discuss the malloc features that help the developer doing proper memory management, concentrating on memory leak detection. While available for some time, the leak detection code was not compiled in by default and cumbersome to use. Recently it was reworked to make it easier to use and it is now available by default.
Otto Moerbeek has been a OpenBSD developer for 20 years. His contributions to OpenBSD include major work on utilities like patch(1) and diff(1), new versions of dc(1) and bc(1), privilege separated tcpdump(8), work on ntpd(8) and kernel time
6 views
1003
247
4 months ago 00:51:48 1
How OpenBSD’s malloc helps the developer - Otto Moerbeek - EuroBSDcon 2023
1 year ago 00:26:40 1
Can an iMac G3 with OpenBSD be my daily driver?
3 years ago 00:48:24 5
HackTheBox - OpenKeyS
4 years ago 00:10:38 1
How to Install VirtualBox 6.1 on Windows 10 | SYSNETTECH Solutions
4 years ago 00:40:39 2
BSDCan 2020 Libreswan
5 years ago 00:41:50 2
Wireless Fidelity with bwfm(4)
5 years ago 00:53:02 6
36C3 - A systematic evaluation of OpenBSD’s mitigations