pub struct SectionType(/* private fields */);
Expand description
Defines the contents and meaning of individual sections.
Implementations§
Source§impl SectionType
impl SectionType
Sourcepub const ProgramDefined: Self
pub const ProgramDefined: Self
Section containing data that is only meaningful to the program.
Sourcepub const RelocationWithAdded: Self
pub const RelocationWithAdded: Self
Section containing relocation data with addends given in the section itself.
Sourcepub const SymbolHash: Self
pub const SymbolHash: Self
Section containing the hash table for symbols.
Sourcepub const DynamicLink: Self
pub const DynamicLink: Self
Section containing information for the dynamic linker.
Sourcepub const NoBits: Self
pub const NoBits: Self
An empty file section that will be filled with zeros when loaded in memory (BSS).
Sourcepub const RelocationNoAdded: Self
pub const RelocationNoAdded: Self
Section containing relocation data where the addends are determined by context in the target section.
Sourcepub const DynamicLinkSymbol: Self
pub const DynamicLinkSymbol: Self
Section containing the symbol table for dynamic linking.
Sourcepub const Constructors: Self
pub const Constructors: Self
Section containing the addresses of constructor functions that should be run when the program is loaded.
Sourcepub const Destructors: Self
pub const Destructors: Self
Section containing the addresses of destructor functions that should be run when the program is unloaded.
Sourcepub const PreConstructors: Self
pub const PreConstructors: Self
Section containing the addresses of constructor functions that should be run
before other Constructors
when the program is loaded.
Sourcepub const SymbolIndirectSections: Self
pub const SymbolIndirectSections: Self
Table of section indexes that correspond to entries in the symbol table with indirect sections.
Sourcepub const MinOSDefined: Self
pub const MinOSDefined: Self
Beginning of range (inclusive) for OS-specific values
Sourcepub const MaxOSDefined: Self
pub const MaxOSDefined: Self
End of range (inclusive) for OS-specific values
Sourcepub const MinArchDefined: Self
pub const MinArchDefined: Self
Beginning of range (inclusive) for CPU architecture-specific values
Sourcepub const MaxArchDefined: Self
pub const MaxArchDefined: Self
End of range (inclusive) for CPU architecture-specific values
Sourcepub const MinUserDefined: Self
pub const MinUserDefined: Self
Beginning of range (inclusive) for user-defined values
Sourcepub const MaxUserDefined: Self
pub const MaxUserDefined: Self
End of range (inclusive) for user-defined values
Trait Implementations§
Source§impl CEnum<u32> for SectionType
impl CEnum<u32> for SectionType
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more