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
1fcb0c11
Commit
1fcb0c11
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: While dumping NE files, use -j option if present (as we do for PE files).
parent
d75e0cd1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
13 deletions
+26
-13
main.c
tools/winedump/main.c
+1
-0
ne.c
tools/winedump/ne.c
+15
-5
winedump.man.in
tools/winedump/winedump.man.in
+10
-8
No files found.
tools/winedump/main.c
View file @
1fcb0c11
...
@@ -398,6 +398,7 @@ int main (int argc, char *argv[])
...
@@ -398,6 +398,7 @@ int main (int argc, char *argv[])
globals
.
mode
=
NONE
;
globals
.
mode
=
NONE
;
globals
.
forward_dll
=
NULL
;
globals
.
forward_dll
=
NULL
;
globals
.
input_name
=
NULL
;
globals
.
input_name
=
NULL
;
globals
.
dumpsect
=
NULL
;
parse_options
(
argv
);
parse_options
(
argv
);
...
...
tools/winedump/ne.c
View file @
1fcb0c11
...
@@ -384,9 +384,19 @@ void ne_dump( void )
...
@@ -384,9 +384,19 @@ void ne_dump( void )
if
(
!
dos
)
return
;
if
(
!
dos
)
return
;
ne
=
PRD
(
dos
->
e_lfanew
,
sizeof
(
*
ne
));
ne
=
PRD
(
dos
->
e_lfanew
,
sizeof
(
*
ne
));
dump_ne_header
(
ne
);
if
(
globals
.
do_dumpheader
||
!
globals
.
dumpsect
)
dump_ne_names
(
ne
);
dump_ne_header
(
ne
);
dump_ne_resources
(
ne
);
if
(
globals
.
do_dumpheader
)
dump_ne_exports
(
ne
);
dump_ne_names
(
ne
);
for
(
i
=
1
;
i
<=
ne
->
ne_cseg
;
i
++
)
dump_ne_segment
(
ne
,
i
);
if
(
globals
.
dumpsect
)
{
BOOL
all
=
strcmp
(
globals
.
dumpsect
,
"ALL"
)
==
0
;
if
(
all
||
!
strcmp
(
globals
.
dumpsect
,
"resource"
))
dump_ne_resources
(
ne
);
if
(
all
||
!
strcmp
(
globals
.
dumpsect
,
"export"
))
dump_ne_exports
(
ne
);
}
if
(
globals
.
do_dumpheader
)
for
(
i
=
1
;
i
<=
ne
->
ne_cseg
;
i
++
)
dump_ne_segment
(
ne
,
i
);
}
}
tools/winedump/winedump.man.in
View file @
1fcb0c11
...
@@ -70,17 +70,19 @@ Turns on symbol demangling.
...
@@ -70,17 +70,19 @@ Turns on symbol demangling.
Dumps file header information.
Dumps file header information.
This option dumps only the standard PE header structures,
This option dumps only the standard PE header structures,
along with the COFF sections available in the file.
along with the COFF sections available in the file.
.IP "\fB-j \fIsect_name\fR"
.IP "\fB-j \fIdir_name\fR"
Dumps only the content of section sect_name (import,
Dumps only the content of directory \fIdir_name\fR, for files
export, debug, resource, tls, clr).
which header points to directories.
To dump only a given directory, specify them using this
For PE files, currently the import, export, debug, resource,
option. Currently the import, export, debug, resource,
tls and clr directories are implemented.
tls and clr directories are implemented.
For NE files, currently the export and resource directories are
implemented.
.IP \fB-x\fR
.IP \fB-x\fR
Dumps everything.
Dumps everything.
This command prints all available information about the
This command prints all available information (including all
file. You may wish to pipe the output through more/less or
available directories - see \fB-j\fR option) about the file. You may
into a file, since a lot of output will be produced.
wish to pipe the output through more/less or into a file, since
a lot of output will be produced.
.IP \fB-G\fR
.IP \fB-G\fR
Dumps contents of debug section if any (for now, only stabs
Dumps contents of debug section if any (for now, only stabs
information is supported).
information is supported).
...
...
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