pub trait DebugIdExt {
    fn from_identifier(identifier: &[u8], little_endian: bool) -> Self;
    fn from_text_first_page(text_first_page: &[u8], little_endian: bool) -> Self;
}

Required Methods

Creates a DebugId from some identifier. The identifier could be an ELF build ID, or a hash derived from the text section. The little_endian argument specifies whether the object file is targeting a little endian architecture.

Creates a DebugId from a hash of the first 4096 bytes of the .text section. The little_endian argument specifies whether the object file is targeting a little endian architecture.

Implementations on Foreign Types

Implementors