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, }
An error that occurred when parsing.
Variants
BadUnsignedLeb128
An error parsing an unsigned LEB128 value.
BadSignedLeb128
An error parsing a signed LEB128 value.
AbbreviationTagZero
An abbreviation declared that its tag is zero, but zero is reserved for null records.
AttributeFormZero
An attribute specification declared that its form is zero, but zero is reserved for null records.
BadHasChildren
The abbreviation's has-children byte was not one of
DW_CHILDREN_{yes,no}
.
BadLength
The specified length is impossible.
UnknownForm
Found an unknown DW_FORM_*
type.
ExpectedZero
Expected a zero, found something else.
DuplicateAbbreviationCode
Found an abbreviation code that has already been used.
DuplicateArange
Found a duplicate arange.
UnknownReservedLength
Found an unknown reserved length value.
UnknownVersion
Found an unknown DWARF version.
UnitHeaderLengthTooShort
The unit header's claimed length is too short to even hold the header itself.
UnknownAbbreviation
Found a record with an unknown abbreviation code.
UnexpectedEof
Hit the end of input before it was expected.
UnknownStandardOpcode(DwLns)
Found an unknown standard opcode.
UnknownExtendedOpcode(DwLne)
Found an unknown extended opcode.
UnsupportedAddressSize(u8)
The specified address size is not supported.
UnsupportedFieldSize(u8)
The specified field size is not supported.
MinimumInstructionLengthZero
The minimum instruction length must not be zero.
MaximumOperationsPerInstructionZero
The maximum operations per instruction must not be zero.
LineRangeZero
The line range must not be zero.
OpcodeBaseZero
The opcode base must not be zero.
Trait Implementations
impl Eq for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more