mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-20 21:34:23 -05:00
23 lines
759 B
Makefile
23 lines
759 B
Makefile
|
CONFIG_WERROR := true
|
||
|
CONFIG_NATIVE := true
|
||
|
CONFIG_CXX_ALLOCATOR := true
|
||
|
CONFIG_UBSAN := false
|
||
|
CONFIG_SEAL_METADATA := false
|
||
|
CONFIG_ZERO_ON_FREE := true
|
||
|
CONFIG_WRITE_AFTER_FREE_CHECK := false
|
||
|
CONFIG_SLOT_RANDOMIZE := false
|
||
|
CONFIG_SLAB_CANARY := true
|
||
|
CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH := 0
|
||
|
CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH := 0
|
||
|
CONFIG_EXTENDED_SIZE_CLASSES := true
|
||
|
CONFIG_LARGE_SIZE_CLASSES := true
|
||
|
CONFIG_GUARD_SLABS_INTERVAL := 8
|
||
|
CONFIG_GUARD_SIZE_DIVISOR := 2
|
||
|
CONFIG_REGION_QUARANTINE_RANDOM_LENGTH := 256
|
||
|
CONFIG_REGION_QUARANTINE_QUEUE_LENGTH := 1024
|
||
|
CONFIG_REGION_QUARANTINE_SKIP_THRESHOLD := 33554432 # 32MiB
|
||
|
CONFIG_FREE_SLABS_QUARANTINE_RANDOM_LENGTH := 32
|
||
|
CONFIG_CLASS_REGION_SIZE := 34359738368 # 32GiB
|
||
|
CONFIG_N_ARENA := 4
|
||
|
CONFIG_STATS := false
|