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
5d1d777e
Commit
5d1d777e
authored
Mar 14, 1999
by
Theodore S. Hetke
Committed by
Alexandre Julliard
Mar 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tracing for delayed imports and removed the fixme.
parent
f22bea0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
3 deletions
+28
-3
peexe.h
include/peexe.h
+1
-0
pe_image.c
loader/pe_image.c
+27
-3
No files found.
include/peexe.h
View file @
5d1d777e
...
...
@@ -130,6 +130,7 @@ typedef struct _IMAGE_OPTIONAL_HEADER
#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT 11
#define IMAGE_DIRECTORY_ENTRY_IAT 12
/* Import Address Table */
#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT 13
#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR 14
/* Subsystem Values */
...
...
loader/pe_image.c
View file @
5d1d777e
...
...
@@ -700,10 +700,34 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule,
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
IMAGE_DIRECTORY_ENTRY_IAT
;
if
(
dir
->
Size
)
TRACE
(
win32
,
"Import Address Table directory ignored
\n
"
);
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
13
;
if
(
dir
->
Size
)
FIXME
(
win32
,
"Unknown directory 13 ignored
\n
"
);
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT
;
if
(
dir
->
Size
)
{
TRACE
(
win32
,
"Delayed import, stub calls LoadLibrary
\n
"
);
/*
* Nothing to do here.
*/
#ifdef ImgDelayDescr
/*
* This code is useful to observe what the heck is going on.
*/
{
ImgDelayDescr
*
pe_delay
=
NULL
;
pe_delay
=
(
PImgDelayDescr
)
RVA
(
dir
->
VirtualAddress
);
TRACE
(
delayhlp
,
"pe_delay->grAttrs = %08x
\n
"
,
pe_delay
->
grAttrs
);
TRACE
(
delayhlp
,
"pe_delay->szName = %s
\n
"
,
pe_delay
->
szName
);
TRACE
(
delayhlp
,
"pe_delay->phmod = %08x
\n
"
,
pe_delay
->
phmod
);
TRACE
(
delayhlp
,
"pe_delay->pIAT = %08x
\n
"
,
pe_delay
->
pIAT
);
TRACE
(
delayhlp
,
"pe_delay->pINT = %08x
\n
"
,
pe_delay
->
pINT
);
TRACE
(
delayhlp
,
"pe_delay->pBoundIAT = %08x
\n
"
,
pe_delay
->
pBoundIAT
);
TRACE
(
delayhlp
,
"pe_delay->pUnloadIAT = %08x
\n
"
,
pe_delay
->
pUnloadIAT
);
TRACE
(
delayhlp
,
"pe_delay->dwTimeStamp = %08x
\n
"
,
pe_delay
->
dwTimeStamp
);
}
#endif
/* ImgDelayDescr */
}
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
14
;
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR
;
if
(
dir
->
Size
)
FIXME
(
win32
,
"Unknown directory 14 ignored
\n
"
);
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
15
;
...
...
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