mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
Add CONFIG_ENFORCE_INIT to the README
This commit is contained in:
parent
178d4f320f
commit
e3818f3d7b
1 changed files with 5 additions and 0 deletions
|
@ -266,6 +266,11 @@ The following boolean configuration options are available:
|
||||||
the future. Whether or not this feature is enabled, the metadata is all
|
the future. Whether or not this feature is enabled, the metadata is all
|
||||||
contained within an isolated memory region with high entropy random guard
|
contained within an isolated memory region with high entropy random guard
|
||||||
regions around it.
|
regions around it.
|
||||||
|
* `CONFIG_ENFORCE_INIT`: `true` (default) or `false` to control whether the
|
||||||
|
allocator initialization should be enforced. The primary purpose of this
|
||||||
|
check is to detect any attempts to free memory before there have been any
|
||||||
|
allocations. This check should rarely fail as this implementation will
|
||||||
|
attempt to initialize the allocator very early on.
|
||||||
|
|
||||||
The following integer configuration options are available:
|
The following integer configuration options are available:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue