Hacker GitHub

← All repos

GrapheneOS/hardened_malloc

View on GitHub ↗ ★ 2,049 C

Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability/integration over time.

15 mentions on Hacker News by 11 people: 4 stories, 11 comments · first 2019-06-10 · latest 2025-11-08

Mentions per year 15 mentions · busiest year 2019 (3)
20082026
  1. …It would probably be less expensive in terms of time and would help fix existing software. [0]: https://github.com/GrapheneOS/hardened_malloc
    comment by mk89 · 2025-11-08 · in Why is Zig so cool?
  2. …and other internal stuff. [1] https://grapheneos.org/features#exploit-protection [2] https://github.com/GrapheneOS/hardened_malloc
  3. …have different tags, so unless the vuln allows you to skip ahead you'll always trigger a fault. [0] https://github.com/GrapheneOS/hardened_malloc/blob/7481c8857...
  4. …process resource limits. FWIU hardened_malloc groups and thereby contains allocations by size. https://github.com/GrapheneOS/hardened_malloc There is a reason that EVM and eWASM have costed opcodes and do not have socket libraries…
    comment by westurner · 2024-07-30 · in RestrictedPython
  5. ▲ 4
    Hardened Malloc Designed for Linux
    story by whereistimbo · 2024-04-26 · 0 comments
  6. …4. Just check the commit logs in any of the grapheneOS repos. For example https://github.com/GrapheneOS/hardened_malloc
  7. ▲ 75
    Hardened_malloc
    story by Seirdy · 2022-12-22 · 6 comments
  8. ▲ 8
    Hardened_malloc
    story by Seirdy · 2021-12-16 · 3 comments
  9. …-Wl,--no-copy-dt-needed-entries LDFLAGS_HMALLOC := -L/usr/local/lib -lhardened_malloc # see https://github.com/GrapheneOS/hardened_malloc don't get security advise from random strangers like me on HN, also don't forget to always ship code…
  10. …harder we will succeed. [1]: https://chromium.googlesource.com/chromium/src/+/HEAD/base/a... [2]: https://github.com/GrapheneOS/hardened_malloc
    comment by pcwalton · 2021-07-21 · in A case against security nihilism
  11. …the same as what Daniel Micay has written extensively on in the rational for hardened_malloc ( https://github.com/GrapheneOS/hardened_malloc ) - unsynchronized per-thread state inherently sacrifices global consistency for performance and…
  12. ▲ 1
    hardened_malloc
    story by DyslexicAtheist · 2020-02-05 · 0 comments
  13. …includes sub-projects including standalone projects like https://github.com/GrapheneOS/Auditor and https://github.com/GrapheneOS/hardened_malloc that are portable to other operating systems. This also applies to a lot of work that's under…
  14. …of the OS could eventually go away too. I'd recommend checking out the standalone projects like https://github.com/GrapheneOS/hardened_malloc and https://github.com/GrapheneOS/Auditor for an idea of what the project is focused on doing.…
  15. …back up and running. Most of the initial focus after the disaster was on standalone projects like https://github.com/GrapheneOS/hardened_malloc and https://github.com/GrapheneOS/Auditor . It took a long time to get things back up and…