Conversation

This Tweet was deleted by the Tweet author. Learn more
hardened_malloc only uses it in debug builds (AOSP userdebug and eng build variants, not user) because of the added overhead. It's a genuinely useful feature though. An example of the output with hardened_malloc: gist.github.com/thestinger/28c Can speed up figuring out UAF bugs, etc.
1
This Tweet was deleted by the Tweet author. Learn more
It would help a bit to be able to set more than one at a time but it would still be worse than being able to set them with mmap / mprotect. So, for example, hardened_malloc uses mappings directly for sizes above either 128k (default) or 16k (extended size classes disabled).
1
Show replies