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
94a9db63
Commit
94a9db63
authored
Sep 07, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Run the execution test only on x86 platforms.
parent
20e9b3f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
info.c
dlls/ntdll/tests/info.c
+2
-0
No files found.
dlls/ntdll/tests/info.c
View file @
94a9db63
...
...
@@ -1194,10 +1194,12 @@ static void test_mapprotection(void)
addr
=
NULL
;
status
=
pNtMapViewOfSection
(
h
,
GetCurrentProcess
(),
&
addr
,
0
,
0
,
&
offset
,
&
count
,
ViewShare
,
0
,
PAGE_READWRITE
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08x
\n
"
,
status
);
#if defined(__x86_64__) || defined(__i386__)
memset
(
addr
,
0xc3
,
1
);
/* lret ... in both i386 and x86_64 */
trace
(
"trying to execute code in the readwrite only mapped anon file...
\n
"
);
f
=
addr
;
f
();
trace
(
"...done.
\n
"
);
#endif
status
=
pNtQueryVirtualMemory
(
GetCurrentProcess
(),
addr
,
MemoryBasicInformation
,
&
info
,
sizeof
(
info
),
&
retlen
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08x
\n
"
,
status
);
...
...
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