diff --git a/doc/generated/doxygen/annotated.html b/doc/generated/doxygen/annotated.html index 65602533..3e987072 100644 --- a/doc/generated/doxygen/annotated.html +++ b/doc/generated/doxygen/annotated.html @@ -93,17 +93,18 @@ $(function() {  CModuleSnapshotWinA ModuleSnapshot of a code module (binary image) loaded into a running (or crashed) process on a Windows system  CPipeServiceContextContext information for the named pipe handler threads  CReadExactlyInternalThe internal implementation of ReadFileExactly() and its wrappers - CScopedFileHANDLECloseTraits - CScopedKernelHANDLECloseTraits - CScopedLockedFileHandleTraits - CSystemSnapshotMacA SystemSnapshot of the running system, when the system runs macOS - CSystemSnapshotWinA SystemSnapshot of the running system, when the system runs Windows - CThreadSnapshotMacA ThreadSnapshot of a thread in a running (or crashed) process on a macOS system - CThreadSnapshotWinA ThreadSnapshot of a thread in a running (or crashed) process on a Windows system - CUniversalMachExcServerImpl - CUserDataMinidumpStreamListEntryA linked list of blocks representing custom streams in the minidump, with addresses (and size) stored as uint64_t to simplify reading from the handler process - CWorkerThreadImpl - CWriteAllInternalThe internal implementation of WriteFile() and its wrappers + CScopedDIRCloser + CScopedFileHANDLECloseTraits + CScopedKernelHANDLECloseTraits + CScopedLockedFileHandleTraits + CSystemSnapshotMacA SystemSnapshot of the running system, when the system runs macOS + CSystemSnapshotWinA SystemSnapshot of the running system, when the system runs Windows + CThreadSnapshotMacA ThreadSnapshot of a thread in a running (or crashed) process on a macOS system + CThreadSnapshotWinA ThreadSnapshot of a thread in a running (or crashed) process on a Windows system + CUniversalMachExcServerImpl + CUserDataMinidumpStreamListEntryA linked list of blocks representing custom streams in the minidump, with addresses (and size) stored as uint64_t to simplify reading from the handler process + CWorkerThreadImpl + CWriteAllInternalThe internal implementation of WriteFile() and its wrappers  Nprocess_types  Ninternal  CTraits32 @@ -140,25 +141,27 @@ $(function() {  Ninternal  CMachMultiprocessInfo  CMultiprocessInfo - CChildLauncherCreates a child process for testing. Uses gtest ASSERT_* to indicate failure. The child's output is passed through a pipe and is available via stdout_read_handle(), and the child's input is attached to a second pipe available via stdin_write_handle() - CMachMultiprocessManages a Mach-aware multiprocess test - CMinidumpWritableTraitsA traits class defining whether a minidump object type is required to appear only as a fixed-size object or if it is variable-sized - CMultiprocessManages a multiprocess test - CMultiprocessExecManages an exec()-based multiprocess test - CPathsFunctions to obtain paths from within tests + CBufferExtensionStreamDataSourceA user extension data source that wraps a buffer + CChildLauncherCreates a child process for testing. Uses gtest ASSERT_* to indicate failure. The child's output is passed through a pipe and is available via stdout_read_handle(), and the child's input is attached to a second pipe available via stdin_write_handle() + CMachMultiprocessManages a Mach-aware multiprocess test + CMinidumpWritableTraitsA traits class defining whether a minidump object type is required to appear only as a fixed-size object or if it is variable-sized + CMultiprocessManages a multiprocess test + CMultiprocessExecManages an exec()-based multiprocess test  CScopedTempDirA RAII object that creates a temporary directory for testing  CTestExceptionSnapshotA test ExceptionSnapshot that can carry arbitrary data for testing purposes  CTestMemoryMapRegionSnapshotA test MemoryMapRegionSnapshot that can carry arbitrary data for testing purposes  CTestMemorySnapshotA test MemorySnapshot that can carry arbitrary data for testing purposes  CTestMinidumpMemoryWriterA SnapshotMinidumpMemoryWriter implementation used for testing  CTestModuleSnapshotA test ModuleSnapshot that can carry arbitrary data for testing purposes - CTestProcessSnapshotA test ProcessSnapshot that can carry arbitrary data for testing purposes - CTestSystemSnapshotA test SystemSnapshot that can carry arbitrary data for testing purposes - CTestThreadSnapshotA test ThreadSnapshot that can carry arbitrary data for testing purposes - CTestUInt32MinidumpWritableAn internal::MinidumpWritable that carries a uint32_t for testing - CWinChildProcessFacilitates the launching of child processes from unit tests - CHandlesGroups handles used to communicate with, observe, and manage a child process - CWinMultiprocessManages a multiprocess test on Windows + CTestPathsFunctions to obtain paths from within tests + CTestProcessSnapshotA test ProcessSnapshot that can carry arbitrary data for testing purposes + CTestSystemSnapshotA test SystemSnapshot that can carry arbitrary data for testing purposes + CTestThreadSnapshotA test ThreadSnapshot that can carry arbitrary data for testing purposes + CTestUInt32MinidumpWritableAn internal::MinidumpWritable that carries a uint32_t for testing + CWinChildProcessFacilitates the launching of child processes from unit tests + CHandlesGroups handles used to communicate with, observe, and manage a child process + CWinMultiprocessManages a multiprocess test on Windows + CWinMultiprocessWithTempDirManages a multiprocess test on Windows with a parent-created temporary directory  CAgePruneConditionA PruneCondition that deletes reports older than the specified number days  CAlignedAllocatorA standard allocator that aligns its allocations as requested, suitable for use as an allocator in standard containers  Crebind @@ -256,76 +259,82 @@ $(function() {  CMinidumpThreadWriterThe writer for a MINIDUMP_THREAD object in a minidump file  CMinidumpUnloadedModuleListWriterThe writer for a MINIDUMP_UNLOADED_MODULE_LIST stream in a minidump file, containing a list of MINIDUMP_UNLOADED_MODULE objects  CMinidumpUnloadedModuleWriterThe writer for a MINIDUMP_UNLOADED_MODULE object in a minidump file - CMinidumpUserExtensionStreamDataSourceDescribes a user extension data stream in a minidump + CMinidumpUserExtensionStreamDataSourceDescribes a user extension data stream in a minidump + CDelegateAn interface implemented by readers of MinidumpUserExtensionStreamDataSource  CMinidumpUserStreamWriterThe writer for a MINIDUMP_USER_STREAM in a minidump file - CBufferContentsWriter - CContentsWriter + CContentsWriter + CExtensionStreamContentsWriter  CSnapshotContentsWriter  CMinidumpUTF8StringA variable-length UTF-8-encoded string carried within a minidump file  CModuleSnapshotAn abstract interface to a snapshot representing a code module (binary image) loaded into a snapshot process  CNotifyServerA server interface for the notify Mach subsystem  CDefaultInterfaceA concrete implementation of Interface that provides a default behavior for all notify routines  CInterfaceAn interface that the different request messages that are a part of the notify Mach subsystem can be dispatched to - CPEImageAnnotationsReaderA reader of annotations stored in a PE image mapped into another process - CPEImageReaderA reader for PE images mapped into another process - CPEImageResourceReaderA reader for resources stored in PE images mapped into another process - CPointerVectorAllows a std::vector to “own” pointer elements stored in it - CProcessInfoGathers information about a process given its HANDLE. This consists primarily of information stored in the Process Environment Block - CHandle - CModuleContains information about a module loaded into a process - CProcessReaderAccesses information about another process, identified by a Mach task - CModuleContains information about a module loaded into a process - CThreadContains information about a thread that belongs to a task (process) - CProcessReaderWinAccesses information about another process, identified by a HANDLE - CThreadContains information about a thread that belongs to a process - CProcessSnapshotAn abstract interface to a snapshot representing the state of a process - CProcessSnapshotMacA ProcessSnapshot of a running (or crashed) process running on a macOS system - CProcessSnapshotMinidumpA ProcessSnapshot based on a minidump file - CProcessSnapshotWinA ProcessSnapshot of a running (or crashed) process running on a Windows system - CProcessSubrangeReaderA wrapper for ProcessReaderWin that only allows a specific subrange to be read from - CPruneConditionAn abstract base class for evaluating crash reports for deletion - CPruneCrashReportThreadA thread that periodically prunes crash reports from the database using the specified condition - CRegistrationRequestA client registration request - CRegistrationResponseA client registration response - CRTL_UNLOAD_EVENT_TRACE - CScopedForbidReturnAsserts that a scope must not be exited while unsafe - CScopedProcessSuspendManages the suspension of another process - CScopedTaskSuspendManages the suspension of another task - CSemaphoreAn anonymous in-process counting sempahore - CServerToClientMessageThe response sent back to the client via SendToCrashHandlerServer() - CSessionEndWatcherCreates a hidden window and waits for a WM_ENDSESSION message, indicating that the session is ending and the application should terminate - CSettingsAn interface for accessing and modifying the settings of a CrashReportDatabase - CData - CShutdownRequestA message only sent to the server by itself to trigger shutdown - CSignalsUtilities for handling POSIX signals - COldActionsA group of struct sigaction structures corresponding to a set of signals’ previous actions, addressable by signal number - CSnapshotMinidumpMemoryWriterThe base class for writers of memory ranges pointed to by MINIDUMP_MEMORY_DESCRIPTOR objects in a minidump file - CStringFileA file reader and writer backed by a virtual file, as opposed to a file on disk or other operating system file descriptor-based file - CStringHTTPBodyStreamAn implementation of HTTPBodyStream that turns a fixed string into a stream - CSystemSnapshotAn abstract interface to a snapshot representing the state of a system, comprising an operating system, CPU architecture, and various other characteristics - CTaskMemoryAccesses the memory of another Mach task - CMappedMemoryA memory region mapped from another Mach task - CThreadBasic thread abstraction. Users should derive from this class and implement ThreadMain() - CThreadLogMessagesCaptures log messages produced on the current thread during an object’s lifetime - CThreadSnapshotAn abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot process - CToolSupportCommon functions used by command line tools - CTSimpleAddressRangeBagA bag implementation using a fixed amount of storage, so that it does not perform any dynamic allocations for its operations - CEntryA single entry in the bag - CIteratorAn iterator to traverse all of the active entries in a TSimpleAddressRangeBag - CTSimpleStringDictionaryA map/dictionary collection implementation using a fixed amount of storage, so that it does not perform any dynamic allocations for its operations - CEntryA single entry in the map - CIteratorAn iterator to traverse all of the active entries in a TSimpleStringDictionary - Cuint128_structStores a 128-bit quantity - CUniversalMachExcServerA server interface for the exc and mach_exc Mach subsystems, unified to handle exceptions delivered to either subsystem, and simplified to have only a single interface method needing implementation - CInterfaceAn interface that the different request messages that are a part of the exc and mach_exc Mach subsystems can be dispatched to - CUnloadedModuleSnapshotInformation about an unloaded module that was previously loaded into a snapshot process - CUserMinidumpStreamInformation describing a custom user data stream in a minidump - CUUIDA universally unique identifier (UUID) - CWeakFileHandleFileReaderA file reader backed by a FileHandle - CWeakFileHandleFileWriterA file writer backed by a FileHandle - CWorkerThreadA WorkerThread executes its Delegate's DoWork method repeatedly on a dedicated thread at a set time interval - CDelegateAn interface for doing work on a WorkerThread - CWritableIoVecA version of iovec with a const iov_base field + CPathsFunctions to obtain paths + CPEImageAnnotationsReaderA reader of annotations stored in a PE image mapped into another process + CPEImageReaderA reader for PE images mapped into another process + CPEImageResourceReaderA reader for resources stored in PE images mapped into another process + CPointerVectorAllows a std::vector to “own” pointer elements stored in it + CProcessInfoGathers information about a process given its HANDLE. This consists primarily of information stored in the Process Environment Block + CHandle + CModuleContains information about a module loaded into a process + CProcessMemoryAccesses the memory of another process + CProcessReaderAccesses information about another process, identified by a Mach task + CModuleContains information about a module loaded into a process + CThreadContains information about a thread that belongs to a task (process) + CProcessReaderWinAccesses information about another process, identified by a HANDLE + CThreadContains information about a thread that belongs to a process + CProcessSnapshotAn abstract interface to a snapshot representing the state of a process + CProcessSnapshotMacA ProcessSnapshot of a running (or crashed) process running on a macOS system + CProcessSnapshotMinidumpA ProcessSnapshot based on a minidump file + CProcessSnapshotWinA ProcessSnapshot of a running (or crashed) process running on a Windows system + CProcessSubrangeReaderA wrapper for ProcessReaderWin that only allows a specific subrange to be read from + CPruneConditionAn abstract base class for evaluating crash reports for deletion + CPruneCrashReportThreadA thread that periodically prunes crash reports from the database using the specified condition + CRegistrationRequestA client registration request + CRegistrationResponseA client registration response + CRTL_UNLOAD_EVENT_TRACE + CScopedForbidReturnAsserts that a scope must not be exited while unsafe + CScopedMmapMaintains a memory-mapped region created by mmap() + CScopedProcessSuspendManages the suspension of another process + CScopedPtraceAttachMaintains a ptrace() attachment to a process + CScopedTaskSuspendManages the suspension of another task + CSemaphoreAn anonymous in-process counting sempahore + CServerToClientMessageThe response sent back to the client via SendToCrashHandlerServer() + CSessionEndWatcherCreates a hidden window and waits for a WM_ENDSESSION message, indicating that the session is ending and the application should terminate + CSettingsAn interface for accessing and modifying the settings of a CrashReportDatabase + CData + CShutdownRequestA message only sent to the server by itself to trigger shutdown + CSignalsUtilities for handling POSIX signals + COldActionsA group of struct sigaction structures corresponding to a set of signals’ previous actions, addressable by signal number + CSnapshotMinidumpMemoryWriterThe base class for writers of memory ranges pointed to by MINIDUMP_MEMORY_DESCRIPTOR objects in a minidump file + CStringFileA file reader and writer backed by a virtual file, as opposed to a file on disk or other operating system file descriptor-based file + CStringHTTPBodyStreamAn implementation of HTTPBodyStream that turns a fixed string into a stream + CSystemSnapshotAn abstract interface to a snapshot representing the state of a system, comprising an operating system, CPU architecture, and various other characteristics + CTaskMemoryAccesses the memory of another Mach task + CMappedMemoryA memory region mapped from another Mach task + CThreadBasic thread abstraction. Users should derive from this class and implement ThreadMain() + CThreadLogMessagesCaptures log messages produced on the current thread during an object’s lifetime + CThreadSnapshotAn abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot process + CToolSupportCommon functions used by command line tools + CTSimpleAddressRangeBagA bag implementation using a fixed amount of storage, so that it does not perform any dynamic allocations for its operations + CEntryA single entry in the bag + CIteratorAn iterator to traverse all of the active entries in a TSimpleAddressRangeBag + CTSimpleStringDictionaryA map/dictionary collection implementation using a fixed amount of storage, so that it does not perform any dynamic allocations for its operations + CEntryA single entry in the map + CIteratorAn iterator to traverse all of the active entries in a TSimpleStringDictionary + Cuint128_structStores a 128-bit quantity + CUniversalMachExcServerA server interface for the exc and mach_exc Mach subsystems, unified to handle exceptions delivered to either subsystem, and simplified to have only a single interface method needing implementation + CInterfaceAn interface that the different request messages that are a part of the exc and mach_exc Mach subsystems can be dispatched to + CUnloadedModuleSnapshotInformation about an unloaded module that was previously loaded into a snapshot process + CUserMinidumpStreamInformation describing a custom user data stream in a minidump + CUserStreamDataSourceExtensibility interface for embedders who wish to add custom streams to minidumps + CUUIDA universally unique identifier (UUID) + CWeakFileHandleFileReaderA file reader backed by a FileHandle + CWeakFileHandleFileWriterA file writer backed by a FileHandle + CWorkerThreadA WorkerThread executes its Delegate's DoWork method repeatedly on a dedicated thread at a set time interval + CDelegateAn interface for doing work on a WorkerThread + CWritableIoVecA version of iovec with a const iov_base field  Nlogging  CNtstatusLogMessage  CCPU_INFORMATIONInformation about the CPU (or CPUs) that ran the process that the minidump file contains a snapshot of diff --git a/doc/generated/doxygen/classcrashpad_1_1CrashReportDatabase.html b/doc/generated/doxygen/classcrashpad_1_1CrashReportDatabase.html index 1e1dd97f..6b34f0e9 100644 --- a/doc/generated/doxygen/classcrashpad_1_1CrashReportDatabase.html +++ b/doc/generated/doxygen/classcrashpad_1_1CrashReportDatabase.html @@ -172,6 +172,7 @@ Static Public Member Functions EnumeratorkNoError 

No error occurred.

kReportNotFound 

The report that was requested could not be located.

+

This may occur when the report is present in the database but not in a state appropriate for the requested operation, for example, if GetReportForUploading() is called to obtain report that’s already in the completed state.

kFileSystemError 

An error occured while performing a file operation on a crash report.

A database is responsible for managing both the metadata about a report and the actual crash report itself. This error is returned when an error occurred when managing the report file. Additional information will be logged.

diff --git a/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler-members.html b/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler-members.html index c691549a..65ebaaa2 100644 --- a/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler-members.html +++ b/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler-members.html @@ -71,8 +71,8 @@ $(function() {

This is the complete list of members for crashpad::CrashReportExceptionHandler, including all inherited members.

- - + + diff --git a/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler.html b/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler.html index 8b58317b..e538db22 100644 --- a/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler.html +++ b/doc/generated/doxygen/classcrashpad_1_1CrashReportExceptionHandler.html @@ -88,16 +88,16 @@ Inheritance diagram for crashpad::CrashReportExceptionHandler:
CatchMachException(exception_behavior_t behavior, exception_handler_t exception_port, thread_t thread, task_t task, exception_type_t exception, const mach_exception_data_type_t *code, mach_msg_type_number_t code_count, thread_state_flavor_t *flavor, ConstThreadState old_state, mach_msg_type_number_t old_state_count, thread_state_t new_state, mach_msg_type_number_t *new_state_count, const mach_msg_trailer_t *trailer, bool *destroy_complex_request) overridecrashpad::CrashReportExceptionHandlervirtual
CrashReportExceptionHandler(CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations)crashpad::CrashReportExceptionHandler
CrashReportExceptionHandler(CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations)crashpad::CrashReportExceptionHandler
CrashReportExceptionHandler(CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations, const UserStreamDataSources *user_stream_data_sources)crashpad::CrashReportExceptionHandler
CrashReportExceptionHandler(CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations, const UserStreamDataSources *user_stream_data_sources)crashpad::CrashReportExceptionHandler
ExceptionHandlerServerException(HANDLE process, WinVMAddress exception_information_address, WinVMAddress debug_critical_section_address) overridecrashpad::CrashReportExceptionHandlervirtual
ExceptionHandlerServerStarted() overridecrashpad::CrashReportExceptionHandlervirtual
~CrashReportExceptionHandler() (defined in crashpad::CrashReportExceptionHandler)crashpad::CrashReportExceptionHandler
- - - + + + - - - + + + @@ -109,8 +109,8 @@ void  - + + + + + + + @@ -147,14 +153,15 @@ void  +

Public Member Functions

 CrashReportExceptionHandler (CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations)
 Creates a new object that will store crash reports in database. More...
 
 CrashReportExceptionHandler (CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations, const UserStreamDataSources *user_stream_data_sources)
 Creates a new object that will store crash reports in database. More...
 
kern_return_t CatchMachException (exception_behavior_t behavior, exception_handler_t exception_port, thread_t thread, task_t task, exception_type_t exception, const mach_exception_data_type_t *code, mach_msg_type_number_t code_count, thread_state_flavor_t *flavor, ConstThreadState old_state, mach_msg_type_number_t old_state_count, thread_state_t new_state, mach_msg_type_number_t *new_state_count, const mach_msg_trailer_t *trailer, bool *destroy_complex_request) override
 Processes an exception message by writing a crash report to this object’s CrashReportDatabase.
 
 CrashReportExceptionHandler (CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations)
 Creates a new object that will store crash reports in database. More...
 
 CrashReportExceptionHandler (CrashReportDatabase *database, CrashReportUploadThread *upload_thread, const std::map< std::string, std::string > *process_annotations, const UserStreamDataSources *user_stream_data_sources)
 Creates a new object that will store crash reports in database. More...
 
void ExceptionHandlerServerStarted () override
 Processes an exception message by writing a crash report to this object's CrashReportDatabase.

Detailed Description

An exception handler that writes crash reports for exception messages to a CrashReportDatabase.

Constructor & Destructor Documentation

- -

◆ CrashReportExceptionHandler() [1/2]

+ +

◆ CrashReportExceptionHandler() [1/2]

@@ -131,7 +131,13 @@ void 
const std::map< std::string, std::string > * process_annotations process_annotations,
const UserStreamDataSources * user_stream_data_sources 
[in]databaseThe database to store crash reports in. Weak.
[in]upload_threadThe upload thread to notify when a new crash report is written into database.
[in]process_annotationsA map of annotations to insert as process-level annotations into each crash report that is written. Do not confuse this with module-level annotations, which are under the control of the crashing process, and are used to implement Chrome’s “crash keys.” Process-level annotations are those that are beyond the control of the crashing process, which must reliably be set even if the process crashes before it’s able to establish its own annotations. To interoperate with Breakpad servers, the recommended practice is to specify values for the "prod" and "ver" keys as process annotations.
[in]user_stream_data_sourcesData sources to be used to extend crash reports. For each crash report that is written, the data sources are called in turn. These data sources may contribute additional minidump streams. nullptr if not required.
- -

◆ CrashReportExceptionHandler() [2/2]

+ +

◆ CrashReportExceptionHandler() [2/2]

@@ -175,7 +182,13 @@ void  const std::map< std::string, std::string > *  - process_annotations  + process_annotations, + + + + + const UserStreamDataSources *  + user_stream_data_sources  @@ -191,6 +204,7 @@ void [in]databaseThe database to store crash reports in. Weak. [in]upload_threadThe upload thread to notify when a new crash report is written into database. [in]process_annotationsA map of annotations to insert as process-level annotations into each crash report that is written. Do not confuse this with module-level annotations, which are under the control of the crashing process, and are used to implement Chrome's "crash keys." Process-level annotations are those that are beyond the control of the crashing process, which must reliably be set even if the process crashes before it's able to establish its own annotations. To interoperate with Breakpad servers, the recommended practice is to specify values for the "prod" and "ver" keys as process annotations. + [in]user_stream_data_sourcesData sources to be used to extend crash reports. For each crash report that is written, the data sources are called in turn. These data sources may contribute additional minidump streams. nullptr if not required. diff --git a/doc/generated/doxygen/classcrashpad_1_1MinidumpUserExtensionStreamDataSource-members.html b/doc/generated/doxygen/classcrashpad_1_1MinidumpUserExtensionStreamDataSource-members.html index 73f3f765..71135417 100644 --- a/doc/generated/doxygen/classcrashpad_1_1MinidumpUserExtensionStreamDataSource-members.html +++ b/doc/generated/doxygen/classcrashpad_1_1MinidumpUserExtensionStreamDataSource-members.html @@ -70,11 +70,11 @@ $(function() {

This is the complete list of members for crashpad::MinidumpUserExtensionStreamDataSource, including all inherited members.

- - - - - + + + + +
buffer() const (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSourceinline
buffer_size() const (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSourceinline
MinidumpUserExtensionStreamDataSource(uint32_t stream_type, const void *buffer, size_t buffer_size)crashpad::MinidumpUserExtensionStreamDataSource
stream_type() const (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSourceinline
~MinidumpUserExtensionStreamDataSource() (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSource
MinidumpUserExtensionStreamDataSource(uint32_t stream_type)crashpad::MinidumpUserExtensionStreamDataSourceexplicit
ReadStreamData(Delegate *delegate)=0crashpad::MinidumpUserExtensionStreamDataSourcepure virtual
stream_type() const (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSourceinline
StreamDataSize()=0crashpad::MinidumpUserExtensionStreamDataSourcepure virtual
~MinidumpUserExtensionStreamDataSource() (defined in crashpad::MinidumpUserExtensionStreamDataSource)crashpad::MinidumpUserExtensionStreamDataSourcevirtual
-
crashpad::MinidumpUserExtensionStreamDataSource Class Reference
+
crashpad::MinidumpUserExtensionStreamDataSource Class Referenceabstract
@@ -75,67 +76,106 @@ $(function() { More...

#include "minidump/minidump_user_extension_stream_data_source.h"

+
+Inheritance diagram for crashpad::MinidumpUserExtensionStreamDataSource:
+
+
+ + +crashpad::test::BufferExtensionStreamDataSource + +
+ + + + +

+Classes

class  Delegate
 An interface implemented by readers of MinidumpUserExtensionStreamDataSource. More...
 
- - - + + + - - - - + + + + + +

Public Member Functions

 MinidumpUserExtensionStreamDataSource (uint32_t stream_type, const void *buffer, size_t buffer_size)
 Constructs a MinidumpUserExtensionStreamDataSource. More...
 
 MinidumpUserExtensionStreamDataSource (uint32_t stream_type)
 Constructs a MinidumpUserExtensionStreamDataSource. More...
 
MinidumpStreamType stream_type () const
 
-const void * buffer () const
 
-size_t buffer_size () const
 
+virtual size_t StreamDataSize ()=0
 The size of this data stream.
 
virtual bool ReadStreamData (Delegate *delegate)=0
 Calls Delegate::UserStreamDataSourceRead(), providing it with the stream data. More...
 

Detailed Description

Describes a user extension data stream in a minidump.

Constructor & Destructor Documentation

- -

◆ MinidumpUserExtensionStreamDataSource()

+ +

◆ MinidumpUserExtensionStreamDataSource()

+ + + + + +
- - - - + - - - - - - - - - - - - -
crashpad::MinidumpUserExtensionStreamDataSource::MinidumpUserExtensionStreamDataSource ( uint32_t stream_type,
stream_type) const void * buffer,
size_t buffer_size 
)
+
+explicit

Constructs a MinidumpUserExtensionStreamDataSource.

Parameters
- -
[in]stream_typeThe type of the user extension stream.
[in]bufferPoints to the data for this stream. buffer is not owned, and must outlive the use of this object.
[in]buffer_sizeThe length of data in buffer.
+
+
+

Member Function Documentation

+ +

◆ ReadStreamData()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool crashpad::MinidumpUserExtensionStreamDataSource::ReadStreamData (Delegatedelegate)
+
+pure virtual
+
+ +

Calls Delegate::UserStreamDataSourceRead(), providing it with the stream data.

+

Implementations do not necessarily compute the stream data prior to this method being called. The stream data may be computed or loaded lazily and may be discarded after being passed to the delegate.

+
Returns
false on failure, otherwise, the return value of Delegate::ExtensionStreamDataSourceRead(), which should be true on success and false on failure.
+ +

Implemented in crashpad::test::BufferExtensionStreamDataSource.

+

The documentation for this class was generated from the following files:
-
crashpad::MinidumpUserStreamWriter::BufferContentsWriter Member List
+
crashpad::MinidumpUserExtensionStreamDataSource::Delegate Member List
-

This is the complete list of members for crashpad::MinidumpUserStreamWriter::BufferContentsWriter, including all inherited members.

+

This is the complete list of members for crashpad::MinidumpUserExtensionStreamDataSource::Delegate, including all inherited members.

- - - - + +
BufferContentsWriter(const void *buffer, size_t buffer_size) (defined in crashpad::MinidumpUserStreamWriter::BufferContentsWriter)crashpad::MinidumpUserStreamWriter::BufferContentsWriterinline
GetSize() const override (defined in crashpad::MinidumpUserStreamWriter::BufferContentsWriter)crashpad::MinidumpUserStreamWriter::BufferContentsWriterinlinevirtual
WriteContents(FileWriterInterface *writer) override (defined in crashpad::MinidumpUserStreamWriter::BufferContentsWriter)crashpad::MinidumpUserStreamWriter::BufferContentsWriterinlinevirtual
~ContentsWriter() (defined in crashpad::MinidumpUserStreamWriter::ContentsWriter)crashpad::MinidumpUserStreamWriter::ContentsWriterinlinevirtual
ExtensionStreamDataSourceRead(const void *data, size_t size)=0crashpad::MinidumpUserExtensionStreamDataSource::Delegatepure virtual
~Delegate() (defined in crashpad::MinidumpUserExtensionStreamDataSource::Delegate)crashpad::MinidumpUserExtensionStreamDataSource::Delegateinlineprotected