[Bug 33236] Multiple application virtualization schemes rely on LdrLoadDll to behave like native Windows loader w.r.t. use of NtXXXSectionAPI (VMWare ThinApp 4.x)

WineHQ Bugzilla wine-bugs at winehq.org
Mon Oct 26 08:24:52 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=33236

--- Comment #11 from Anastasius Focht <focht at gmx.net> ---
Hello Paul,

--- quote ---
Do I understand correctly that to solve this specific bug Wine needs to call
NtOpenSection instead of NtOpenFile for modules?
--- quote ---

I've revisited that piece of Wine code after long time and might have drawn an
incorrect conclusion. Mapping Windows LdrpXXX functionality as described in the
article to Wine's internal loader functionality (helper functions) is tricky as
various pieces are missing / split in different ways.

The articles states that NtOpenSection() is called from LdrpCheckForKnownDll().
Wine currently doesn't implement 'KnownDlls' and its object directory.

To be honest I don't know the right place for putting a hookable
NtOpenSection() in the current Wine loader design.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list