aboutsummaryrefslogtreecommitdiff
path: root/src/common/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/module.h')
-rw-r--r--src/common/module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/module.h b/src/common/module.h
index 60bf709b..408e620b 100644
--- a/src/common/module.h
+++ b/src/common/module.h
@@ -39,6 +39,7 @@
#define COMMON_LINUX_MODULE_H__
#include <iostream>
+#include <limits>
#include <map>
#include <set>
#include <string>
@@ -62,6 +63,7 @@ class Module {
public:
// The type of addresses and sizes in a symbol table.
typedef uint64_t Address;
+ static constexpr uint64_t kMaxAddress = std::numeric_limits<Address>::max();
struct File;
struct Function;
struct Line;