From 732abb9ce9bbb616025f773f3248fc76086ddb21 Mon Sep 17 00:00:00 2001 From: mrexodia Date: Tue, 7 Feb 2017 13:09:36 +0100 Subject: [PATCH] fixed memory type --- GleeBug/Debugger.Process.Breakpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GleeBug/Debugger.Process.Breakpoint.cpp b/GleeBug/Debugger.Process.Breakpoint.cpp index 55ff9ee..344631d 100644 --- a/GleeBug/Debugger.Process.Breakpoint.cpp +++ b/GleeBug/Debugger.Process.Breakpoint.cpp @@ -381,7 +381,7 @@ namespace GleeBug if (data.Refcount) { //TODO: properly determine the new protection flag - if (data.Type & ~uint32(info.type)) + if (data.Type & ~uint32(info.internal.memory.type)) data.NewProtect = data.OldProtect | PAGE_GUARD; Protect = data.NewProtect; }