From b213f71feb895a0308daf7cb53fe9f7e0055115d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Thu, 21 Mar 2024 21:24:42 +0800 Subject: [PATCH] Update buffer.c --- libs/minhook/src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/minhook/src/buffer.c b/libs/minhook/src/buffer.c index 55412b0..31cefa4 100644 --- a/libs/minhook/src/buffer.c +++ b/libs/minhook/src/buffer.c @@ -33,7 +33,7 @@ #define MEMORY_BLOCK_SIZE 0x1000 // Max range for seeking a memory block. (= 1024MB) -#define MAX_MEMORY_RANGE 0x40000000 +#define MAX_MEMORY_RANGE 0x7f000000 //0x40000000 https://github.com/TsudaKageyu/minhook/issues/107 // Memory protection flags to check the executable address. #define PAGE_EXECUTE_FLAGS \