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
2be2c1ac
Commit
2be2c1ac
authored
Oct 25, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Dump the base address when a module is loaded.
parent
2da76a04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
loader.c
dlls/ntdll/loader.c
+5
-5
No files found.
dlls/ntdll/loader.c
View file @
2be2c1ac
...
...
@@ -1446,7 +1446,7 @@ static NTSTATUS load_native_dll( LPCWSTR load_path, LPCWSTR name, HANDLE file,
if
((
wm
->
ldr
.
Flags
&
LDR_IMAGE_IS_DLL
)
&&
TRACE_ON
(
snoop
))
SNOOP_SetupDLL
(
module
);
TRACE_
(
loaddll
)(
"
Loaded module %s : native
\n
"
,
debugstr_w
(
wm
->
ldr
.
FullDllName
.
Buffer
)
);
TRACE_
(
loaddll
)(
"
Loaded %s at %p: native
\n
"
,
debugstr_w
(
wm
->
ldr
.
FullDllName
.
Buffer
),
module
);
wm
->
ldr
.
LoadCount
=
1
;
*
pwm
=
wm
;
...
...
@@ -1563,8 +1563,8 @@ static NTSTATUS load_builtin_dll( LPCWSTR load_path, LPCWSTR path, HANDLE file,
if
(
mod
->
Flags
&
LDR_WINE_INTERNAL
&&
mod
->
SectionHandle
==
handle
)
{
info
.
wm
=
CONTAINING_RECORD
(
mod
,
WINE_MODREF
,
ldr
);
TRACE
(
"Found
already loaded module %s
for builtin %s
\n
"
,
debugstr_w
(
info
.
wm
->
ldr
.
FullDllName
.
Buffer
),
debugstr_w
(
path
)
);
TRACE
(
"Found
%s at %p
for builtin %s
\n
"
,
debugstr_w
(
info
.
wm
->
ldr
.
FullDllName
.
Buffer
),
info
.
wm
->
ldr
.
BaseAddress
,
debugstr_w
(
path
)
);
break
;
}
}
...
...
@@ -1574,7 +1574,7 @@ static NTSTATUS load_builtin_dll( LPCWSTR load_path, LPCWSTR path, HANDLE file,
}
else
{
TRACE_
(
loaddll
)(
"Loaded
module %s : builtin
\n
"
,
debugstr_w
(
info
.
wm
->
ldr
.
FullDllName
.
Buffer
)
);
TRACE_
(
loaddll
)(
"Loaded
%s at %p: builtin
\n
"
,
debugstr_w
(
info
.
wm
->
ldr
.
FullDllName
.
Buffer
),
info
.
wm
->
ldr
.
BaseAddress
);
info
.
wm
->
ldr
.
LoadCount
=
1
;
info
.
wm
->
ldr
.
SectionHandle
=
handle
;
}
...
...
@@ -1827,7 +1827,7 @@ static NTSTATUS load_dll( LPCWSTR load_path, LPCWSTR libname, DWORD flags, WINE_
if
(
!
(
flags
&
DONT_RESOLVE_DLL_REFERENCES
))
fixup_imports
(
*
pwm
,
load_path
);
TRACE
(
"Found
loaded module
%s for %s at %p, count=%d
\n
"
,
TRACE
(
"Found %s for %s at %p, count=%d
\n
"
,
debugstr_w
((
*
pwm
)
->
ldr
.
FullDllName
.
Buffer
),
debugstr_w
(
libname
),
(
*
pwm
)
->
ldr
.
BaseAddress
,
(
*
pwm
)
->
ldr
.
LoadCount
);
if
(
filename
!=
buffer
)
RtlFreeHeap
(
GetProcessHeap
(),
0
,
filename
);
...
...
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