pub enum SectionData<'data> {
Show 18 variants
Data(Bytes<'data>),
UninitializedData(u64),
Relocation(Vec<Relocation>),
DynamicRelocation(Vec<DynamicRelocation>),
Note(Bytes<'data>),
Dynamic(Vec<Dynamic<'data>>),
Attributes(AttributesSection<'data>),
SectionString,
Symbol,
SymbolSectionIndex,
String,
DynamicSymbol,
DynamicString,
Hash,
GnuHash,
GnuVersym,
GnuVerdef,
GnuVerneed,
}
Expand description
The data for a Section
.
Variants§
Data(Bytes<'data>)
The section contains the given raw data bytes.
UninitializedData(u64)
The section contains uninitialised data bytes of the given length.
Relocation(Vec<Relocation>)
The section contains relocations.
DynamicRelocation(Vec<DynamicRelocation>)
The section contains dynamic relocations.
Note(Bytes<'data>)
The section contains notes.
Dynamic(Vec<Dynamic<'data>>)
The section contains dynamic entries.
Attributes(AttributesSection<'data>)
The section contains attributes.
This may be GNU attributes or other vendor-specific attributes.
SectionString
The section contains the strings for the section headers.
Symbol
The section contains the symbol table.
SymbolSectionIndex
The section contains the extended section index for the symbol table.
String
The section contains the strings for symbol table.
DynamicSymbol
The section contains the dynamic symbol table.
DynamicString
The section contains the dynamic string table.
Hash
The section contains the hash table.
GnuHash
The section contains the GNU hash table.
GnuVersym
The section contains the GNU symbol versions.
GnuVerdef
The section contains the GNU version definitions.
GnuVerneed
The section contains the GNU version dependencies.
Trait Implementations§
Source§impl<'data> Clone for SectionData<'data>
impl<'data> Clone for SectionData<'data>
Source§fn clone(&self) -> SectionData<'data>
fn clone(&self) -> SectionData<'data>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more