2022-07-10 15:29:10 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include <dbghelp.h>
|
|
|
|
|
|
|
|
void CreateMiniDump(HANDLE process_handle, DWORD process_id, MINIDUMP_EXCEPTION_INFORMATION* info,
|
|
|
|
EXCEPTION_POINTERS* pep);
|
|
|
|
|
2022-07-13 16:14:48 +00:00
|
|
|
void DumpFromDebugEvent(DEBUG_EVENT& deb_ev, PROCESS_INFORMATION& pi);
|
2022-07-10 15:29:10 +00:00
|
|
|
bool SpawnDebuggee(const char* arg0, PROCESS_INFORMATION& pi);
|
|
|
|
void DebugDebuggee(PROCESS_INFORMATION& pi);
|
|
|
|
const char* ExceptionName(DWORD exception);
|