Sweden-Number/dlls/ntdll/tests
Rémi Bernon 8878492d3b ntdll/tests: Add NtAllocateVirtualMemory tests for zero_bits behavior.
The zero_bits parameter doesn't behave as expected, and some 64bit code
use it to allocate memory in the lower 32bit address space.

The expected full behaviour is:

* zero_bits == 0: no constraint on address range
* 0 < zero_bits <= 15: returned address should have as many upper bits
                       set to 0, starting at bit 31. In 64bit mode,
                       upper 32bits should all be 0 as well.
* 15 < zero_bits <= 31: unsure, but probably same as zero_bits == 15.
* zero_bits > 31: (64bit/WoW64 only) zero_bits behaves as a bitmask, as
                  if it was set to the number of leading 0 in the
                  bitmask, works in the whole 64bit range.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:18:49 +02:00
..
Makefile.in ntdll/tests: Move NtAllocateVirtualMemory tests that were in kernel32. 2019-06-11 18:18:39 +02:00
atom.c
change.c
directory.c ntdll/tests: Avoid using the comma operator. 2019-03-04 12:26:06 +01:00
env.c ntdll/tests: Add tests for initial process parameters layout. 2019-02-13 19:45:24 +01:00
error.c
exception.c ntdll/tests: Avoid the comma operator. 2019-04-29 22:23:34 +02:00
file.c ntdll/tests: Test readonly file access. 2019-04-11 19:29:42 +02:00
generated.c
info.c ntoskrnl.exe/tests: Add more NtOpenThread tests. 2019-04-23 23:50:45 +02:00
large_int.c
ntdll_test.h
om.c ntdll/tests: Fix a string leak (Valgrind). 2019-05-31 21:32:26 +02:00
path.c ntdll: Don't use toupper in RtlIsNameLegalDOS8Dot3 tests. 2019-03-26 13:50:24 +01:00
pipe.c
port.c
reg.c ntdll/tests: Fix some string leaks (Valgrind). 2019-01-18 23:39:02 +01:00
rtl.c ntdll: Initialize critical section debug info with correct pointer value. 2019-04-30 20:08:04 +02:00
rtlbitmap.c
rtlstr.c
string.c ntdll: Fix _strnicmp implementation to not depend on locale. 2019-03-26 13:50:11 +01:00
threadpool.c ntdll/threadpool: Add support for callback priority. 2019-03-13 10:59:50 +01:00
time.c wine.inf: Add MUI time zone name settings. 2018-12-07 18:07:54 +01:00
virtual.c ntdll/tests: Add NtAllocateVirtualMemory tests for zero_bits behavior. 2019-06-11 18:18:49 +02:00