class MemoryMapFuchsia

Defined at line 28 of file ../../third_party/crashpad/src/snapshot/fuchsia/memory_map_fuchsia.h

A list of mappings in the address space of a Fuchsia process.

Public Methods

void MemoryMapFuchsia ()
void MemoryMapFuchsia (const MemoryMapFuchsia & )

Defined at line 32 of file ../../third_party/crashpad/src/snapshot/fuchsia/memory_map_fuchsia.h

MemoryMapFuchsia & operator= (const MemoryMapFuchsia & )

Defined at line 33 of file ../../third_party/crashpad/src/snapshot/fuchsia/memory_map_fuchsia.h

const std::vector<zx_info_maps_t> & Entries ()

Get a vector of `zx_info_maps_t` representing the memory map for

this process.

Defined at line 55 of file ../../third_party/crashpad/src/snapshot/fuchsia/memory_map_fuchsia.h

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

Initializes this object with information about the mapped memory

regions in the given process.

Returns

`true` on success, or `false`, with an error logged.

bool FindMappingForAddress (zx_vaddr_t address, zx_info_maps_t * map)

Searches through the previously retrieved memory map for the given

address. If found, returns the deepest `zx_info_maps_t` mapping that

contains

Parameters

address [in] The address to locate.
map [out] The `zx_info_maps_t` data corresponding to the address.

Returns

`true` if a mapping for

was found, in which case

will be filled out, otherwise `false` and

will be unchanged.