hardened_malloc/config.h

14 lines
234 B
C
Raw Normal View History

2018-09-07 09:47:22 +05:30
#ifndef CONFIG_H
#define CONFIG_H
2018-09-07 11:40:37 +05:30
#include <stdbool.h>
2018-09-07 09:47:22 +05:30
#define GUARD_SLABS true
#define WRITE_AFTER_FREE_CHECK true
#define SLOT_RANDOMIZE true
2018-09-07 10:03:51 +05:30
#define ZERO_ON_FREE true
2018-09-07 10:05:08 +05:30
#define SLAB_CANARY true
2018-10-07 00:47:55 +05:30
#define GUARD_SIZE_DIVISOR 2
2018-09-07 09:47:22 +05:30
#endif