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
6c9a0809
Commit
6c9a0809
authored
May 13, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
May 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Listed recently added sections' types (resource, tls) for dumping to
usage strings. Fixed some header size testing.
parent
4446b15c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.c
tools/winedump/main.c
+1
-1
pe.c
tools/winedump/pe.c
+1
-1
No files found.
tools/winedump/main.c
View file @
6c9a0809
...
...
@@ -203,7 +203,7 @@ static const struct option option_table[] = {
{
"dump"
,
DUMP
,
0
,
do_dump
,
"dump <mod> Dumps the content of the module (dll, exe...) named <mod>"
},
{
"-C"
,
DUMP
,
0
,
do_symdmngl
,
"-C Turns on symbol demangling"
},
{
"-f"
,
DUMP
,
0
,
do_dumphead
,
"-f Dumps file header information"
},
{
"-j"
,
DUMP
,
1
,
do_dumpsect
,
"-j sect_name Dumps only the content of section sect_name (import, export, debug)"
},
{
"-j"
,
DUMP
,
1
,
do_dumpsect
,
"-j sect_name Dumps only the content of section sect_name (import, export, debug
, resource, tls
)"
},
{
"-x"
,
DUMP
,
0
,
do_dumpall
,
"-x Dumps everything"
},
{
NULL
,
NONE
,
0
,
NULL
,
NULL
}
};
...
...
tools/winedump/pe.c
View file @
6c9a0809
...
...
@@ -899,7 +899,7 @@ static enum FileSig check_headers(void)
{
if
(
*
pdw
==
IMAGE_NT_SIGNATURE
)
{
PE_nt_headers
=
PRD
(
dh
->
e_lfanew
,
sizeof
(
DWORD
));
PE_nt_headers
=
PRD
(
dh
->
e_lfanew
,
sizeof
(
DWORD
)
+
sizeof
(
IMAGE_FILE_HEADER
)
);
sig
=
SIG_PE
;
}
else
if
(
*
(
WORD
*
)
pdw
==
IMAGE_OS2_SIGNATURE
)
...
...
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