mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-19 04:44:27 -05:00
clarify malloc_object_size state further
This commit is contained in:
parent
0129d8e470
commit
c66cf10894
@ -381,9 +381,9 @@ was a bit less important and if a core goal was finding latent bugs.
|
|||||||
size class regions interspersed with guard pages
|
size class regions interspersed with guard pages
|
||||||
* Zero size allocations are a dedicated size class with the entire region
|
* Zero size allocations are a dedicated size class with the entire region
|
||||||
remaining non-readable and non-writable
|
remaining non-readable and non-writable
|
||||||
* Extension for retrieving the size of allocations with fallback [in-progress,
|
* Extension for retrieving the size of allocations with fallback to a sentinel
|
||||||
|
for pointers not managed by the allocator [in-progress, full implementation
|
||||||
needs to be ported from the previous OpenBSD malloc-based allocator]
|
needs to be ported from the previous OpenBSD malloc-based allocator]
|
||||||
to a sentinel for pointers not managed by the allocator
|
|
||||||
* Can also return accurate values for pointers *within* small allocations
|
* Can also return accurate values for pointers *within* small allocations
|
||||||
* The same applies to pointers within the first page of large allocations,
|
* The same applies to pointers within the first page of large allocations,
|
||||||
otherwise it currently has to return a sentinel
|
otherwise it currently has to return a sentinel
|
||||||
|
Loading…
Reference in New Issue
Block a user