class ProcessSnapshotFuchsia

Defined at line 44 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

A ProcessSnapshot of a running (or crashed) process running on a

Fuchsia system. This class is not yet implemented.

Public Methods

crashpad::ProcessID ProcessID ()

ProcessSnapshot:

void ProcessSnapshotFuchsia (const ProcessSnapshotFuchsia & )

Defined at line 48 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

void ProcessSnapshotFuchsia ()
void ~ProcessSnapshotFuchsia ()
bool Initialize (const zx::process & process)

Initializes the object.

Parameters

process [in] The process handle to create a snapshot from.

Returns

`true` if the snapshot could be created, `false` otherwise with

an appropriate message logged.

bool InitializeException (zx_koid_t thread_id, const zx_exception_report_t & report)

Initializes the object's exception.

This populates the data to be returned by Exception(). The thread

identified by

must be in an exception.

This method must not be called until after a successful call to

Initialize().

Parameters

thread_id [in] Koid of the thread which sustained the exception.
report [in] The `zx_exception_report_t` for the thread which sustained the exception.

Returns

`true` if the exception information could be initialized, `false`

otherwise with an appropriate message logged. When this method returns

`false`, the ProcessSnapshotFuchsia object’s validity remains

unchanged.

void GetCrashpadOptions (CrashpadInfoClientOptions * options)

Returns options from CrashpadInfo structures found in modules in

the process.

Parameters

options [out] Options set in CrashpadInfo structures in modules in the process.
crashpad::ProcessID ParentProcessID ()
void SnapshotTime (timeval * snapshot_time)
void ProcessStartTime (timeval * start_time)
void ProcessCPUTimes (timeval * user_time, timeval * system_time)
void ReportID (UUID * report_id)
void ClientID (UUID * client_id)
const std::map<std::string, std::string> & AnnotationsSimpleMap ()
ProcessSnapshotFuchsia & operator= (const ProcessSnapshotFuchsia & )

Defined at line 49 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

void SetReportID (const UUID & report_id)

Sets the value to be returned by ReportID().

On Fuchsia, the crash report ID is under the control of the snapshot

producer, which may call this method to set the report ID. If this is not

done, ReportID() will return an identifier consisting entirely of zeroes.

Defined at line 91 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

void SetClientID (const UUID & client_id)

Sets the value to be returned by ClientID().

On Fuchsia, the client ID is under the control of the snapshot producer,

which may call this method to set the client ID. If this is not done,

ClientID() will return an identifier consisting entirely of zeroes.

Defined at line 98 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

void SetAnnotationsSimpleMap (const std::map<std::string, std::string> & annotations_simple_map)

Sets the value to be returned by AnnotationsSimpleMap().

On Fuchsia, all process annotations are under the control of the snapshot

producer, which may call this method to establish these annotations.

Contrast this with module annotations, which are under the control of the

process being snapshotted.

Defined at line 106 of file ../../third_party/crashpad/src/snapshot/fuchsia/process_snapshot_fuchsia.h

const SystemSnapshot * System ()
std::vector<const ThreadSnapshot *> Threads ()
std::vector<const ModuleSnapshot *> Modules ()
std::vector<UnloadedModuleSnapshot> UnloadedModules ()
const ExceptionSnapshot * Exception ()
std::vector<const MemoryMapRegionSnapshot *> MemoryMap ()
std::vector<HandleSnapshot> Handles ()
std::vector<const MemorySnapshot *> ExtraMemory ()
const ProcessMemory * Memory ()