From 8d3f52a2caaccf5484aca2beb581c35a10ba0cee Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 27 Dec 2019 17:01:15 +0100 Subject: [PATCH] [NTDLL:LDR] Add a print on illegal DLL relocation. --- dll/ntdll/ldr/ldrutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/ntdll/ldr/ldrutils.c b/dll/ntdll/ldr/ldrutils.c index 4c1adbf7810..7f04bb46055 100644 --- a/dll/ntdll/ldr/ldrutils.c +++ b/dll/ntdll/ldr/ldrutils.c @@ -1417,6 +1417,8 @@ SkipCheck: HardErrorParameters[0] = (ULONG_PTR)&IllegalDll; HardErrorParameters[1] = (ULONG_PTR)&OverlapDll; + DPRINT1("Illegal DLL relocation! %wZ overlaps %wZ\n", &OverlapDll, &IllegalDll); + /* Raise the error */ ZwRaiseHardError(STATUS_ILLEGAL_DLL_RELOCATION, 2,