Crashpad
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
crashpad::ProcessMemoryFuchsia Class Referencefinal

Accesses the memory of another Fuchsia process. More...

#include "util/process/process_memory_fuchsia.h"

Inheritance diagram for crashpad::ProcessMemoryFuchsia:
[legend]
Collaboration diagram for crashpad::ProcessMemoryFuchsia:
[legend]

Public Member Functions

 ProcessMemoryFuchsia (const ProcessMemoryFuchsia &)=delete
 
ProcessMemoryFuchsiaoperator= (const ProcessMemoryFuchsia &)=delete
 
bool Initialize (const zx::process &process)
 Initializes this object to read the memory of a process by handle.
 
bool Initialize (const zx::unowned_process &process)
 
- Public Member Functions inherited from crashpad::ProcessMemory
bool Read (VMAddress address, VMSize size, void *buffer) const
 Copies memory from the target process into a caller-provided buffer in the current process.
 
bool ReadCString (VMAddress address, std::string *string) const
 Reads a NUL-terminated C string from the target process into a string in the current process.
 
bool ReadCStringSizeLimited (VMAddress address, VMSize size, std::string *string) const
 Reads a NUL-terminated C string from the target process into a string in the current process.
 

Detailed Description

Accesses the memory of another Fuchsia process.

Member Function Documentation

◆ Initialize()

bool crashpad::ProcessMemoryFuchsia::Initialize ( const zx::process & process)

Initializes this object to read the memory of a process by handle.

This method must be called successfully prior to calling any other method in this class.

Parameters
[in]processThe handle to the target process.
Returns
true on success, false on failure with a message logged.

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