Enum gimli::Error[][src]

pub enum Error {
    Io,
    CfiRelativePointerButCfiBaseIsUndefined,
    TextRelativePointerButTextBaseIsUndefined,
    DataRelativePointerButDataBaseIsUndefined,
    FuncRelativePointerInBadContext,
    BadUnsignedLeb128,
    BadSignedLeb128,
    AbbreviationTagZero,
    AttributeFormZero,
    BadHasChildren,
    BadLength,
    UnknownForm,
    ExpectedZero,
    DuplicateAbbreviationCode,
    DuplicateArange,
    UnknownReservedLength,
    UnknownVersion(u64),
    UnknownAbbreviation,
    UnexpectedEof,
    UnexpectedNull,
    UnknownStandardOpcode(DwLns),
    UnknownExtendedOpcode(DwLne),
    UnsupportedAddressSize(u8),
    UnsupportedFieldSize(u8),
    MinimumInstructionLengthZero,
    MaximumOperationsPerInstructionZero,
    LineRangeZero,
    OpcodeBaseZero,
    BadUtf8,
    NotCieId,
    NotCiePointer,
    NotFdePointer,
    BadBranchTarget(u64),
    InvalidPushObjectAddress,
    NotEnoughStackItems,
    TooManyIterations,
    InvalidExpression(DwOp),
    InvalidPiece,
    InvalidExpressionTerminator(u64),
    DivisionByZero,
    TypeMismatch,
    IntegralTypeRequired,
    UnsupportedTypeOperation,
    InvalidShiftExpression,
    UnknownCallFrameInstruction(DwCfa),
    InvalidAddressRange,
    InvalidLocationAddressRange,
    CfiInstructionInInvalidContext,
    PopWithEmptyStack,
    NoUnwindInfoForAddress,
    UnsupportedOffset,
    UnknownPointerEncoding,
    NoEntryAtGivenOffset,
    OffsetOutOfBounds,
    UnknownAugmentation,
    UnsupportedPointerEncoding,
    CannotFitInU8,
    TooManyRegisterRules,
    CfiStackFull,
    VariableLengthSearchTable,
    UnsupportedUnitType,
    UnsupportedAddressIndex,
    UnsupportedSegmentSize,
}

An error that occurred when parsing.

Variants

An I/O error occurred while reading.

Found a CFI relative pointer, but the CFI base is undefined.

Found a .text relative pointer, but the .text base is undefined.

Found a .data relative pointer, but the .data base is undefined.

Found a function relative pointer in a context that does not have a function base.

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.

Found a record with an unknown abbreviation code.

Hit the end of input before it was expected.

Read a null entry 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.

Found an invalid UTF-8 string.

Expected to find the CIE ID, but found something else.

Expected to find a pointer to a CIE, but found the CIE ID instead.

Expected to find a pointer to an FDE, but found a CIE instead.

Invalid branch target for a DW_OP_bra or DW_OP_skip.

DW_OP_push_object_address used but no address passed in.

Not enough items on the stack when evaluating an expression.

Too many iterations to compute the expression.

An unrecognized operation was found while parsing a DWARF expression.

The expression had a piece followed by an expression terminator without a piece.

An expression-terminating operation was followed by something other than the end of the expression or a piece operation.

Division or modulus by zero when evaluating an expression.

An expression operation used mismatching types.

An expression operation required an integral type but saw a floating point type.

An expression operation used types that are not supported.

The shift value in an expression must be a non-negative integer.

An unknown DW_CFA_* instruction.

The end of an address range was before the beginning.

The end offset of a loc list entry was before the beginning.

Encountered a call frame instruction in a context in which it is not valid.

When evaluating call frame instructions, found a DW_CFA_restore_state stack pop instruction, but the stack was empty, and had nothing to pop.

Do not have unwind info for the given address.

An offset value was larger than the maximum supported value.

The given pointer encoding is either unknown or invalid.

Did not find an entry at the given offset.

The given offset is out of bounds.

Found an unknown CFI augmentation.

We do not support the given pointer encoding yet.

We tried to convert some number into a u8, but it was too large.

The CFI program defined more register rules than we have storage for.

Attempted to push onto the CFI stack, but it was already at full capacity.

The .eh_frame_hdr binary search table claims to be variable-length encoded, which makes binary search impossible.

The DW_UT_* value for this unit is not supported yet.

Ranges using AddressIndex are not supported yet.

Nonzero segment selector sizes aren't supported yet.

Methods

impl Error
[src]

A short description of the error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy 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 Eq for Error
[src]

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error