Enum object::read::archive::SymbolIteratorInternal
source · enum SymbolIteratorInternal<'data> {
None,
Gnu {
offsets: Iter<'data, U32Bytes<BigEndian>>,
names: Bytes<'data>,
},
Gnu64 {
offsets: Iter<'data, U64Bytes<BigEndian>>,
names: Bytes<'data>,
},
Bsd {
offsets: Iter<'data, [U32Bytes<LittleEndian>; 2]>,
names: Bytes<'data>,
},
Bsd64 {
offsets: Iter<'data, [U64Bytes<LittleEndian>; 2]>,
names: Bytes<'data>,
},
Coff {
members: &'data [U32Bytes<LittleEndian>],
indices: Iter<'data, U16Bytes<LittleEndian>>,
names: Bytes<'data>,
},
}
Variants§
None
There is no symbol table.
Gnu
A GNU symbol table.
Contains:
- the number of symbols as a 32-bit big-endian integer
- the offsets of the member headers as 32-bit big-endian integers
- the symbol names as null-terminated strings
Gnu64
A GNU 64-bit symbol table
Contains:
- the number of symbols as a 64-bit big-endian integer
- the offsets of the member headers as 64-bit big-endian integers
- the symbol names as null-terminated strings
Bsd
A BSD symbol table.
Contains:
- the size in bytes of the offsets array as a 32-bit little-endian integer
- the offsets array, for which each entry is a pair of 32-bit little-endian integers for the offset of the member header and the offset of the symbol name
- the size in bytes of the symbol names as a 32-bit little-endian integer
- the symbol names as null-terminated strings
Bsd64
A BSD 64-bit symbol table.
Contains:
- the size in bytes of the offsets array as a 64-bit little-endian integer
- the offsets array, for which each entry is a pair of 64-bit little-endian integers for the offset of the member header and the offset of the symbol name
- the size in bytes of the symbol names as a 64-bit little-endian integer
- the symbol names as null-terminated strings
Coff
A Windows COFF symbol table.
Contains:
- the number of members as a 32-bit little-endian integer
- the offsets of the member headers as 32-bit little-endian integers
- the number of symbols as a 32-bit little-endian integer
- the member index for each symbol as a 16-bit little-endian integer
- the symbol names as null-terminated strings in lexical order
Trait Implementations§
source§impl<'data> Clone for SymbolIteratorInternal<'data>
impl<'data> Clone for SymbolIteratorInternal<'data>
source§fn clone(&self) -> SymbolIteratorInternal<'data>
fn clone(&self) -> SymbolIteratorInternal<'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'data> Freeze for SymbolIteratorInternal<'data>
impl<'data> RefUnwindSafe for SymbolIteratorInternal<'data>
impl<'data> Send for SymbolIteratorInternal<'data>
impl<'data> Sync for SymbolIteratorInternal<'data>
impl<'data> Unpin for SymbolIteratorInternal<'data>
impl<'data> UnwindSafe for SymbolIteratorInternal<'data>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)