Enum xmas_elf::sections::SectionData
source · pub enum SectionData<'a> {
Show 19 variants
Empty,
Undefined(&'a [u8]),
Group {
flags: &'a u32,
indicies: &'a [u32],
},
StrArray(&'a [u8]),
FnArray32(&'a [u32]),
FnArray64(&'a [u64]),
SymbolTable32(&'a [Entry32]),
SymbolTable64(&'a [Entry64]),
DynSymbolTable32(&'a [DynEntry32]),
DynSymbolTable64(&'a [DynEntry64]),
SymTabShIndex(&'a [u32]),
Note64(&'a NoteHeader, &'a [u8]),
Rela32(&'a [Rela<P32>]),
Rela64(&'a [Rela<P64>]),
Rel32(&'a [Rel<P32>]),
Rel64(&'a [Rel<P64>]),
Dynamic32(&'a [Dynamic<P32>]),
Dynamic64(&'a [Dynamic<P64>]),
HashTable(&'a HashTable),
}
Variants§
Empty
Undefined(&'a [u8])
Group
StrArray(&'a [u8])
FnArray32(&'a [u32])
FnArray64(&'a [u64])
SymbolTable32(&'a [Entry32])
SymbolTable64(&'a [Entry64])
DynSymbolTable32(&'a [DynEntry32])
DynSymbolTable64(&'a [DynEntry64])
SymTabShIndex(&'a [u32])
Note64(&'a NoteHeader, &'a [u8])
Rela32(&'a [Rela<P32>])
Rela64(&'a [Rela<P64>])
Rel32(&'a [Rel<P32>])
Rel64(&'a [Rel<P64>])
Dynamic32(&'a [Dynamic<P32>])
Dynamic64(&'a [Dynamic<P64>])
HashTable(&'a HashTable)
Implementations§
source§impl<'a> SectionData<'a>
impl<'a> SectionData<'a>
pub fn strings(&self) -> Result<SectionStrings<'a>, ()>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SectionData<'a>
impl<'a> Send for SectionData<'a>
impl<'a> Sync for SectionData<'a>
impl<'a> Unpin for SectionData<'a>
impl<'a> UnwindSafe for SectionData<'a>
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
Mutably borrows from an owned value. Read more