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
403f4168
Commit
403f4168
authored
Mar 24, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: In dwarf parsing, correctly get the size of addresses in location lists.
parent
8413810c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
dwarf.c
dlls/dbghelp/dwarf.c
+3
-4
No files found.
dlls/dbghelp/dwarf.c
View file @
403f4168
...
...
@@ -2213,8 +2213,7 @@ static BOOL dwarf2_parse_compilation_unit(const dwarf2_section_t* sections,
}
static
BOOL
dwarf2_lookup_loclist
(
const
struct
module_format
*
modfmt
,
const
BYTE
*
start
,
unsigned
long
ip
,
dwarf2_traverse_context_t
*
lctx
)
unsigned
long
ip
,
dwarf2_traverse_context_t
*
lctx
)
{
DWORD_PTR
beg
,
end
;
const
BYTE
*
ptr
=
start
;
...
...
@@ -2222,8 +2221,8 @@ static BOOL dwarf2_lookup_loclist(const struct module_format* modfmt, const BYTE
while
(
ptr
<
modfmt
->
u
.
dwarf2_info
->
debug_loc
.
address
+
modfmt
->
u
.
dwarf2_info
->
debug_loc
.
size
)
{
beg
=
dwarf2_get_
u4
(
ptr
);
ptr
+=
4
;
end
=
dwarf2_get_
u4
(
ptr
);
ptr
+=
4
;
beg
=
dwarf2_get_
addr
(
ptr
,
modfmt
->
u
.
dwarf2_info
->
word_size
);
ptr
+=
modfmt
->
u
.
dwarf2_info
->
word_size
;
end
=
dwarf2_get_
addr
(
ptr
,
modfmt
->
u
.
dwarf2_info
->
word_size
);
ptr
+=
modfmt
->
u
.
dwarf2_info
->
word_size
;
if
(
!
beg
&&
!
end
)
break
;
len
=
dwarf2_get_u2
(
ptr
);
ptr
+=
2
;
...
...
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