logo
pub struct SymbolicDebugImage {
    pub name: String,
    pub arch: Option<String>,
    pub image_addr: Addr,
    pub image_size: u64,
    pub image_vmaddr: Addr,
    pub id: DebugId,
    pub code_id: Option<CodeId>,
    pub debug_file: Option<String>,
}
Expand description

Represents a symbolic debug image.

Fields

name: String

Path and name of the image file (required).

The absolute path to the dynamic library or executable. This helps to locate the file if it is missing on Sentry. This is also called code_file.

arch: Option<String>

The optional CPU architecture of the debug image.

image_addr: Addr

Starting memory address of the image (required).

Memory address, at which the image is mounted in the virtual address space of the process.

image_size: u64

Size of the image in bytes (required).

The size of the image in virtual memory.

image_vmaddr: Addr

Loading address in virtual memory.

Preferred load address of the image in virtual memory, as declared in the headers of the image. When loading an image, the operating system may still choose to place it at a different address.

Symbols and addresses in the native image are always relative to the start of the image and do not consider the preferred load address. It is merely a hint to the loader.

id: DebugId

Unique debug identifier of the image.

This is also called debug_id.

code_id: Option<CodeId>

Optional identifier of the code file.

debug_file: Option<String>

Path and name of the debug companion file.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.