Enum gimli::read::Error [−][src]
An error that occurred when parsing.
Variants
An I/O error occurred while reading.
Found a PC relative pointer, but the section 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.
Cannot parse a pointer with a DW_EH_PE_omit
encoding.
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.
UnexpectedEof(ReaderOffsetId)
Hit the end of input before it was expected.
Read a null entry before it was expected.
UnknownStandardOpcode(DwLns)
Found an unknown standard opcode.
UnknownExtendedOpcode(DwLne)
Found an unknown extended opcode.
The specified address size is not supported.
The specified offset 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.
InvalidExpression(DwOp)
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.
UnknownCallFrameInstruction(DwCfa)
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.
Registers larger than u16
are not supported.
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.
A compilation unit or type unit is missing its top level DIE.
A DIE attribute used an unsupported form.
Missing DW_LNCT_path in file entry format.
Expected an attribute value to be a string form.
DW_FORM_implicit_const
used in an invalid context.
Implementations
impl Error
[src]
pub fn description(&self) -> &str
[src]
A short description of the error.
Trait Implementations
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Eq for Error
[src]
impl PartialEq<Error> for Error
[src]
impl StructuralEq for Error
[src]
impl StructuralPartialEq for Error
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,