mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[WINESYNC] dbghelp: Fix reading the address of the target's dyld image info from its PEB.
Signed-off-by: Ken Thomases <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 28a25b052d21a9e2e4fc3c7790711b290d44a488 by Ken Thomases <[email protected]>
This commit is contained in:
@@ -1366,7 +1366,7 @@ static ULONG_PTR get_dyld_image_info_address(struct process* pcs)
|
||||
if (status == STATUS_SUCCESS)
|
||||
{
|
||||
/* Read dyld image info address from PEB */
|
||||
if (!pcs->is_64bit)
|
||||
if (pcs->is_64bit)
|
||||
ret = ReadProcessMemory(pcs->handle, &pbi.PebBaseAddress->Reserved[0],
|
||||
&dyld_image_info_address, sizeof(dyld_image_info_address), NULL);
|
||||
else
|
||||
|
||||
@@ -4,4 +4,4 @@ files:
|
||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||
tags:
|
||||
wine: ae6e4017548fc30bf5220bebc674230dc4ccfe06
|
||||
wine: 28a25b052d21a9e2e4fc3c7790711b290d44a488
|
||||
|
||||
Reference in New Issue
Block a user