[PATCH 2/2] dbghelp: For Mach-O, get the address of the process's image info from its PEB.

Ken Thomases ken at codeweavers.com
Wed Dec 4 13:59:04 CST 2013


The previous technique assumed that dyld was always loaded at its base
address in every process.  This breaks with recent versions of OS X due to
address space layout randomization (ASLR).

For <http://bugs.winehq.org/show_bug.cgi?id=34813>.
---
dlls/dbghelp/macho_module.c |   57 +++++++++++++++++++++++++++++++++----------
1 files changed, 44 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dbghelp-For-Mach-O-get-the-address-of-the-process-s-.patch
Type: text/x-patch
Size: 3062 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131204/77790bd9/attachment.bin>


More information about the wine-patches mailing list