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
a0d4a58a
Commit
a0d4a58a
authored
Feb 01, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Explain a bit more errors on hash header.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
4fc2c331
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
pdb.c
tools/winedump/pdb.c
+4
-1
No files found.
tools/winedump/pdb.c
View file @
a0d4a58a
...
@@ -249,7 +249,10 @@ static void dump_dbi_hash_table(const BYTE* root, unsigned size, const char* nam
...
@@ -249,7 +249,10 @@ static void dump_dbi_hash_table(const BYTE* root, unsigned size, const char* nam
sizeof
(
DBI_HASH_HEADER
)
+
hdr
->
hash_records_size
+
DBI_BITMAP_HASH_SIZE
>
size
||
sizeof
(
DBI_HASH_HEADER
)
+
hdr
->
hash_records_size
+
DBI_BITMAP_HASH_SIZE
>
size
||
(
size
-
(
sizeof
(
DBI_HASH_HEADER
)
+
hdr
->
hash_records_size
+
DBI_BITMAP_HASH_SIZE
))
%
sizeof
(
unsigned
))
(
size
-
(
sizeof
(
DBI_HASH_HEADER
)
+
hdr
->
hash_records_size
+
DBI_BITMAP_HASH_SIZE
))
%
sizeof
(
unsigned
))
{
{
printf
(
"%s
\t\t
Incorrect hash structure
\n
"
,
pfx
);
if
(
size
>=
sizeof
(
DBI_HASH_HEADER
)
&&
!
hdr
->
hash_records_size
)
printf
(
"%s
\t\t
Empty hash structure
\n
"
,
pfx
);
else
printf
(
"%s
\t\t
Incorrect hash structure
\n
"
,
pfx
);
}
}
else
else
{
{
...
...
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