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
d3c9d645
Commit
d3c9d645
authored
Aug 24, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Add support for dumping information about type's hash stream.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1d03a4fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
pdb.c
tools/winedump/pdb.c
+16
-0
No files found.
tools/winedump/pdb.c
View file @
d3c9d645
...
...
@@ -562,6 +562,21 @@ static void pdb_dump_symbols(struct pdb_reader* reader, PDB_STREAM_INDEXES* sidx
free
(
filesimage
);
}
static
void
pdb_dump_types_hash
(
struct
pdb_reader
*
reader
,
unsigned
file
,
const
char
*
strmname
)
{
void
*
hash
=
NULL
;
DWORD
size
;
hash
=
reader
->
read_file
(
reader
,
file
);
if
(
!
hash
)
return
;
size
=
pdb_get_file_size
(
reader
,
file
);
printf
(
"Types (%s) hash:
\n
"
,
strmname
);
dump_data
(
hash
,
size
,
" "
);
free
(
hash
);
}
/* there are two 'type' related streams, but with different indexes... */
static
void
pdb_dump_types
(
struct
pdb_reader
*
reader
,
unsigned
strmidx
,
const
char
*
strmname
)
{
...
...
@@ -616,6 +631,7 @@ static void pdb_dump_types(struct pdb_reader* reader, unsigned strmidx, const ch
types
->
unknown_offset
,
types
->
unknown_len
);
codeview_dump_types_from_block
((
const
char
*
)
types
+
types
->
type_offset
,
types
->
type_size
);
pdb_dump_types_hash
(
reader
,
types
->
file
,
strmname
);
free
(
types
);
}
...
...
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