hardened_malloc/config.h

14 lines
314 B
C
Raw Normal View History

2018-09-07 00:17:22 -04:00
#ifndef CONFIG_H
#define CONFIG_H
2018-09-07 02:10:37 -04:00
#include <stdbool.h>
#define GUARD_SLABS_INTERVAL 1
2018-10-06 15:17:55 -04:00
#define GUARD_SIZE_DIVISOR 2
#define REGION_QUARANTINE_RANDOM_SIZE 128
#define REGION_QUARANTINE_QUEUE_SIZE 1024
2018-10-08 15:50:31 -04:00
#define REGION_QUARANTINE_SKIP_THRESHOLD (32 * 1024 * 1024)
2018-10-13 13:55:44 -04:00
#define FREE_SLABS_QUARANTINE_RANDOM_SIZE 32
2018-09-07 00:17:22 -04:00
#endif