Planeshift
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

google_breakpad::MinidumpGenerator Class Reference

#include <minidump_generator.h>

List of all members.

Public Member Functions

 MinidumpGenerator ()
 MinidumpGenerator (mach_port_t crashing_task, mach_port_t handler_thread)
 MinidumpGenerator (const std::wstring &dump_path)
void SetExceptionInformation (int type, int code, int subcode, mach_port_t thread_name)
void SetTaskContext (ucontext_t *task_context)
bool Write (const char *path)
bool WriteMinidump (HANDLE process_handle, DWORD process_id, DWORD thread_id, DWORD requesting_thread_id, EXCEPTION_POINTERS *exception_pointers, MDRawAssertionInfo *assert_info, MINIDUMP_TYPE dump_type, bool is_client_pointers, std::wstring *dump_path)
bool WriteMinidump (HANDLE process_handle, DWORD process_id, DWORD thread_id, DWORD requesting_thread_id, EXCEPTION_POINTERS *exception_pointers, MDRawAssertionInfo *assert_info, MINIDUMP_TYPE dump_type, bool is_client_pointers, HANDLE dump_file, HANDLE full_dump_file)
bool WriteMinidump (HANDLE process_handle, DWORD process_id, DWORD thread_id, DWORD requesting_thread_id, EXCEPTION_POINTERS *exception_pointers, MDRawAssertionInfo *assert_info, MINIDUMP_TYPE dump_type, bool is_client_pointers, std::wstring *dump_path, std::wstring *full_dump_path)
 ~MinidumpGenerator ()
virtual ~MinidumpGenerator ()

Static Public Member Functions

static void GatherSystemInformation ()
static string UniqueNameInDirectory (const string &dir, string *unique_name)

Protected Member Functions

virtual bool WriteExceptionStream (MDRawDirectory *exception_stream)
virtual bool WriteThreadStream (mach_port_t thread_id, MDRawThread *thread)

Protected Attributes

wasteful_vector
< MDMemoryDescriptor
memory_blocks_
MinidumpFileWriter writer_

Detailed Description

Definition at line 81 of file minidump_generator.h.


Constructor & Destructor Documentation

google_breakpad::MinidumpGenerator::MinidumpGenerator ( )
google_breakpad::MinidumpGenerator::MinidumpGenerator ( mach_port_t  crashing_task,
mach_port_t  handler_thread 
)
virtual google_breakpad::MinidumpGenerator::~MinidumpGenerator ( ) [virtual]
google_breakpad::MinidumpGenerator::MinidumpGenerator ( const std::wstring &  dump_path) [explicit]
google_breakpad::MinidumpGenerator::~MinidumpGenerator ( )

Member Function Documentation

static void google_breakpad::MinidumpGenerator::GatherSystemInformation ( ) [static]
void google_breakpad::MinidumpGenerator::SetExceptionInformation ( int  type,
int  code,
int  subcode,
mach_port_t  thread_name 
) [inline]

Definition at line 98 of file minidump_generator.h.

void google_breakpad::MinidumpGenerator::SetTaskContext ( ucontext_t *  task_context)
static string google_breakpad::MinidumpGenerator::UniqueNameInDirectory ( const string &  dir,
string *  unique_name 
) [static]
bool google_breakpad::MinidumpGenerator::Write ( const char *  path)
virtual bool google_breakpad::MinidumpGenerator::WriteExceptionStream ( MDRawDirectory exception_stream) [protected, virtual]
bool google_breakpad::MinidumpGenerator::WriteMinidump ( HANDLE  process_handle,
DWORD  process_id,
DWORD  thread_id,
DWORD  requesting_thread_id,
EXCEPTION_POINTERS *  exception_pointers,
MDRawAssertionInfo assert_info,
MINIDUMP_TYPE  dump_type,
bool  is_client_pointers,
HANDLE  dump_file,
HANDLE  full_dump_file 
)
bool google_breakpad::MinidumpGenerator::WriteMinidump ( HANDLE  process_handle,
DWORD  process_id,
DWORD  thread_id,
DWORD  requesting_thread_id,
EXCEPTION_POINTERS *  exception_pointers,
MDRawAssertionInfo assert_info,
MINIDUMP_TYPE  dump_type,
bool  is_client_pointers,
std::wstring *  dump_path,
std::wstring *  full_dump_path 
)
bool google_breakpad::MinidumpGenerator::WriteMinidump ( HANDLE  process_handle,
DWORD  process_id,
DWORD  thread_id,
DWORD  requesting_thread_id,
EXCEPTION_POINTERS *  exception_pointers,
MDRawAssertionInfo assert_info,
MINIDUMP_TYPE  dump_type,
bool  is_client_pointers,
std::wstring *  dump_path 
)
virtual bool google_breakpad::MinidumpGenerator::WriteThreadStream ( mach_port_t  thread_id,
MDRawThread thread 
) [protected, virtual]

Member Data Documentation

Definition at line 222 of file minidump_generator.h.

Definition at line 188 of file minidump_generator.h.


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