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
671a2261
Commit
671a2261
authored
Dec 01, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Restore the COFF library dumper functionality broken by the previous change.
parent
6a530aba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
dump.c
tools/winedump/dump.c
+2
-0
lib.c
tools/winedump/lib.c
+1
-1
No files found.
tools/winedump/dump.c
View file @
671a2261
...
...
@@ -187,6 +187,8 @@ int dump_analysis(const char *name, file_dumper fn, enum FileSig wanted_sig)
if
((
unsigned
long
)
read
(
fd
,
dump_base
,
dump_total_len
)
!=
dump_total_len
)
fatal
(
"Cannot read file"
);
}
printf
(
"Contents of %s: %ld bytes
\n\n
"
,
name
,
dump_total_len
);
for
(
dpr
=
dumpers
;
dpr
->
kind
!=
SIG_UNKNOWN
;
dpr
++
)
{
if
(
dpr
->
get_kind
()
==
dpr
->
kind
&&
...
...
tools/winedump/lib.c
View file @
671a2261
...
...
@@ -125,7 +125,7 @@ void lib_dump(void)
/* FIXME: only import library contents with the short format are
* recognized.
*/
if
(
!
(
ioh
=
PRD
(
cur_file_pos
+
sizeof
(
*
iamh
)
,
sizeof
(
*
ioh
))))
break
;
if
(
!
(
ioh
=
PRD
(
cur_file_pos
,
sizeof
(
*
ioh
))))
break
;
if
(
ioh
->
Sig1
==
IMAGE_FILE_MACHINE_UNKNOWN
&&
ioh
->
Sig2
==
IMPORT_OBJECT_HDR_SIG2
)
{
dump_import_object
(
ioh
);
...
...
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