[Bug 51539] "server: Get the process entry point from the exe image info" breaks running if exe is loaded at a non-default address

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jul 29 17:09:15 CDT 2021


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

--- Comment #2 from Martin Storsjö <martin at martin.st> ---
Also to add more context...

Before 28fe84da45bea7de56539b50eac8ebcec54342de, "ntdll: Load the main image
from the Unix side.", this was easy to fix by just using the old logic of
"entry = (char *)peb->ImageBaseAddress +
nt->OptionalHeader.AddressOfEntryPoint;" again, but after that, it seems like
the actual address where the main exe was loaded is lost somehow, without doing
the relevant relocations.

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