[NTDLL:LDR] Add a print on illegal DLL relocation.

This commit is contained in:
Thomas Faber 2019-12-27 17:01:15 +01:00
parent d32e96d602
commit 8d3f52a2ca
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View 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,