1 #ifndef AFL_NGRAM_CONFIG_H 2 #define AFL_NGRAM_CONFIG_H 3 4 #include "types.h" 5 6 #if (MAP_SIZE_POW2 <= 16) 7 typedef u16 PREV_LOC_T; 8 #elif (MAP_SIZE_POW2 <= 32) 9 typedef u32 PREV_LOC_T; 10 #else 11 typedef u64 PREV_LOC_T; 12 #endif 13 14 /* Maximum ngram size */ 15 #define NGRAM_SIZE_MAX 16U 16 17 /* Maximum K for top-K context sensitivity */ 18 #define CTX_MAX_K 32U 19 20 #endif 21 22