Struct gimli::DebugAbbrev [] [src]

pub struct DebugAbbrev<'input, Endian> where Endian: Endianity {
    // some fields omitted
}

The DebugAbbrev struct represents the abbreviations describing DebuggingInformationEntrys' attribute names and forms found in the .debug_abbrev section.

Methods

impl<'input, Endian> DebugAbbrev<'input, Endian> where Endian: Endianity
[src]

Construct a new DebugAbbrev instance from the data in the .debug_abbrev section.

It is the caller's responsibility to read the .debug_abbrev section and present it as a &[u8] slice. That means using some ELF loader on Linux, a Mach-O loader on OSX, etc.

use gimli::{DebugAbbrev, LittleEndian};

let debug_abbrev = DebugAbbrev::<LittleEndian>::new(read_debug_abbrev_section_somehow());

Parse the abbreviations at the given offset within this .debug_abbrev section.

The offset should generally be retrieved from a unit header.

Trait Implementations

impl<'input, Endian: Copy> Copy for DebugAbbrev<'input, Endian> where Endian: Endianity
[src]

impl<'input, Endian: Clone> Clone for DebugAbbrev<'input, Endian> where Endian: Endianity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input, Endian: Debug> Debug for DebugAbbrev<'input, Endian> where Endian: Endianity
[src]

Formats the value using the given formatter.