#[non_exhaustive]pub enum SectionHeaderTypes {
Show 31 variants
NULL,
ProgramBits,
SymbolTable,
StringTable,
RelocationsAddends,
Hash,
DynamicLinking,
Notes,
NoBits,
Relocations,
Shlib,
DynamicSymbolsTable,
InitArray,
FiniArray,
PreInitArray,
Group,
ExtendedIndices,
NumTypes,
LoOS,
GnuAttributes,
GnuHash,
LibList,
VerDef,
VerNeed,
VerSym,
HiOS,
LoProc,
MipsABI,
HiProc,
LoUser,
HiUser,
}elf only.Expand description
ELF Section Header types
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NULL
SHT_NULL: Unused
ProgramBits
SHT_PROGBITS: Program data
SymbolTable
SHT_SYMTAB: Symbol table
StringTable
SHT_STRTAB: String table
RelocationsAddends
SHT_RELA: Relocation entries with addends (to be computed)
Hash
SHT_HASH: Symbol hash table
DynamicLinking
SHT_DYNAMIC: Dynamic linking information
Notes
SHT_NOTE: Notes
NoBits
SHT_NOBITS: Program space with no data (bss)
Relocations
SHT_REL: Relocation entries, no addends
Shlib
SHT_SHLIB: Reserved
DynamicSymbolsTable
SHT_DYNSYM: Dynamic symbol linker table
InitArray
SHT_INIT_ARRAY: Array of constructors
FiniArray
SHT_FINI_ARRAY: Array of destructors
PreInitArray
SHT_PREINIT_ARRAY: Array of pre-constructors
Group
SHT_GROUP: Section group
ExtendedIndices
SHT_SYMTAB_SHNDX: Extended section indices
NumTypes
SHT_NUM: Number of defined types
LoOS
SHT_LOOS: Start OS-specific
GnuAttributes
SHT_GNU_ATTRIBUTES: GNU object attributes
GnuHash
SHT_GNU_HASH: GNU hash table
LibList
SHT_GNU_LIBLIST: GNU prelink libraries
VerDef
SHT_GNU_VERDEF: GNU version definitions
VerNeed
SHT_GNU_VERNEED: GNU version needs
VerSym
SHT_GNU_VERSYM: GNU version symbol table
HiOS
SHT_HIOS: Last of OS-specific
LoProc
SHT_LOPROC: Reserved range for processors
MipsABI
SHT_MIPS_ABIFLAGS: MIPS ABI flags
HiProc
SHT_HIPROC: Last of processor-specific headers
LoUser
SHT_LOUSER: Start of application-specific range
HiUser
SHT_HIUSER: End of application-specific range
Trait Implementations§
Source§impl<R: Into<FlagSet<SectionHeaderTypes>>> BitAnd<R> for SectionHeaderTypes
impl<R: Into<FlagSet<SectionHeaderTypes>>> BitAnd<R> for SectionHeaderTypes
Source§impl<R: Into<FlagSet<SectionHeaderTypes>>> BitOr<R> for SectionHeaderTypes
impl<R: Into<FlagSet<SectionHeaderTypes>>> BitOr<R> for SectionHeaderTypes
Source§impl<R: Into<FlagSet<SectionHeaderTypes>>> BitXor<R> for SectionHeaderTypes
impl<R: Into<FlagSet<SectionHeaderTypes>>> BitXor<R> for SectionHeaderTypes
Source§impl Clone for SectionHeaderTypes
impl Clone for SectionHeaderTypes
Source§fn clone(&self) -> SectionHeaderTypes
fn clone(&self) -> SectionHeaderTypes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SectionHeaderTypes
impl Debug for SectionHeaderTypes
Source§impl From<SectionHeaderTypes> for FlagSet<SectionHeaderTypes>
impl From<SectionHeaderTypes> for FlagSet<SectionHeaderTypes>
Source§fn from(value: SectionHeaderTypes) -> Self
fn from(value: SectionHeaderTypes) -> Self
Source§impl Not for SectionHeaderTypes
impl Not for SectionHeaderTypes
Source§impl PartialEq for SectionHeaderTypes
impl PartialEq for SectionHeaderTypes
Source§impl<R: Into<FlagSet<SectionHeaderTypes>>> Rem<R> for SectionHeaderTypes
impl<R: Into<FlagSet<SectionHeaderTypes>>> Rem<R> for SectionHeaderTypes
Source§impl<R: Into<FlagSet<SectionHeaderTypes>>> Sub<R> for SectionHeaderTypes
impl<R: Into<FlagSet<SectionHeaderTypes>>> Sub<R> for SectionHeaderTypes
impl Copy for SectionHeaderTypes
impl Eq for SectionHeaderTypes
impl StructuralPartialEq for SectionHeaderTypes
Auto Trait Implementations§
impl Freeze for SectionHeaderTypes
impl RefUnwindSafe for SectionHeaderTypes
impl Send for SectionHeaderTypes
impl Sync for SectionHeaderTypes
impl Unpin for SectionHeaderTypes
impl UnwindSafe for SectionHeaderTypes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more