mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-12-10 05:31:06 -05:00
add initial guard slabs implementation
This commit is contained in:
parent
cc1e79fdba
commit
1be74ec40d
2 changed files with 9 additions and 4 deletions
|
|
@ -83,8 +83,8 @@ allocation and then unmapped on free.
|
|||
* High entropy per-slab random values
|
||||
* [in-progress] Mangled into a unique value per slab slot (although not
|
||||
with a strong keyed hash due to performance limitations)
|
||||
* [in-progress] Some slab locations are skipped and remain memory protected,
|
||||
leaving slab size class regions interspersed with guard pages
|
||||
* Possible slab locations are skipped and remain memory protected, leaving slab
|
||||
size class regions interspersed with guard pages
|
||||
* Zero size allocations are memory protected
|
||||
* Protected allocator metadata
|
||||
* Address space for metadata is never used for allocations and vice versa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue