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
ea767728
Commit
ea767728
authored
May 18, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Fix PEB address for Wow64.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51151
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8a1341f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
debug.c
dlls/kernelbase/debug.c
+1
-1
psapi_main.c
dlls/psapi/tests/psapi_main.c
+0
-1
No files found.
dlls/kernelbase/debug.c
View file @
ea767728
...
...
@@ -782,7 +782,7 @@ static BOOL init_module_iterator( struct module_iterator *iter, HANDLE process )
DWORD
ldr_data32
,
first_module
;
PEB32
*
peb32
;
peb32
=
(
PEB32
*
)(
DWORD_PTR
)
pbi
.
PebBaseAddress
;
peb32
=
(
PEB32
*
)(
(
char
*
)
pbi
.
PebBaseAddress
+
0x1000
)
;
if
(
!
ReadProcessMemory
(
process
,
&
peb32
->
LdrData
,
&
ldr_data32
,
sizeof
(
ldr_data32
),
NULL
))
return
FALSE
;
ldr_data32_ptr
=
(
PEB_LDR_DATA32
*
)(
DWORD_PTR
)
ldr_data32
;
...
...
dlls/psapi/tests/psapi_main.c
View file @
ea767728
...
...
@@ -161,7 +161,6 @@ static void test_EnumProcessModules(void)
ret
=
GetModuleFileNameExA
(
pi
.
hProcess
,
hMod
,
name
,
sizeof
(
name
));
ok
(
ret
,
"got error %u
\n
"
,
GetLastError
());
todo_wine
ok
(
!
strcmp
(
name
,
buffer
),
"got %s
\n
"
,
name
);
ret
=
GetModuleInformation
(
pi
.
hProcess
,
hMod
,
&
info
,
sizeof
(
info
));
...
...
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