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
135b132d
Commit
135b132d
authored
Dec 11, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Skip deleted vector in hash inside PDB header.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
6d783941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
pdb.c
tools/winedump/pdb.c
+3
-15
No files found.
tools/winedump/pdb.c
View file @
135b132d
...
@@ -200,11 +200,7 @@ static unsigned get_stream_by_name(struct pdb_reader* reader, const char* name)
...
@@ -200,11 +200,7 @@ static unsigned get_stream_by_name(struct pdb_reader* reader, const char* name)
/* bitfield: first dword is len (in dword), then data */
/* bitfield: first dword is len (in dword), then data */
ok_bits
=
pdw
;
ok_bits
=
pdw
;
pdw
+=
*
ok_bits
++
+
1
;
pdw
+=
*
ok_bits
++
+
1
;
if
(
*
pdw
++
!=
0
)
pdw
+=
*
pdw
+
1
;
/* skip deleted vector */
{
printf
(
"unexpected value
\n
"
);
return
-
1
;
}
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
{
{
...
@@ -1195,11 +1191,7 @@ static void pdb_jg_dump_header_root(struct pdb_reader* reader)
...
@@ -1195,11 +1191,7 @@ static void pdb_jg_dump_header_root(struct pdb_reader* reader)
/* bitfield: first dword is len (in dword), then data */
/* bitfield: first dword is len (in dword), then data */
ok_bits
=
pdw
;
ok_bits
=
pdw
;
pdw
+=
*
ok_bits
++
+
1
;
pdw
+=
*
ok_bits
++
+
1
;
if
(
*
pdw
++
!=
0
)
pdw
+=
*
pdw
+
1
;
/* skip deleted vector */
{
printf
(
"unexpected value
\n
"
);
return
;
}
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
{
{
...
@@ -1346,11 +1338,7 @@ static void pdb_ds_dump_header_root(struct pdb_reader* reader)
...
@@ -1346,11 +1338,7 @@ static void pdb_ds_dump_header_root(struct pdb_reader* reader)
/* bitfield: first dword is len (in dword), then data */
/* bitfield: first dword is len (in dword), then data */
ok_bits
=
pdw
;
ok_bits
=
pdw
;
pdw
+=
*
ok_bits
++
+
1
;
pdw
+=
*
ok_bits
++
+
1
;
if
(
*
pdw
++
!=
0
)
pdw
+=
*
pdw
+
1
;
/* skip deleted vector */
{
printf
(
"unexpected value
\n
"
);
return
;
}
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
{
{
...
...
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