[][src]Crate fuchsia_backtrace

Allows extracting DSO contextual information in-process within Fuchsia processes that use the standard Fuchsia libc.

Structs

Dso

Represents an ELF DSO (Dynamic Shared Object). This type references the data stored in the actual DSO rather than making its own copy.

OwnedDso

Represents an ELF DSO (Dynamic Shared Object). This type owns its data but requires a copy/allocation in general.

Perm

Represents memory permissions for an ELF segment.

Segment

Represents an ELF segment at runtime.

SegmentIter

Lets one iterate over Segments from a DSO.

Enums

Error

These errors encode issues that arise while parsing information about each DSO.

Traits

DsoVisitor

DsoVisitor handles the two cases that can arise during iteration. Either an error while parsing can occur, or you might find a valid DSO.

Functions

for_each_dso

Calls either 'dso' or 'error' for each DSO linked into the process by the dynamic linker.

print_dso_context

This function prints the Fuchsia symbolizer markup for all information contained in a DSO.

snapshot

This function saves the current state of all DSOs linked into the process. When combined with an unresolved backtrace snapshot this gives enough information to symbolize the resulting markup.