From 77f2f796dc950d8b63cbdbac47cd8703bbeab182 Mon Sep 17 00:00:00 2001 From: "Andon M. Coleman" Date: Tue, 14 Jun 2016 13:14:07 -0400 Subject: [PATCH] Disable signature scan optimizations for DS3 --- plugin_ds3.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin_ds3.cpp b/plugin_ds3.cpp index e4115d3..b56d93e 100644 --- a/plugin_ds3.cpp +++ b/plugin_ds3.cpp @@ -1,4 +1,4 @@ -#include +#include #include "ini.h" #include "parameter.h" @@ -38,7 +38,7 @@ typedef BOOL (WINAPI *SetWindowPos_pfn)( _In_ UINT uFlags ); typedef HWND (WINAPI *SetActiveWindow_pfn)( - HWND hWnd + HWND hWnd ); @@ -335,8 +335,8 @@ uint8_t* const PAGE_WALK_LIMIT = (base_addr + (uintptr_t)(1ULL << 36)); // committed executable image data. // while (VirtualQuery (end_addr, &mem_info, sizeof mem_info) && end_addr < PAGE_WALK_LIMIT) { - if (mem_info.Protect & PAGE_NOACCESS || (! (mem_info.Type & MEM_IMAGE))) - break; + //if (mem_info.Protect & PAGE_NOACCESS || (! (mem_info.Type & MEM_IMAGE))) + //break; pages += VirtualQuery (end_addr, &mem_info, sizeof mem_info);