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
ddadd9d8
Commit
ddadd9d8
authored
May 18, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Print fake dll information also for NE files.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16851b1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
ne.c
tools/winedump/ne.c
+1
-0
pe.c
tools/winedump/pe.c
+1
-1
winedump.h
tools/winedump/winedump.h
+1
-0
No files found.
tools/winedump/ne.c
View file @
ddadd9d8
...
...
@@ -427,6 +427,7 @@ void ne_dump( void )
dos
=
PRD
(
0
,
sizeof
(
*
dos
));
if
(
!
dos
)
return
;
ne
=
PRD
(
dos
->
e_lfanew
,
sizeof
(
*
ne
));
print_fake_dll
();
if
(
globals
.
do_dumpheader
||
!
globals
.
dumpsect
)
dump_ne_header
(
ne
);
...
...
tools/winedump/pe.c
View file @
ddadd9d8
...
...
@@ -98,7 +98,7 @@ static const IMAGE_NT_HEADERS32 *get_nt_header( void )
return
PRD
(
dos
->
e_lfanew
,
sizeof
(
DWORD
)
+
sizeof
(
IMAGE_FILE_HEADER
));
}
static
void
print_fake_dll
(
void
)
void
print_fake_dll
(
void
)
{
static
const
char
builtin_signature
[]
=
"Wine builtin DLL"
;
static
const
char
fakedll_signature
[]
=
"Wine placeholder DLL"
;
...
...
tools/winedump/winedump.h
View file @
ddadd9d8
...
...
@@ -228,6 +228,7 @@ unsigned int strlenW( const unsigned short *str );
void
dump_unicode_str
(
const
unsigned
short
*
str
,
int
len
);
const
char
*
get_guid_str
(
const
GUID
*
guid
);
const
char
*
get_symbol_str
(
const
char
*
symname
);
void
print_fake_dll
(
void
);
void
dump_file_header
(
const
IMAGE_FILE_HEADER
*
);
void
dump_optional_header
(
const
IMAGE_OPTIONAL_HEADER32
*
,
UINT
);
void
dump_section
(
const
IMAGE_SECTION_HEADER
*
,
const
char
*
strtable
);
...
...
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