3 ms·
Hardened_malloc
- rurban 5y ago> The glibc support will be limited to replacing the malloc implementation because musl is a much more robust and cleaner base to build on and can cover the same use cases. Glad that Android shares my opinions. This is based on the OpenBSD malloc without the OpenBSD-typical slowdowns to catch bugs, but with more hardening. No idea about the relation to Rich' latest rewritten musl malloc, which is less about hardening, more about performance.
- Seirdy 5y agoMusl's mallocng is heavily inspired by hardened_malloc: https://www.openwall.com/lists/musl/2020/05/13/1 https://www.openwall.com/lists/musl/2020/05/13/1 mallocng was as much about hardening as it was about performance.
- deleted 5y ago[deleted]
- egberts1 5y agoI like the part where the blog mentioned certain malloc() library will break under ASLR (i.e., jemalloc, PartitionAlloc). Arena methodology of malloc() design should have been implemented with ALSR enabled.