[go: up one dir, main page]

Enum gimli::Error [] [src]

pub enum Error {
    BadUnsignedLeb128,
    BadSignedLeb128,
    AbbreviationTagZero,
    AttributeFormZero,
    BadHasChildren,
    BadLength,
    UnknownForm,
    ExpectedZero,
    DuplicateAbbreviationCode,
    DuplicateArange,
    UnknownReservedLength,
    UnknownVersion,
    UnitHeaderLengthTooShort,
    UnknownAbbreviation,
    UnexpectedEof,
    UnknownStandardOpcode(DwLns),
    UnknownExtendedOpcode(DwLne),
    UnsupportedAddressSize(u8),
    UnsupportedFieldSize(u8),
    MinimumInstructionLengthZero,
    MaximumOperationsPerInstructionZero,
    LineRangeZero,
    OpcodeBaseZero,
    BadFileIndex,
}

An error that occurred when parsing.

Variants

An error parsing an unsigned LEB128 value.

An error parsing a signed LEB128 value.

An abbreviation declared that its tag is zero, but zero is reserved for null records.

An attribute specification declared that its form is zero, but zero is reserved for null records.

The abbreviation's has-children byte was not one of DW_CHILDREN_{yes,no}.

The specified length is impossible.

Found an unknown DW_FORM_* type.

Expected a zero, found something else.

Found an abbreviation code that has already been used.

Found a duplicate arange.

Found an unknown reserved length value.

Found an unknown DWARF version.

The unit header's claimed length is too short to even hold the header itself.

Found a record with an unknown abbreviation code.

Hit the end of input before it was expected.

Found an unknown standard opcode.

Found an unknown extended opcode.

The specified address size is not supported.

The specified field size is not supported.

The minimum instruction length must not be zero.

The maximum operations per instruction must not be zero.

The line range must not be zero.

The opcode base must not be zero.

The specified file index was out of bounds.

Trait Implementations

impl Eq for Error
[src]

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more