about summary refs log tree commit diff
diff options
context:
space:
mode:
author김태은 <goodtaeeun@kaist.ac.kr>2023-06-10 00:02:11 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-11-26 16:09:07 +0900
commit7dd859c4695de87ee3848011f1e56f3f97960c29 (patch)
tree0a56b355b68dabe8102bd26bcd9ca6295b9c8e66
parente5c98d0d1d7b9bfac02234607c351c486955d3e4 (diff)
downloadafl++-dataflow.tar.gz
Define U64_MAX dataflow
-rw-r--r--include/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index d370bcfb..070a633b 100644
--- a/include/types.h
+++ b/include/types.h
@@ -25,6 +25,7 @@
 
 #include <stdint.h>
 #include <stdlib.h>
+#include <limits.h>
 #include "config.h"
 
 typedef uint8_t  u8;
@@ -71,6 +72,7 @@ typedef uint128_t         u128;
 #define FS_OPT_SET_MAPSIZE(x) \
   (x <= 1 || x > FS_OPT_MAX_MAPSIZE ? 0 : ((x - 1) << 1))
 
+#define U64_MAX ULLONG_MAX
 typedef unsigned long long u64;
 
 typedef int8_t  s8;