ReactOS 0.4.16-dev-297-gc569aee
drwtsn32.h
Go to the documentation of this file.
1/*
2 * PROJECT: Dr. Watson crash reporter
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: Project header
5 * COPYRIGHT: Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
6 */
7
8#pragma once
9
10
12{
13 std::string ModuleName;
17
18
19 ModuleData(void* addr);
21};
22
24{
27
29
30 void Update();
31};
32
33typedef std::vector<ModuleData> ModuleList;
34typedef std::map<DWORD, ThreadData> ThreadMap;
35
37{
38public:
39 std::wstring ProcessPath;
40 std::wstring ProcessName;
49
50 DumpData();
51};
52
53#define NEWLINE "\r\n"
54
55/* main.cpp */
56void xfprintf(FILE* stream, const char *fmt, ...);
57
58/* drwtsn32.cpp */
60
61/* sysinfo.cpp */
62void PrintSystemInfo(FILE* output, DumpData& data);
63
64/* stacktrace.cpp */
68
@ Update
Definition: registry.c:565
static HANDLE thread
Definition: service.c:33
std::wstring ProcessPath
Definition: drwtsn32.h:39
DWORD ThreadID
Definition: drwtsn32.h:42
ModuleList Modules
Definition: drwtsn32.h:44
std::wstring ProcessName
Definition: drwtsn32.h:40
EXCEPTION_DEBUG_INFO ExceptionInfo
Definition: drwtsn32.h:46
bool FirstBPHit
Definition: drwtsn32.h:48
HANDLE Event
Definition: drwtsn32.h:47
DWORD ProcessID
Definition: drwtsn32.h:41
ThreadMap Threads
Definition: drwtsn32.h:45
DumpData()
Definition: drwtsn32.cpp:45
HANDLE ProcessHandle
Definition: drwtsn32.h:43
#define NULL
Definition: types.h:112
void PrintStackBacktrace(FILE *output, DumpData &data, ThreadData &thread)
Definition: stacktrace.cpp:36
void BeginStackBacktrace(DumpData &data)
Definition: stacktrace.cpp:14
std::vector< ModuleData > ModuleList
Definition: drwtsn32.h:33
std::map< DWORD, ThreadData > ThreadMap
Definition: drwtsn32.h:34
void xfprintf(FILE *stream, const char *fmt,...)
Definition: main.cpp:34
void PrintSystemInfo(FILE *output, DumpData &data)
Definition: sysinfo.cpp:56
void EndStackBacktrace(DumpData &data)
Definition: stacktrace.cpp:22
bool UpdateFromEvent(DEBUG_EVENT &evt, DumpData &data)
Definition: drwtsn32.cpp:56
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum const GLvoid * addr
Definition: glext.h:9621
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
DWORD Size
Definition: drwtsn32.h:15
bool Unloaded
Definition: drwtsn32.h:16
std::string ModuleName
Definition: drwtsn32.h:13
void * BaseAddress
Definition: drwtsn32.h:14
HANDLE Handle
Definition: drwtsn32.h:25
CONTEXT Context
Definition: drwtsn32.h:26
void Update()
Definition: drwtsn32.cpp:39
Definition: dsound.c:943
Definition: parse.h:23