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
fbb9d5f7
Commit
fbb9d5f7
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 for dumping sstAlignSym and sstGlobalTypes COFF sections.
parent
c6e8c2aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
debug.c
tools/winedump/debug.c
+24
-2
No files found.
tools/winedump/debug.c
View file @
fbb9d5f7
...
...
@@ -173,7 +173,25 @@ static int dump_cv_sst_libraries(const OMFDirEntry* omfde)
static
int
dump_cv_sst_global_types
(
const
OMFDirEntry
*
omfde
)
{
/*** NOT YET IMPLEMENTED ***/
long
fileoffset
;
const
OMFGlobalTypes
*
types
;
const
BYTE
*
data
;
unsigned
sz
;
fileoffset
=
Offset
(
cv_base
)
+
omfde
->
lfo
;
printf
(
" GlobalTypes section starts at file offset 0x%lx
\n
"
,
fileoffset
);
printf
(
"
\n
----- Begin Global Types Table -----
\n
"
);
types
=
PRD
(
fileoffset
,
sizeof
(
OMFGlobalTypes
));
if
(
!
types
)
{
printf
(
"Can't get OMF-GlobalTypes, aborting
\n
"
);
return
FALSE
;}
sz
=
omfde
->
cb
-
sizeof
(
OMFGlobalTypes
)
-
sizeof
(
DWORD
)
*
types
->
cTypes
;
data
=
PRD
(
fileoffset
+
sizeof
(
OMFGlobalTypes
)
+
sizeof
(
DWORD
)
*
types
->
cTypes
,
sz
);
if
(
!
data
)
{
printf
(
"Can't OMF-SymHash details, aborting
\n
"
);
return
FALSE
;}
codeview_dump_types
(
data
,
sz
);
return
TRUE
;
}
...
...
@@ -306,7 +324,11 @@ static int dump_cv_sst_src_module(const OMFDirEntry* omfde)
static
int
dump_cv_sst_align_sym
(
const
OMFDirEntry
*
omfde
)
{
/*** NOT YET IMPLEMENTED ***/
const
char
*
rawdata
=
PRD
(
Offset
(
cv_base
)
+
omfde
->
lfo
,
omfde
->
cb
);
if
(
!
rawdata
)
{
printf
(
"Can't get srcAlignSym subsection details, aborting
\n
"
);
return
FALSE
;}
if
(
omfde
->
cb
<
sizeof
(
DWORD
))
return
TRUE
;
codeview_dump_symbols
(
rawdata
+
sizeof
(
DWORD
),
omfde
->
cb
-
sizeof
(
DWORD
));
return
TRUE
;
}
...
...
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