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
4141eafb
Commit
4141eafb
authored
Jan 05, 2007
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Added dumping of RSDS header from module.
parent
07d681b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
debug.c
tools/winedump/debug.c
+20
-5
No files found.
tools/winedump/debug.c
View file @
4141eafb
...
...
@@ -45,6 +45,7 @@
#include "winbase.h"
#include "winedump.h"
#include "cvinclude.h"
#include "wine/mscvpdb.h"
/*
* .DBG File Layout:
...
...
@@ -420,19 +421,33 @@ static void dump_codeview_headers(unsigned long base, unsigned long len)
if
(
memcmp
(
signature
->
Signature
,
"NB10"
,
4
)
==
0
)
{
const
struct
{
DWORD
TimeStamp
;
DWORD
Dunno
;
char
Name
[
1
];}
*
pdb_data
;
const
CODEVIEW_PDB_DATA
*
pdb_data
;
pdb_data
=
(
const
void
*
)(
signature
+
1
);
printf
(
" TimeStamp: %08X (%s)
\n
"
,
pdb_data
->
TimeStamp
,
get_time_str
(
pdb_data
->
TimeStamp
));
printf
(
" Dunno: %08X
\n
"
,
pdb_data
->
Dunno
);
printf
(
" Filename: %s
\n
"
,
pdb_data
->
Name
);
pdb_data
->
timestamp
,
get_time_str
(
pdb_data
->
timestamp
));
printf
(
" Dunno: %08X
\n
"
,
pdb_data
->
unknown
);
printf
(
" Filename: %s
\n
"
,
pdb_data
->
name
);
return
;
}
if
(
memcmp
(
signature
->
Signature
,
"RSDS"
,
4
)
==
0
)
{
const
CODEVIEW_HEADER_RSDS
*
rsds_data
;
char
guid_str
[
40
];
rsds_data
=
(
const
void
*
)
signature
;
printf
(
" Signature: %08X
\n
"
,
rsds_data
->
dwSignature
);
printf
(
" Guid: %s
\n
"
,
guid_to_string
(
&
rsds_data
->
guid
,
guid_str
,
sizeof
(
guid_str
)));
printf
(
" Dunno: %08X
\n
"
,
rsds_data
->
unknown
);
printf
(
" Filename: %s
\n
"
,
rsds_data
->
name
);
return
;
}
if
(
memcmp
(
signature
->
Signature
,
"NB09"
,
4
)
!=
0
&&
memcmp
(
signature
->
Signature
,
"NB11"
,
4
)
!=
0
)
{
printf
(
"Unsupported signature
, aborting
\n
"
);
printf
(
"Unsupported signature
(%.4s), aborting
\n
"
,
signature
->
Signature
);
return
;
}
...
...
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