|
ReactOS 0.4.16-dev-2207-geb15453
|
#include <stdarg.h>#include <stdio.h>#include <assert.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "winternl.h"#include "winnls.h"#include "wine/test.h"#include "delayloadhandler.h"
Go to the source code of this file.
Classes | |
| struct | PROCESS_BASIC_INFORMATION_PRIVATE |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | PROCESS_ALL_ACCESS_NT4 (PROCESS_ALL_ACCESS & ~0xf000) |
| #define | ALIGN_SIZE(size, alignment) (((size) + ((ULONG_PTR)(alignment) - 1)) & ~(((ULONG_PTR)(alignment) - 1))) |
| #define | DATA_RVA(ptr) (page_size + ((char *)(ptr) - (char *)&data)) |
| #define | ADD_RELOC(field) data.rel.type_off[nb_rel++] = (IMAGE_REL_BASED_HIGHLOW << 12) + offsetof( struct imports, field ) |
| #define | MAX_COUNT 10 |
| #define | OK_FIELD(x, f) ok( nt->x == nt_file->x, "%s:%u: wrong " #x " " f " / " f "\n", name, i, nt->x, nt_file->x ) |
| #define ADD_RELOC | ( | field | ) | data.rel.type_off[nb_rel++] = (IMAGE_REL_BASED_HIGHLOW << 12) + offsetof( struct imports, field ) |
| #define OK_FIELD | ( | x, | |
| f | |||
| ) | ok( nt->x == nt_file->x, "%s:%u: wrong " #x " " f " / " f "\n", name, i, nt->x, nt_file->x ) |
| #define PROCESS_ALL_ACCESS_NT4 (PROCESS_ALL_ACCESS & ~0xf000) |
|
static |
Definition at line 3050 of file loader.c.
Referenced by dll_entry_point().
Definition at line 2142 of file loader.c.
Referenced by test_import_resolution().
Definition at line 3472 of file loader.c.
|
static |
Definition at line 208 of file loader.c.
Referenced by test_filenames(), and test_Loader().
|
static |
Definition at line 293 of file loader.c.
Referenced by map_image_section(), and test_Loader().
Definition at line 588 of file loader.c.
Referenced by test_Loader().
Definition at line 3069 of file loader.c.
Referenced by child_process(), and test_ExitProcess().
|
static |
Definition at line 4290 of file loader.c.
Referenced by test_ResolveDelayLoadedAPI().
Definition at line 4343 of file loader.c.
Referenced by test_ResolveDelayLoadedAPI().
Definition at line 3042 of file loader.c.
Referenced by dll_entry_point().
|
static |
Definition at line 2502 of file loader.c.
Referenced by subtest_export_forwarder_dep_chain().
Definition at line 196 of file loader.c.
Referenced by test_Loader().
Definition at line 183 of file loader.c.
Referenced by map_image_section().
|
static |
Definition at line 602 of file loader.c.
Referenced by map_image_section().
Definition at line 559 of file loader.c.
Referenced by test_Loader().
Definition at line 1777 of file loader.c.
Referenced by test_section_access().
Definition at line 4665 of file loader.c.
Referenced by test_wow64_redirection_for_dll().
|
static |
Definition at line 3465 of file loader.c.
Referenced by child_process().
|
static |
Definition at line 613 of file loader.c.
Referenced by test_Loader().
Definition at line 2953 of file loader.c.
Referenced by child_process().
Definition at line 3030 of file loader.c.
Referenced by child_process(), and dll_entry_point().
|
static |
|
static |
Definition at line 334 of file loader.c.
Referenced by map_image_section(), and test_Loader().
Definition at line 95 of file loader.c.
Referenced by test_ImportDescriptors(), and test_ResolveDelayLoadedAPI().
Definition at line 3010 of file loader.c.
Referenced by child_process().
| START_TEST | ( | loader | ) |
Definition at line 4819 of file loader.c.
|
static |
Definition at line 2757 of file loader.c.
Referenced by test_export_forwarder_dep_chain().
Definition at line 4734 of file loader.c.
Referenced by START_TEST().
Definition at line 3788 of file loader.c.
Referenced by START_TEST().
Definition at line 2920 of file loader.c.
Referenced by START_TEST().
Definition at line 1539 of file loader.c.
Referenced by START_TEST().
Definition at line 1673 of file loader.c.
Referenced by test_section_access().
Definition at line 2182 of file loader.c.
Referenced by START_TEST().
Definition at line 1619 of file loader.c.
Referenced by START_TEST().
Definition at line 4644 of file loader.c.
Referenced by START_TEST().
Definition at line 761 of file loader.c.
Referenced by START_TEST().
Definition at line 4775 of file loader.c.
Referenced by START_TEST().
Definition at line 4351 of file loader.c.
Referenced by START_TEST().
Definition at line 1920 of file loader.c.
Referenced by START_TEST().
Definition at line 1792 of file loader.c.
Definition at line 4702 of file loader.c.
Referenced by START_TEST().
Definition at line 4672 of file loader.c.
Referenced by test_wow64_redirection().
Definition at line 4791 of file loader.c.
Referenced by START_TEST().
Definition at line 2171 of file loader.c.
Referenced by test_import_resolution().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
Definition at line 2945 of file loader.c.
Referenced by child_process(), and dll_entry_point().
|
static |
Definition at line 2946 of file loader.c.
Referenced by child_process(), and dll_entry_point().
|
static |
Definition at line 53 of file loader.c.
Referenced by encode_op_create_session(), failuredllhook(), and test_ResolveDelayLoadedAPI().
|
static |
Definition at line 53 of file loader.c.
Referenced by failuresyshook(), and test_ResolveDelayLoadedAPI().
|
static |
Definition at line 52 of file loader.c.
Referenced by child_process(), dll_entry_point(), START_TEST(), and test_ExitProcess().
|
static |
Definition at line 2949 of file loader.c.
Referenced by child_process(), dll_entry_point(), and mutex_thread_proc().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 102 of file loader.c.
Referenced by create_test_dll(), create_test_dll_sections(), gen_forward_chain_testdll(), map_image_section(), START_TEST(), test_ExitProcess(), test_filenames(), test_import_resolution(), test_Loader(), test_ResolveDelayLoadedAPI(), and test_section_access().
Definition at line 67 of file loader.c.
Referenced by test_Loader().
Definition at line 179 of file loader.c.
Referenced by create_file(), create_test_dll(), test_ExitProcess(), test_GetUserNameA(), test_GetUserNameW(), test_Loader(), and test_ResolveDelayLoadedAPI().
|
static |
Definition at line 2951 of file loader.c.
Referenced by dll_entry_point(), and fls_callback().
|
static |
Definition at line 3048 of file loader.c.
Referenced by child_process(), dll_entry_point(), and test_FiberLocalStorage().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 2950 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 2950 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 2950 of file loader.c.
Referenced by child_process(), dll_entry_point(), and mutex_thread_proc().
|
static |
Definition at line 2950 of file loader.c.
Referenced by child_process(), dll_entry_point(), and mutex_thread_proc().
Definition at line 55 of file loader.c.
Referenced by map_image_section(), and query_image_section().
|
static |
Definition at line 56 of file loader.c.
Referenced by START_TEST(), test_Loader(), test_wow64_redirection(), and test_Wow64Transition().
Definition at line 556 of file loader.c.
Referenced by delete_load_path(), init_load_path(), and map_image_section().
Definition at line 557 of file loader.c.
Referenced by find_exe_file(), init_load_path(), load_library(), and map_image_section().
Definition at line 556 of file loader.c.
Referenced by delete_load_path(), init_load_path(), and map_image_section().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 104 of file loader.c.
Referenced by gen_forward_chain_testdll(), map_image_section(), test_ExitProcess(), test_filenames(), test_import_resolution(), test_Loader(), test_ResolveDelayLoadedAPI(), and test_section_access().
|
static |
Definition at line 54 of file loader.c.
Referenced by create_test_dll(), gen_forward_chain_testdll(), HLPFILE_BPTreeEnum(), HLPFILE_BPTreeSearch(), is_bad_read_pointer(), LISTBOX_SetCount(), LISTBOX_UpdatePage(), query_image_section(), SdbGetFileAttributes(), START_TEST(), test_filenames(), test_image_mapping(), test_import_resolution(), test_Loader(), test_PrefetchVirtualMemory(), test_section_access(), and test_VirtualProtect().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), and mutex_thread_proc().
|
static |
Definition at line 164 of file loader.c.
Referenced by test_import_resolution().
Definition at line 180 of file loader.c.
Referenced by create_test_dll(), create_test_dll_sections(), map_image_section(), query_image_section(), test_ExitProcess(), test_Loader(), and test_section_access().
|
static |
Definition at line 2947 of file loader.c.
Referenced by child_process(), dll_entry_point(), master_IReferenceClock_AdvisePeriodic(), refclock_AdvisePeriodic(), semaphore_thread_proc(), and test_signalandwait().
Definition at line 62 of file loader.c.
Referenced by query_image_section().
|
static |
Definition at line 2948 of file loader.c.
Referenced by child_process(), mutex_thread_proc(), and semaphore_thread_proc().
Definition at line 57 of file loader.c.
Referenced by START_TEST(), and test_wow64_redirection_for_dll().
Definition at line 58 of file loader.c.
Referenced by START_TEST(), test_wow64_redirection(), and test_wow64_redirection_for_dll().
|
static |
Definition at line 2950 of file loader.c.
Referenced by child_process(), dll_entry_point(), and START_TEST().
| PIMAGE_THUNK_DATA ThunkAddress |
|
static |
Definition at line 2169 of file loader.c.
Referenced by test_import_resolution(), and tls_thread_fn().
Definition at line 555 of file loader.c.
Referenced by init_load_path(), and map_image_section().