diff --git a/MemoryModule.c b/MemoryModule.c index cf38388..403b2af 100644 --- a/MemoryModule.c +++ b/MemoryModule.c @@ -392,6 +392,8 @@ PerformBaseRelocation(PMEMORYMODULE module, ptrdiff_t delta) } } + // flush instruction cache to avoid executing stale code after performing relocations + FlushInstructionCache(GetCurrentProcess(), (LPCVOID) dest, module->pageSize); // advance to next relocation block relocation = (PIMAGE_BASE_RELOCATION) OffsetPointer(relocation, relocation->SizeOfBlock); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy