[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:07:00 CDT 2021


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

--- Comment #1 from Martin Storsjö <martin at martin.st> ---
I primarily debugged this on arm, but it does seem like the same modification
(forcing loading modules at an address different from the default image base)
breaks things on x86 too.

In this case, it seems like perform_relocations() gets an address different
from where it actually ends up mapped. On x86_64, perform_relocations() gets
both module and nt->OptionalHeader.ImageBase equal to the original image base
address, while on ARM they end up with an entirely different address (not the
original image base, nor the address where it actually ended up mapped).

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