Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b3232e7c
Commit
b3232e7c
authored
Feb 05, 2015
by
Charles Davis
Committed by
Alexandre Julliard
Feb 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Support 64-bit dyld_all_image_infos structures, too.
parent
97bda9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
macho_module.c
dlls/dbghelp/macho_module.c
+4
-2
No files found.
dlls/dbghelp/macho_module.c
View file @
b3232e7c
...
...
@@ -981,10 +981,10 @@ static BOOL macho_load_file(struct process* pcs, const WCHAR* filename,
&
pbi
,
sizeof
(
pbi
),
NULL
);
if
(
status
==
STATUS_SUCCESS
)
{
ULONG
dyld_image_info
;
ULONG
_PTR
dyld_image_info
;
/* Read dyld image info address from PEB */
if
(
ReadProcessMemory
(
pcs
->
handle
,
&
pbi
.
PebBaseAddress
->
Reserved
,
if
(
ReadProcessMemory
(
pcs
->
handle
,
&
pbi
.
PebBaseAddress
->
Reserved
[
0
]
,
&
dyld_image_info
,
sizeof
(
dyld_image_info
),
NULL
))
{
TRACE
(
"got dyld_image_info 0x%08x from PEB %p MacDyldImageInfo %p
\n
"
,
...
...
@@ -994,6 +994,7 @@ static BOOL macho_load_file(struct process* pcs, const WCHAR* filename,
}
}
#ifndef __LP64__
/* No reading the symtab with nlist(3) in LP64 */
if
(
!
ret
)
{
static
void
*
dyld_all_image_infos_addr
;
...
...
@@ -1017,6 +1018,7 @@ static BOOL macho_load_file(struct process* pcs, const WCHAR* filename,
ret
=
TRUE
;
}
}
#endif
}
if
(
macho_info
->
flags
&
MACHO_INFO_MODULE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment