2018-11-17 01:55:35 +05:30
|
|
|
CONFIG_SLAB_CANARY := true
|
2019-06-19 01:21:13 +05:30
|
|
|
CONFIG_EXTENDED_SIZE_CLASSES := true
|
2018-11-17 01:55:35 +05:30
|
|
|
|
|
|
|
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
|
|
|
|
$(error CONFIG_SLAB_CANARY must be true or false)
|
|
|
|
endif
|
|
|
|
|
2019-05-01 02:24:58 +05:30
|
|
|
LDLIBS := -lpthread
|
|
|
|
|
2018-11-17 01:55:35 +05:30
|
|
|
CPPFLAGS += \
|
2019-06-19 01:21:13 +05:30
|
|
|
-DSLAB_CANARY=$(CONFIG_SLAB_CANARY) \
|
|
|
|
-DCONFIG_EXTENDED_SIZE_CLASSES=$(CONFIG_EXTENDED_SIZE_CLASSES)
|
2018-11-17 01:55:35 +05:30
|
|
|
|
2018-10-04 12:10:51 +05:30
|
|
|
EXECUTABLES := \
|
2019-04-07 06:19:52 +05:30
|
|
|
offset \
|
2019-05-01 02:17:06 +05:30
|
|
|
mallinfo \
|
2021-05-13 05:37:15 +05:30
|
|
|
mallinfo2 \
|
2019-05-01 02:24:58 +05:30
|
|
|
malloc_info \
|
2019-05-01 02:17:06 +05:30
|
|
|
large_array_growth
|
2018-10-04 12:10:51 +05:30
|
|
|
|
|
|
|
all: $(EXECUTABLES)
|
2020-03-31 05:06:11 +05:30
|
|
|
make -C simple-memory-corruption
|
2018-10-04 12:10:51 +05:30
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(EXECUTABLES)
|
2021-12-27 02:48:40 +05:30
|
|
|
make -C simple-memory-corruption clean
|