Crate gimli [] [src]

A parser for the DWARF debugging information format.

This library targets the fourth edition of the standard (the most recent, at time of writing).

TODO FITZGEN: example usage here!

Structs

Abbreviation

An abbreviation describes the shape of a DebuggingInformationEntry's type: its code, tag type, whether it has children, and its set of attributes.

Abbreviations

A set of type abbreviations.

Attribute

An attribute in a DebuggingInformationEntry, consisting of a name and associated value.

AttributeInput

The input to parsing an attribute.

AttributeSpecification

The description of an attribute in an abbreviated type. It is a pair of name and form.

AttrsIter

An iterator over a particular entry's attributes.

CompilationUnit

The header of a compilation unit's debugging information.

CompilationUnitsIter

An iterator over the compilation units of a .debug_info section.

DebugAbbrev

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

DebugAbbrevOffset

An offset into the .debug_abbrev section.

DebugInfo

The DebugInfo struct represents the DWARF debugging information found in the .debug_info section.

DebugInfoOffset

An offset into the .debug_info section.

DebugLineOffset

An offset into the .debug_line section.

DebugLocOffset

An offset into the .debug_loc section.

DebugMacinfoOffset

An offset into the .debug_macinfo section.

DebugStrOffset

An offset into the .debug_str section.

DebugTypesOffset

An offset into the .debug_types section.

DebuggingInformationEntry

A Debugging Information Entry (DIE).

EntriesCursor

A cursor into the Debugging Information Entries tree for a compilation unit.

TypeUnit

The header of a type unit's debugging information.

UnitOffset

An offset into the current compilation or type unit.

Enums

AbbreviationHasChildren

Whether an abbreviation's type has children or not, aka DW_CHILDREN_{yes,no} in the standard.

AbbreviationTag

Abbreviation tag types, aka DW_TAG_whatever in the standard.

AttributeForm

The type and encoding of an attribute, aka DW_FORM_whatever in the standard.

AttributeName

The set of possible attribute names, aka DW_AT_whatever in the standard.

AttributeValue

The value of an attribute in a DebuggingInformationEntry.

BigEndian

TODO FITZGEN

Error

TODO FITZGEN

Format

Whether the format of a compilation unit is 32- or 64-bit.

LittleEndian

TODO FITZGEN

Traits

Endianity

TODO FITZGEN

Type Definitions

ParseResult

TODO FITZGEN