102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
crash.c File Reference
#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 ()

Function Documentation

◆ dttr_pcdogs_crash_symbol_provider()

◆ dttr_pcdogs_crash_symbols_clear()

void dttr_pcdogs_crash_symbols_clear ( )

◆ dttr_pcdogs_crash_symbols_register()

◆ ensure_pcdogs_dbghelp_module()

bool ensure_pcdogs_dbghelp_module ( HANDLE process,
HMODULE module,
DWORD image_size )
static

Definition at line 47 of file crash.c.

References DWORD, and NULL.

Referenced by dttr_pcdogs_crash_symbol_provider().

◆ pcdogs_crash_symbol_should_add()

bool pcdogs_crash_symbol_should_add ( bool resolved,
uintptr_t address,
const char * name,
uintptr_t module_base,
uint32_t image_size )
static

Definition at line 8 of file crash.c.

Referenced by dttr_pcdogs_crash_symbol_provider().

◆ pcdogs_module_image_size()

bool pcdogs_module_image_size ( HMODULE module,
DWORD * out_image_size )
static

Definition at line 27 of file crash.c.

References DWORD.

Referenced by dttr_pcdogs_crash_symbol_provider().