Conversation

Can message me on IRC (strcat on freenode and oftc) and I'd be glad to help with it. Dropping it in as a replacement for jemalloc should be very easy. This is the entirety of the work for Android in Bionic: github.com/GrapheneOS/pla other than integrating the extra API extensions.
It would also be nice to set up the build system integration to have it as the internal malloc implementation in , rather than the current support for interposition via dynamic linking. Can be built as a static lib and linked into musl just like the approach for Bionic.
1
2
I can also provide some guidance on other libc hardening work including implementing production-oriented cross-DSO CFI (unlike compiler-rt), cross-DSO SafeStack, various smaller things like read-only-after-init data / setjmp mangling / internal function pointer protection, etc.
3