|
ReactOS 0.4.17-dev-37-g0bfb40d
|
#include <stdarg.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "winternl.h"#include "winioctl.h"#include "winuser.h"#include "ddk/wdm.h"#include "wine/test.h"
Go to the source code of this file.
Classes | |
| struct | arm64ec_shared_info |
| struct | expected_notification |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | GET_PROC(func) p##func = (void *)GetProcAddress( ntdll, #func ) |
| #define | expect_cross_work_entry(list, entry, id, addr, size, arg0, arg1, arg2, arg3) expect_cross_work_entry_(list,entry,id,addr,size,arg0,arg1,arg2,arg3,__LINE__) |
| #define | CHECK_STR(name) |
| #define | CHECK_STR(name) |
| #define | GET_ENTRY(info, size, ret) NtQueryInformationThread( GetCurrentThread(), ThreadDescriptorTableEntry, info, size, ret ) |
| #define | expect_notifications(results, count, expect, syscall) expect_notifications_(results, count, expect, syscall, __LINE__) |
| #define | CHECK_MODULE(mod) do { if (!wcsicmp( name, L"" #mod ".dll" )) { mod ## _module = base; return; } } while(0) |
| #define | CHECK_FUNC(val, func) |
Variables | |
| static void | ULONG |
| static WORD WORD *static BOOLEAN WOW64INFO *static WOW64_CONTEXT *static BOOLEAN *static | HANDLE |
| static ULONG64 | ULONG64 |
| static | PROCESSINFOCLASS |
| static void ULONG *static void ULONG64 *static const void ULONG64 *static BOOL | is_win64 = sizeof(void *) > sizeof(int) |
| static BOOL | is_wow64 |
| static BOOL | old_wow64 |
| static void * | code_mem |
| static USHORT | current_machine |
| static USHORT | native_machine |
| static DWORD | hook_code [] |
| static const DWORD | log_params_code [] |
| static BYTE | old_code [sizeof(hook_code)] |
| static const BYTE | call_func64_code [] |
| static ULONG64 | main_module |
| static ULONG64 | ntdll_module |
| static ULONG64 | wow64_module |
| static ULONG64 | wow64base_module |
| static ULONG64 | wow64con_module |
| static ULONG64 | wow64cpu_module |
| static ULONG64 | xtajit_module |
| static ULONG64 | wow64win_module |
| #define CHECK_MODULE | ( | mod | ) | do { if (!wcsicmp( name, L"" #mod ".dll" )) { mod ## _module = base; return; } } while(0) |
| #define GET_ENTRY | ( | info, | |
| size, | |||
| ret | |||
| ) | NtQueryInformationThread( GetCurrentThread(), ThreadDescriptorTableEntry, info, size, ret ) |
|
static |
Definition at line 1541 of file wow64.c.
Referenced by test_notifications().
Definition at line 2288 of file wow64.c.
Referenced by invoke_syscall(), test_cpu_area(), and test_iosb().
Definition at line 2395 of file wow64.c.
Referenced by test_modules().
|
static |
Definition at line 198 of file wow64.c.
Referenced by test_arm64ec(), test_peb_teb(), and test_query_architectures().
Definition at line 2299 of file wow64.c.
Referenced by test_modules().
|
static |
Definition at line 511 of file wow64.c.
|
static |
Definition at line 1519 of file wow64.c.
Definition at line 2348 of file wow64.c.
Referenced by invoke_syscall(), test_cpu_area(), test_exception_dispatcher(), test_init_block(), test_iosb(), and test_syscalls().
|
static |
Definition at line 1571 of file wow64.c.
Referenced by test_notifications().
Definition at line 112 of file wow64.c.
Referenced by START_TEST().
Definition at line 3013 of file wow64.c.
Referenced by test_syscalls().
Definition at line 2834 of file wow64.c.
Referenced by test_iosb().
Definition at line 106 of file wow64.c.
Referenced by test_process_architecture(), and test_query_architectures().
|
static |
Definition at line 461 of file wow64.c.
Referenced by add_work_item().
|
static |
Definition at line 1556 of file wow64.c.
Referenced by test_notifications().
|
static |
Referenced by hook_notification_function().
|
static |
|
static |
|
static |
Definition at line 500 of file wow64.c.
Referenced by test_notifications().
Definition at line 1511 of file wow64.c.
Referenced by expect_notifications_(), and test_notifications().
| START_TEST | ( | wow64 | ) |
Definition at line 3205 of file wow64.c.
Definition at line 871 of file wow64.c.
Referenced by test_peb_teb().
Definition at line 3181 of file wow64.c.
Referenced by START_TEST().
Definition at line 3115 of file wow64.c.
Referenced by START_TEST().
|
static |
Definition at line 536 of file wow64.c.
Referenced by test_amd64_shared_info(), and test_wow64_shared_info().
Definition at line 3145 of file wow64.c.
Referenced by START_TEST().
Definition at line 1334 of file wow64.c.
Referenced by START_TEST().
Definition at line 2670 of file wow64.c.
Referenced by START_TEST().
Definition at line 2849 of file wow64.c.
Referenced by START_TEST().
Definition at line 2800 of file wow64.c.
Referenced by START_TEST().
Definition at line 2423 of file wow64.c.
Referenced by START_TEST().
|
static |
Definition at line 1605 of file wow64.c.
Definition at line 2441 of file wow64.c.
Referenced by START_TEST().
Definition at line 910 of file wow64.c.
Referenced by START_TEST().
|
static |
Definition at line 216 of file wow64.c.
Referenced by test_query_architectures().
|
static |
Definition at line 265 of file wow64.c.
Referenced by test_query_architectures().
Definition at line 317 of file wow64.c.
Referenced by START_TEST().
Definition at line 1186 of file wow64.c.
Referenced by START_TEST().
Definition at line 3028 of file wow64.c.
Referenced by START_TEST().
Definition at line 824 of file wow64.c.
Referenced by test_peb_teb().
|
static |
Definition at line 2250 of file wow64.c.
Referenced by call_func64().
|
static |
Definition at line 76 of file wow64.c.
Referenced by call_func64(), init(), test_cpu_area(), test_exception_dispatcher(), test_iosb(), and test_syscalls().
|
static |
Definition at line 91 of file wow64.c.
Referenced by GetNativeSystemInfo(), hook_notification_function(), init(), test_cross_process_notifications(), test_image_mappings(), and test_query_architectures().
Definition at line 53 of file wow64.c.
Referenced by test_cross_process_notifications(), test_query_architectures(), and test_syscalls().
|
static |
Definition at line 1481 of file wow64.c.
Referenced by hook_notification_function(), and test_notifications().
|
static |
Definition at line 73 of file wow64.c.
Referenced by test_peb_teb(), and test_query_architectures().
|
static |
Definition at line 74 of file wow64.c.
Referenced by init(), test_cpu_area(), test_exception_dispatcher(), test_image_mappings(), test_init_block(), test_iosb(), test_modules(), test_nt_wow64(), test_peb_teb(), and test_syscalls().
Definition at line 1488 of file wow64.c.
Referenced by test_notifications().
|
static |
Definition at line 2296 of file wow64.c.
Referenced by check_module(), test_instances(), and test_modules().
|
static |
Definition at line 92 of file wow64.c.
Referenced by check_module(), GetNativeSystemInfo(), init(), IsWow64Process2(), test_image_mappings(), test_IsWow64Process2(), test_memory_notifications(), test_modules(), test_nt_wow64(), test_peb_teb(), test_process_architecture(), test_query_architectures(), test_SystemInfo(), and test_wow64_shared_info().
|
static |
Definition at line 2296 of file wow64.c.
Referenced by test_cpu_area(), test_exception_dispatcher(), test_init_block(), test_iosb(), test_modules(), and test_syscalls().
Definition at line 1569 of file wow64.c.
Referenced by ft_lzwstate_io(), hook_notification_function(), and test_notifications().
|
static |
Definition at line 75 of file wow64.c.
Referenced by enum_modules64(), init(), test_init_block(), test_modules(), and test_nt_wow64().
Definition at line 43 of file wow64.c.
Referenced by test_init_block(), test_memory_notifications(), test_notifications(), test_nt_wow64(), and test_syscalls().
|
static |
Definition at line 2296 of file wow64.c.
Referenced by invoke_syscall(), test_exception_dispatcher(), test_modules(), and test_syscalls().
|
static |
Definition at line 2297 of file wow64.c.
Referenced by test_modules().
|
static |
Definition at line 2297 of file wow64.c.
Referenced by test_modules().
|
static |
Definition at line 2297 of file wow64.c.
Referenced by test_memory_notifications(), and test_modules().