[NTDLL:LDR] Add a print on illegal DLL relocation.
authorThomas Faber <thomas.faber@reactos.org>
Fri, 27 Dec 2019 16:01:15 +0000 (17:01 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 27 Dec 2019 16:02:26 +0000 (17:02 +0100)
dll/ntdll/ldr/ldrutils.c

index 4c1adbf..7f04bb4 100644 (file)
@@ -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,