[sanity] Adjust reserved region

This commit is contained in:
obdev 2023-10-25 10:39:39 +00:00 committed by ob-robot
parent cd3592d62e
commit 77ce3535e5
2 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -69,7 +69,12 @@ private:
const bool bak_;
};
static constexpr int64_t sanity_min_canonical_addr = 0x100000000000;
static constexpr int64_t sanity_min_canonical_addr =
#ifdef __x86_64__
0x200000000000;
#else
0x100000000000;
#endif
static constexpr int64_t sanity_max_canonical_addr = 0x4f210376cf1c;
static inline bool sanity_addr_in_range(const void *ptr)