|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <stdbool.h>#include <windows.h>Go to the source code of this file.
Data Structures | |
| struct | DTTR_LoaderIsoContext |
Functions | |
| void | DTTR_Compat_CreateProcess (const WCHAR *image_name, const char *shim_data, size_t shim_data_len, PROCESS_INFORMATION *child_info) |
| bool | DTTR_Loader_InjectSidecar (const PROCESS_INFORMATION *child_info) |
| bool | DTTR_Loader_ResolveEXEPath (WCHAR *out, const char *configured_path, DTTR_LoaderIsoContext *iso_context) |
| void | DTTR_Loader_WatchdogAttach (const PROCESS_INFORMATION *child_info) |
| void | DTTR_Loader_WatchdogDetach (const PROCESS_INFORMATION *child_info) |
| bool | DTTR_Loader_WatchdogWait (const PROCESS_INFORMATION *child_info) |
Variables | |
| const char * | dttr_config_path |
| void DTTR_Compat_CreateProcess | ( | const WCHAR * | image_name, |
| const char * | shim_data, | ||
| size_t | shim_data_len, | ||
| PROCESS_INFORMATION * | child_info ) |
Definition at line 163 of file nt_process.c.
References attribute_list::attributes, unicode_string::buffer, DTTR_FATAL, DTTR_LOG_DEBUG, DTTR_UNWRAP_WINAPI_EXISTS, DTTR_UNWRAP_WINAPI_NONZERO, DWORD, unicode_string::length, NT_SUCCESS, NULL, client_id::process, PS_ATTRIBUTE_CLIENT_ID, PS_ATTRIBUTE_IMAGE_NAME, RESOLVE, resolve_nt_path_and_cwd(), RTL_USER_PROC_PARAMS_NORMALIZED, create_info::size, client_id::thread, THREAD_CREATE_FLAGS_CREATE_SUSPENDED, attribute_list::total_length, and write_remote_shim_data().
Referenced by dttr_launcher_main().
| bool DTTR_Loader_InjectSidecar | ( | const PROCESS_INFORMATION * | child_info | ) |
Definition at line 291 of file load.c.
References build_sidecar_shellcode(), DTTR_LOG_DEBUG, DWORD, free, initialize_shellcode_payload(), log_win32_failure(), NULL, read_entry_point_rva_from_remote_image(), read_remote_image_base_from_thread_context(), resolve_sidecar_dll_path(), and write_remote_payload().
Referenced by dttr_launcher_main().
| bool DTTR_Loader_ResolveEXEPath | ( | WCHAR * | out, |
| const char * | configured_path, | ||
| DTTR_LoaderIsoContext * | iso_context ) |
Definition at line 459 of file browse.c.
References prompt_browse_for_path(), and try_configured_path().
Referenced by dttr_launcher_main().
| void DTTR_Loader_WatchdogAttach | ( | const PROCESS_INFORMATION * | child_info | ) |
Definition at line 115 of file watchdog.c.
References DTTR_LOG_DEBUG, DTTR_LOG_WARN, should_disable_watchdog(), and watchdog_attached.
Referenced by dttr_launcher_main().
| void DTTR_Loader_WatchdogDetach | ( | const PROCESS_INFORMATION * | child_info | ) |
Definition at line 137 of file watchdog.c.
References detach_watchdog().
Referenced by dttr_launcher_main().
| bool DTTR_Loader_WatchdogWait | ( | const PROCESS_INFORMATION * | child_info | ) |
Definition at line 163 of file watchdog.c.
References detach_watchdog(), DTTR_ERROR, DTTR_LOG_DEBUG, DTTR_LOG_INFO, DTTR_REPORT_SUFFIX, DWORD, is_sentinel(), watchdog_attached, WATCHDOG_TIMEOUT_MS, and write_child_dump().
Referenced by dttr_launcher_main().
|
extern |
Definition at line 21 of file launcher.c.
Referenced by dttr_launcher_main(), resolve_config_path(), and save_selected_path().