pub struct ElfSymbol<'data, 'file, Elf, R = &'data [u8]> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>, { /* private fields */ }
Expand description
A symbol of an ElfFile
.
Trait Implementations
impl<'data, 'file, Elf: FileHeader, R: ReadRef<'data>> ObjectSymbol<'data> for ElfSymbol<'data, 'file, Elf, R>
impl<'data, 'file, Elf: FileHeader, R: ReadRef<'data>> ObjectSymbol<'data> for ElfSymbol<'data, 'file, Elf, R>
The index of the symbol.
Return the kind of this symbol.
Returns the section where the symbol is defined.
Return true if the symbol is undefined.
Return true if the symbol is a definition of a function or data object that has a known address. Read more
Returns the symbol scope.
Return true if the symbol visible outside of the compilation unit. Read more
Return true if the symbol is only visible within the compilation unit.
Symbol flags that are specific to each file format.
Returns the section index for the section containing this symbol. Read more
Auto Trait Implementations
impl<'data, 'file, Elf, R> RefUnwindSafe for ElfSymbol<'data, 'file, Elf, R> where
R: RefUnwindSafe,
<Elf as FileHeader>::Endian: RefUnwindSafe,
<Elf as FileHeader>::Sym: RefUnwindSafe,
impl<'data, 'file, Elf, R> Send for ElfSymbol<'data, 'file, Elf, R> where
R: Sync,
<Elf as FileHeader>::Endian: Send,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf, R> Sync for ElfSymbol<'data, 'file, Elf, R> where
R: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf, R> Unpin for ElfSymbol<'data, 'file, Elf, R> where
<Elf as FileHeader>::Endian: Unpin,
'data: 'file,
impl<'data, 'file, Elf, R> UnwindSafe for ElfSymbol<'data, 'file, Elf, R> where
R: RefUnwindSafe,
<Elf as FileHeader>::Endian: UnwindSafe,
<Elf as FileHeader>::Sym: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more