Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8f7d06b6
Commit
8f7d06b6
authored
Dec 28, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Dec 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Make ehdr_addr in elf_enum_modules_internal dependent on AT_SYSINFO_EHDR.
parent
ba1f962d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
elf_module.c
dlls/dbghelp/elf_module.c
+9
-4
No files found.
dlls/dbghelp/elf_module.c
View file @
8f7d06b6
...
...
@@ -1404,7 +1404,6 @@ static BOOL elf_enum_modules_internal(const struct process* pcs,
struct
link_map
lm
;
char
bufstr
[
256
];
WCHAR
bufstrW
[
MAX_PATH
];
unsigned
long
ehdr_addr
;
if
(
!
pcs
->
dbg_hdr_addr
||
!
ReadProcessMemory
(
pcs
->
handle
,
(
void
*
)
pcs
->
dbg_hdr_addr
,
...
...
@@ -1431,11 +1430,17 @@ static BOOL elf_enum_modules_internal(const struct process* pcs,
if
(
!
cb
(
bufstrW
,
(
unsigned
long
)
lm
.
l_addr
,
(
unsigned
long
)
lm
.
l_ld
,
FALSE
,
user
))
break
;
}
}
#ifdef AT_SYSINFO_EHDR
if
(
!
lm_addr
&&
elf_search_auxv
(
pcs
,
AT_SYSINFO_EHDR
,
&
ehdr_addr
)
)
if
(
!
lm_addr
)
{
static
const
WCHAR
vdsoW
[]
=
{
'['
,
'v'
,
'd'
,
's'
,
'o'
,
']'
,
'.'
,
's'
,
'o'
,
0
};
cb
(
vdsoW
,
ehdr_addr
,
0
,
TRUE
,
user
);
unsigned
long
ehdr_addr
;
if
(
elf_search_auxv
(
pcs
,
AT_SYSINFO_EHDR
,
&
ehdr_addr
))
{
static
const
WCHAR
vdsoW
[]
=
{
'['
,
'v'
,
'd'
,
's'
,
'o'
,
']'
,
'.'
,
's'
,
'o'
,
0
};
cb
(
vdsoW
,
ehdr_addr
,
0
,
TRUE
,
user
);
}
}
#endif
return
TRUE
;
...
...
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