|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include "sidecar_private.h"#include <dbghelp.h>#include <dttr_crashdump.h>#include <dttr_pcdogs.h>Go to the source code of this file.
Functions | |
| static bool | pcdogs_crash_symbol_should_add (bool resolved, uintptr_t address, const char *name, uintptr_t module_base, uint32_t image_size) |
| static bool | pcdogs_module_image_size (HMODULE module, DWORD *out_image_size) |
| static bool | ensure_pcdogs_dbghelp_module (HANDLE process, HMODULE module, DWORD image_size) |
| static bool | dttr_pcdogs_crash_symbol_provider (HANDLE process, void *context) |
| void | dttr_pcdogs_crash_symbols_register (const DTTR_Core_Context *runtime) |
| void | dttr_pcdogs_crash_symbols_clear () |
|
static |
Definition at line 78 of file crash.c.
References DTTR_PCDOGS_T_Symbol_Function::address, DTTR_PCDOGS_SymbolFunctionAt(), DTTR_PCDOGS_SymbolFunctionCount(), DTTR_PCDOGS_SymbolFunctionNameAt(), DWORD, ensure_pcdogs_dbghelp_module(), DTTR_Core_Context::game_module, pcdogs_crash_symbol_should_add(), pcdogs_module_image_size(), and DTTR_PCDOGS_T_Symbol_Function::resolved.
Referenced by dttr_pcdogs_crash_symbols_register().
| void dttr_pcdogs_crash_symbols_clear | ( | ) |
Definition at line 126 of file crash.c.
References DTTR_CrashDump_ClearSymbolProvider().
Referenced by cleanup_runtime(), dttr_pcdogs_crash_symbols_register(), and DTTR_STORAGE_SLOT().
| void dttr_pcdogs_crash_symbols_register | ( | const DTTR_Core_Context * | runtime | ) |
Definition at line 117 of file crash.c.
References DTTR_CrashDump_SetSymbolProvider(), dttr_pcdogs_crash_symbol_provider(), dttr_pcdogs_crash_symbols_clear(), and DTTR_Core_Context::game_module.
Referenced by DTTR_Hook_WinMainCallback(), and DTTR_STORAGE_SLOT().
|
static |
Definition at line 47 of file crash.c.
Referenced by dttr_pcdogs_crash_symbol_provider().
|
static |
Definition at line 8 of file crash.c.
Referenced by dttr_pcdogs_crash_symbol_provider().
|
static |
Definition at line 27 of file crash.c.
References DWORD.
Referenced by dttr_pcdogs_crash_symbol_provider().