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
797acdf4
Commit
797acdf4
authored
Jun 18, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: dwarf: Tidy up leb128 reading.
parent
54d6f8cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dwarf.c
dlls/dbghelp/dwarf.c
+6
-6
No files found.
dlls/dbghelp/dwarf.c
View file @
797acdf4
...
...
@@ -207,13 +207,13 @@ static unsigned long dwarf2_leb128_as_unsigned(dwarf2_traverse_context_t* ctx)
assert
(
NULL
!=
ctx
);
while
(
1
)
do
{
byte
=
dwarf2_parse_byte
(
ctx
);
ret
|=
(
byte
&
0x7f
)
<<
shift
;
shift
+=
7
;
if
(
0
==
(
byte
&
0x80
))
{
break
;
}
}
}
while
(
byte
&
0x80
);
return
ret
;
}
...
...
@@ -226,13 +226,13 @@ static long dwarf2_leb128_as_signed(dwarf2_traverse_context_t* ctx)
assert
(
NULL
!=
ctx
);
while
(
1
)
do
{
byte
=
dwarf2_parse_byte
(
ctx
);
ret
|=
(
byte
&
0x7f
)
<<
shift
;
shift
+=
7
;
if
(
0
==
(
byte
&
0x80
))
{
break
;
}
}
}
while
(
byte
&
0x80
);
/* as spec: sign bit of byte is 2nd high order bit (80x40)
* -> 0x80 is used as flag.
*/
...
...
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