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
b75caec1
Commit
b75caec1
authored
Dec 16, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Mark a failing test as todo.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
197f2ee6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
wow64.c
dlls/ntdll/tests/wow64.c
+7
-3
No files found.
dlls/ntdll/tests/wow64.c
View file @
b75caec1
...
...
@@ -39,6 +39,7 @@ static NTSTATUS (WINAPI *pNtWow64ReadVirtualMemory64)(HANDLE,ULONG64,void*,ULONG
static
NTSTATUS
(
WINAPI
*
pNtWow64WriteVirtualMemory64
)(
HANDLE
,
ULONG64
,
const
void
*
,
ULONG64
,
ULONG64
*
);
#endif
static
BOOL
is_win64
=
(
sizeof
(
void
*
)
>
sizeof
(
int
));
static
BOOL
is_wow64
;
static
void
*
code_mem
;
...
...
@@ -234,6 +235,7 @@ static void test_peb_teb(void)
NTSTATUS
status
;
void
*
redir
;
SIZE_T
res
;
BOOL
ret
;
TEB
teb
;
PEB
peb
;
TEB32
teb32
;
...
...
@@ -326,15 +328,17 @@ static void test_peb_teb(void)
params32
.
EnvironmentSize
,
params
.
EnvironmentSize
);
}
ok
(
DebugActiveProcess
(
pi
.
dwProcessId
),
"debugging failed
\n
"
);
ret
=
DebugActiveProcess
(
pi
.
dwProcessId
);
todo_wine_if
(
is_win64
)
ok
(
ret
,
"debugging failed
\n
"
);
if
(
!
ReadProcessMemory
(
pi
.
hProcess
,
proc_info
.
PebBaseAddress
,
&
peb
,
sizeof
(
peb
),
&
res
))
res
=
0
;
ok
(
res
==
sizeof
(
peb
),
"wrong len %lx
\n
"
,
res
);
ok
(
peb
.
BeingDebugged
==
1
,
"BeingDebugged is %u
\n
"
,
peb
.
BeingDebugged
);
ok
(
peb
.
BeingDebugged
==
!!
ret
,
"BeingDebugged is %u
\n
"
,
peb
.
BeingDebugged
);
if
(
!
is_wow64
)
{
if
(
!
ReadProcessMemory
(
pi
.
hProcess
,
ULongToPtr
(
teb32
.
Peb
),
&
peb32
,
sizeof
(
peb32
),
&
res
))
res
=
0
;
ok
(
res
==
sizeof
(
peb32
),
"wrong len %lx
\n
"
,
res
);
ok
(
peb32
.
BeingDebugged
==
1
,
"BeingDebugged is %u
\n
"
,
peb32
.
BeingDebugged
);
ok
(
peb32
.
BeingDebugged
==
!!
ret
,
"BeingDebugged is %u
\n
"
,
peb32
.
BeingDebugged
);
}
TerminateProcess
(
pi
.
hProcess
,
0
);
...
...
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