Sweden-Number/dlls/ntdll/tests
Rafał Harabień 77481d36d3 ntdll: Allow getting/setting x86_64 context of x86 processes in wine64.
WoW64 process has two separate contexts:
- x86 context used most of the time (e.g. by application code)
- x86_64 context used by system when it quits x86 emulation and jumps to
  the kernel code
A notable exception are debug registers - their state is shared. Some
debuggers make use of that fact and sets/gets debug registers of x86
processes using x86_64 thread context.

Add support for setting and getting debug registers using x86_64
thread context. Getting other registers is allowed too and will return
values from x86 thread context.

Fixes hardware breakpoints in IDA 7.0 disassembler (x86_64 app) when
debugging x86 (32 bit) applications.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
..
Makefile.in
atom.c ntdll: Reimplement local atom tables in user space. 2021-02-16 11:01:25 +01:00
change.c ntdll/tests: Remove skips on missing ntdll.dll. 2021-01-20 22:10:50 +01:00
directory.c ntdll: Store the filesystem redirection flag in the 64-bit TEB. 2020-07-24 18:26:18 +02:00
env.c ntdll: Set the environment size in the process parameters. 2021-01-26 16:38:52 +01:00
error.c
exception.c ntdll: Allow getting/setting x86_64 context of x86 processes in wine64. 2021-03-09 21:33:43 +01:00
file.c ntdll: Return STATUS_INVALID_DEVICE_REQUEST when trying to call NtReadFile on directory. 2021-02-05 15:38:21 +01:00
generated.c winapi: Use __alignof__ on clang. 2020-12-16 15:30:07 +01:00
info.c ntdll: Fill the handle attributes in System(Extended)HandleInformation. 2021-02-18 10:18:39 +01:00
large_int.c ntdll/tests: Add long long builtins tests. 2020-06-09 21:23:33 +02:00
ntdll_test.h
om.c ntdll/tests: Relax a broken result on Windows. 2021-02-11 16:31:30 +01:00
path.c ntdll/tests: Add more tests for RtlDosPathNameToNtPathName_U(). 2021-02-03 09:14:19 +01:00
pipe.c ntdll/tests: Test noname named pipe uniqueness. 2020-11-26 23:25:38 +01:00
port.c
reg.c ntdll/tests: Avoid passing an uninitialized timeout to NtNotifyChangeKey(). 2021-02-24 22:01:42 +01:00
rtl.c ntdll: Return failure from RtlQueryProcessDebugInformation. 2020-11-26 21:31:53 +01:00
rtlbitmap.c
rtlstr.c ntdll/tests: Add tests for RtlFormatMessage(). 2020-05-13 20:22:26 +02:00
string.c ntdll: Fix memchr implementation. 2020-12-04 17:51:07 +01:00
threadpool.c ntdll: Re-implement RtlRegisterWait using TpSetWait. 2021-02-11 22:26:36 +01:00
time.c Revert "ntdll/tests: Add test to check if GetTickCount is updated after sleeping.". 2020-08-24 22:14:44 +02:00
virtual.c ntdll: Make x86_64 syscall thunks position independent. 2020-11-25 21:39:19 +01:00