mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-02 06:16:24 -04:00
add configuration template system
This commit is contained in:
parent
052b756840
commit
b3372e1576
5 changed files with 85 additions and 33 deletions
|
@ -1,6 +1,10 @@
|
|||
CONFIG_SLAB_CANARY := true
|
||||
CONFIG_EXTENDED_SIZE_CLASSES := true
|
||||
|
||||
ifneq ($(VARIANT),)
|
||||
$(error testing non-default variants not yet supported)
|
||||
endif
|
||||
|
||||
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
|
||||
$(error CONFIG_SLAB_CANARY must be true or false)
|
||||
endif
|
||||
|
|
|
@ -13,7 +13,7 @@ CPPFLAGS += -D_GNU_SOURCE \
|
|||
|
||||
LDLIBS := -lhardened_malloc
|
||||
|
||||
LDFLAGS := -Wl,-L$(dir)../../,-R,$(dir)../../
|
||||
LDFLAGS := -Wl,-L$(dir)../../out,-R,$(dir)../../out
|
||||
|
||||
EXECUTABLES := \
|
||||
double_free_large \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue