Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
WheatyExceptionReport Class Reference

#include <WheatyExceptionReport.h>

Public Member Functions

 WheatyExceptionReport ()
 ~WheatyExceptionReport ()

Static Public Member Functions

static void printTracesForAllThreads ()
static LONG WINAPI WheatyUnhandledExceptionFilter (PEXCEPTION_POINTERS pExceptionInfo)

Static Private Member Functions

static BOOL _GetProcessorName (TCHAR *sProcessorName, DWORD maxcount)
static BOOL _GetWindowsVersion (TCHAR *szVersion, DWORD cntMax)
static int __cdecl _tprintf (const TCHAR *format,...)
static char * DumpTypeIndex (char *, DWORD64, DWORD, unsigned, DWORD_PTR, bool &, char *)
static BOOL CALLBACK EnumerateSymbolsCallback (PSYMBOL_INFO, ULONG, PVOID)
static char * FormatOutputValue (char *pszCurrBuffer, BasicType basicType, DWORD64 length, PVOID pAddress)
static bool FormatSymbolValue (PSYMBOL_INFO, STACKFRAME *, char *pszBuffer, unsigned cbBuffer)
static void GenerateExceptionReport (PEXCEPTION_POINTERS pExceptionInfo)
static BasicType GetBasicType (DWORD typeIndex, DWORD64 modBase)
static LPTSTR GetExceptionString (DWORD dwCode)
static BOOL GetLogicalAddress (PVOID addr, PTSTR szModule, DWORD len, DWORD &section, DWORD_PTR &offset)
static void PrintSystemInfo ()
static void WriteStackDetails (PCONTEXT pContext, bool bWriteVariables, HANDLE pThreadHandle)

Static Private Attributes

static HANDLE m_hDumpFile
static HANDLE m_hProcess
static HANDLE m_hReportFile
static LPTOP_LEVEL_EXCEPTION_FILTER m_previousFilter
static TCHAR m_szDumpFileName [MAX_PATH]
static TCHAR m_szLogFileName [MAX_PATH]

Detailed Description

Definition at line 78 of file WheatyExceptionReport.h.

Constructor & Destructor Documentation

◆ WheatyExceptionReport()

WheatyExceptionReport::WheatyExceptionReport ( )

◆ ~WheatyExceptionReport()

WheatyExceptionReport::~WheatyExceptionReport ( )

Member Function Documentation

◆ _GetProcessorName()

BOOL WheatyExceptionReport::_GetProcessorName ( TCHAR * sProcessorName,
DWORD maxcount )
staticprivate

◆ _GetWindowsVersion()

BOOL WheatyExceptionReport::_GetWindowsVersion ( TCHAR * szVersion,
DWORD cntMax )
staticprivate

◆ _tprintf()

int __cdecl WheatyExceptionReport::_tprintf ( const TCHAR * format,
... )
staticprivate

◆ DumpTypeIndex()

char * WheatyExceptionReport::DumpTypeIndex ( char * ,
DWORD64 ,
DWORD ,
unsigned ,
DWORD_PTR ,
bool & ,
char *  )
staticprivate

◆ EnumerateSymbolsCallback()

BOOL CALLBACK WheatyExceptionReport::EnumerateSymbolsCallback ( PSYMBOL_INFO ,
ULONG ,
PVOID  )
staticprivate

◆ FormatOutputValue()

char * WheatyExceptionReport::FormatOutputValue ( char * pszCurrBuffer,
BasicType basicType,
DWORD64 length,
PVOID pAddress )
staticprivate

◆ FormatSymbolValue()

bool WheatyExceptionReport::FormatSymbolValue ( PSYMBOL_INFO ,
STACKFRAME * ,
char * pszBuffer,
unsigned cbBuffer )
staticprivate

◆ GenerateExceptionReport()

void WheatyExceptionReport::GenerateExceptionReport ( PEXCEPTION_POINTERS pExceptionInfo)
staticprivate

◆ GetBasicType()

BasicType WheatyExceptionReport::GetBasicType ( DWORD typeIndex,
DWORD64 modBase )
staticprivate

◆ GetExceptionString()

LPTSTR WheatyExceptionReport::GetExceptionString ( DWORD dwCode)
staticprivate

◆ GetLogicalAddress()

BOOL WheatyExceptionReport::GetLogicalAddress ( PVOID addr,
PTSTR szModule,
DWORD len,
DWORD & section,
DWORD_PTR & offset )
staticprivate

◆ PrintSystemInfo()

void WheatyExceptionReport::PrintSystemInfo ( )
staticprivate

◆ printTracesForAllThreads()

void WheatyExceptionReport::printTracesForAllThreads ( )
static

◆ WheatyUnhandledExceptionFilter()

LONG WINAPI WheatyExceptionReport::WheatyUnhandledExceptionFilter ( PEXCEPTION_POINTERS pExceptionInfo)
static

◆ WriteStackDetails()

void WheatyExceptionReport::WriteStackDetails ( PCONTEXT pContext,
bool bWriteVariables,
HANDLE pThreadHandle )
staticprivate

Member Data Documentation

◆ m_hDumpFile

HANDLE WheatyExceptionReport::m_hDumpFile
staticprivate

Definition at line 121 of file WheatyExceptionReport.h.

◆ m_hProcess

HANDLE WheatyExceptionReport::m_hProcess
staticprivate

Definition at line 122 of file WheatyExceptionReport.h.

◆ m_hReportFile

HANDLE WheatyExceptionReport::m_hReportFile
staticprivate

Definition at line 120 of file WheatyExceptionReport.h.

◆ m_previousFilter

LPTOP_LEVEL_EXCEPTION_FILTER WheatyExceptionReport::m_previousFilter
staticprivate

Definition at line 119 of file WheatyExceptionReport.h.

◆ m_szDumpFileName

TCHAR WheatyExceptionReport::m_szDumpFileName[MAX_PATH]
staticprivate

Definition at line 118 of file WheatyExceptionReport.h.

◆ m_szLogFileName

TCHAR WheatyExceptionReport::m_szLogFileName[MAX_PATH]
staticprivate

Definition at line 117 of file WheatyExceptionReport.h.


The documentation for this class was generated from the following file: