hardened_malloc/config.h

14 lines
240 B
C

#ifndef CONFIG_H
#define CONFIG_H
#include <stdbool.h>
#define WRITE_AFTER_FREE_CHECK true
#define SLOT_RANDOMIZE true
#define ZERO_ON_FREE true
#define SLAB_CANARY true
#define GUARD_SLABS_INTERVAL 1
#define GUARD_SIZE_DIVISOR 2
#endif