mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
some clarifications for the README
This commit is contained in:
parent
b99ab8a47a
commit
6f30211da8
12
README.md
12
README.md
@ -69,12 +69,14 @@ The available configuration options are the following:
|
|||||||
outside of the memory allocator code. It's currently disabled by default due
|
outside of the memory allocator code. It's currently disabled by default due
|
||||||
to being extremely experimental and a significant performance cost for this
|
to being extremely experimental and a significant performance cost for this
|
||||||
use case on current generation hardware, which may become drastically lower
|
use case on current generation hardware, which may become drastically lower
|
||||||
in the future.
|
in the future. Whether or not this feature is enabled, the metadata is all
|
||||||
|
contained within an isolated memory region with high entropy random guard
|
||||||
|
regions around it.
|
||||||
|
|
||||||
Compile-time configuration is available in the `config.h` file for controlling
|
Additional compile-time configuration is available in the `config.h` file for
|
||||||
the balance between security and performance / memory usage. By default, all
|
controlling the balance between security and performance / memory usage. By
|
||||||
the optional security features are enabled. Options are only provided for the
|
default, all the optional security features are enabled. Options are only
|
||||||
features with a significant performance or memory usage cost.
|
provided for the features with a significant performance or memory usage cost.
|
||||||
|
|
||||||
```
|
```
|
||||||
#define WRITE_AFTER_FREE_CHECK true
|
#define WRITE_AFTER_FREE_CHECK true
|
||||||
|
Loading…
Reference in New Issue
Block a user