From ebe0c47286aa429134ddf82af915963e3a9e6a1f Mon Sep 17 00:00:00 2001 From: momo5502 Date: Wed, 23 Oct 2024 06:57:07 +0200 Subject: [PATCH] Increase PEB segment size --- src/windows-emulator/process_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows-emulator/process_context.hpp b/src/windows-emulator/process_context.hpp index 35ff9496..c04ae56b 100644 --- a/src/windows-emulator/process_context.hpp +++ b/src/windows-emulator/process_context.hpp @@ -10,7 +10,7 @@ #include -#define PEB_SEGMENT_SIZE (1 << 20) // 1 MB +#define PEB_SEGMENT_SIZE (20 << 20) // 20 MB #define GS_SEGMENT_SIZE (1 << 20) // 1 MB #define IA32_GS_BASE_MSR 0xC0000101