[][src]Enum elfy::SectionType

pub enum SectionType {
    Null,
    ProgramData,
    SymbolTable,
    StringTable,
    RelocationWithAddends,
    SymbolHashTable,
    DynamicInfo,
    Note,
    NoBits,
    Relocation,
    ShLib,
    DynamicSymbolTable,
    InitArray,
    FiniArray,
    PreInitArray,
    Group,
    ExtendedSectionIndices,
    OSSpecific(u32),
}

Describes the type of information contained within a section

Variants

Null

Marks a section as inactive

Section headers with the type 'Null' do not have a corresponding section in the file

ProgramData

Marks a section as containing data whose meaning is defined entirely by the program

SymbolTable

Marks a section as containing a symbol table

StringTable

Marks a section as containing a string table, there may be multiple string tables in a given ELF file

RelocationWithAddends

Marks a section as containing relocation data with explicit addends

SymbolHashTable

Marks a section as containing a symbol hash table

DynamicInfo

Marks a section as containing information for dynamic linking

Note

Marks a section as containing arbitrary information used to mark the section in some way

This information is usually generated by some part of the toolchain used to produce the ELF file

NoBits

Marks a section as containing no data, but otherwise resembles a 'ProgramData' section

Relocation

Marks a section as containing relocation data without explicit addends

ShLib

This section type is reserved and should not be used. ELF files which contain a section of this type do not conform to the ABI

DynamicSymbolTable

Marks a section as containing a minimal symbol table used for dynamic linking

InitArray

Marks a section as containing constructors

FiniArray

Marks a section as containing destructors

PreInitArray

Marks a section as containing pre-constructors

Group
ExtendedSectionIndices
OSSpecific(u32)

Section contains information defined by and specific to the operating system

Trait Implementations

impl Eq for SectionType[src]

impl PartialEq<SectionType> for SectionType[src]

impl Debug for SectionType[src]

impl StructuralPartialEq for SectionType[src]

impl StructuralEq for SectionType[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]