Crashpad
 
Loading...
Searching...
No Matches
crashpad::WerRegistration Struct Reference

Context to be passed to WerRegisterRuntimeExceptionModule(). More...

#include "util/win/registration_protocol_win_structs.h"

Public Types

enum  
 The expected value of version. This should be changed whenever this struct is modified incompatibly.
 

Public Attributes

int version
 Version field to detect skew between target process and helper. Should be set to kWerRegistrationVersion.
 
HANDLE dump_without_crashing
 Used by DumpWithoutCrashing and the WER module to initiate a dump. These handles are leaked in the client process.
 
HANDLE dump_completed
 Used by DumpWithoutCrashing to signal that a dump has been taken. These handles are leaked in the client process.
 
bool in_dump_without_crashing
 Set just before and cleared just after the events above are triggered or signalled in a normal DumpWithoutCrashing call. When true the WER handler should not set the exception structures until after dump_completed has been signalled.
 
void * crashpad_exception_info
 Address of g_non_crash_exception_information.
 
EXCEPTION_POINTERS pointers
 These will point into the exception and context members in this structure.
 
EXCEPTION_RECORD exception
 The exception provided by WerFault.
 
CONTEXT context
 The context provided by WerFault.
 

Detailed Description

Context to be passed to WerRegisterRuntimeExceptionModule().

Used by the crashpad client, and the WER exception DLL.

Member Data Documentation

◆ context

CONTEXT crashpad::WerRegistration::context

The context provided by WerFault.

Filled in by the helper DLL.

◆ crashpad_exception_info

void* crashpad::WerRegistration::crashpad_exception_info

Address of g_non_crash_exception_information.

Provided by the target process. Just before dumping we will point (crashpad_exception_info).exception_pointers at pointers. As WerFault loads the helper with the same bitness as the client this can be void.

◆ exception

EXCEPTION_RECORD crashpad::WerRegistration::exception

The exception provided by WerFault.

Filled in by the helper DLL.

◆ pointers

EXCEPTION_POINTERS crashpad::WerRegistration::pointers

These will point into the exception and context members in this structure.

Filled in by the helper DLL.


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