[PATCH] ntoskrnl: Use loader notification callback to perform relocations.

Jacek Caban jacek at codeweavers.com
Tue Jun 9 11:03:14 CDT 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49093
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

The main problem with current code is that it causes infinite recursion 
if there is circular dependency in modules that need relocations. The 
other problem is that if a module does not need relocations, its 
dependences are not checked.

  dlls/ntoskrnl.exe/ntoskrnl.c | 182 ++++++++++++++---------------------
  include/winternl.h           |   2 +
  2 files changed, 72 insertions(+), 112 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntoskrnl-Use-loader-notification-callback-to-perform-r.txt
Type: text/x-patch
Size: 10830 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200609/d1106aaf/attachment-0001.bin>


More information about the wine-devel mailing list