A journaller class that is used for walking the stack. More...
#include <journalstackwalker.h>
Public Member Functions | |
JournalStackWalker (Journaller *journal) | |
Constructor. More... | |
void | OnOutput (LPCSTR szText) override |
Handles the output from stack. More... | |
![]() | |
BOOL | LoadModules () |
void | ShowCallstack () |
BOOL | ShowCallstack (HANDLE hThread=GetCurrentThread(), const CONTEXT *context=NULL, PReadProcessMemoryRoutine readMemoryFunction=NULL, LPVOID pUserData=NULL) |
StackWalker () | |
StackWalker (DWORD dwProcessId, HANDLE hProcess) | |
StackWalker (int options=(int) OptionsAll, LPCSTR szSymPath=NULL, DWORD dwProcessId=GetCurrentProcessId(), HANDLE hProcess=GetCurrentProcess()) | |
virtual | ~StackWalker () |
virtual | ~StackWalker () |
Protected Attributes | |
Journaller * | m_journaller |
A pointer to journaller object. More... | |
![]() | |
DWORD | m_dwProcessId |
HANDLE | m_hProcess |
BOOL | m_modulesLoaded |
int | m_options |
StackWalkerInternal * | m_sw |
LPSTR | m_szSymPath |
friend | StackWalkerInternal |
Additional Inherited Members | |
![]() | |
typedef BOOL(__stdcall * | PReadProcessMemoryRoutine) (HANDLE hProcess, DWORD64 qwBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead, LPVOID pUserData) |
enum | StackWalkOptions { RetrieveNone = 0, RetrieveSymbol = 1, RetrieveLine = 2, RetrieveModuleInfo = 4, RetrieveFileVersion = 8, RetrieveVerbose = 0xF, SymBuildPath = 0x10, SymUseSymSrv = 0x20, SymAll = 0x30, OptionsAll = 0x3F } |
![]() | |
enum | { STACKWALK_MAX_NAMELEN = 1024 } |
enum | CallstackEntryType { firstEntry, nextEntry, lastEntry } |
![]() | |
virtual void | OnCallstackEntry (CallstackEntryType eType, CallstackEntry &entry) |
virtual void | OnDbgHelpErr (LPCSTR szFuncName, DWORD gle, DWORD64 addr) |
virtual void | OnLoadModule (LPCSTR img, LPCSTR mod, DWORD64 baseAddr, DWORD size, DWORD result, LPCSTR symType, LPCSTR pdbName, ULONGLONG fileVersion) |
virtual void | OnSymInit (LPCSTR szSearchPath, DWORD symOptions, LPCSTR szUserName) |
StackWalker & | operator= (StackWalker const &)=delete |
StackWalker (StackWalker const &)=delete | |
![]() | |
static BOOL __stdcall | myReadProcMem (HANDLE hProcess, DWORD64 qwBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead) |
A journaller class that is used for walking the stack.
Definition at line 78 of file journalstackwalker.h.
|
inline |
Constructor.
Definition at line 83 of file journalstackwalker.h.
|
inlineoverridevirtual |
Handles the output from stack.
szText | The string that contains stack output |
Reimplemented from StackWalker.
Definition at line 92 of file journalstackwalker.h.
|
protected |
A pointer to journaller object.
Definition at line 99 of file journalstackwalker.h.