#[repr(C)]pub struct ELF32 {
pub ehdr: Ehdr32,
pub sections: Vec<Section32>,
pub segments: Vec<Segment32>,
}
Fields§
§ehdr: Ehdr32
§sections: Vec<Section32>
§segments: Vec<Segment32>
Implementations§
Source§impl ELF32
impl ELF32
Sourcepub fn add_section(&mut self, sct: Section32)
pub fn add_section(&mut self, sct: Section32)
add a section with creating new entry of section table and etc.
pub fn add_segment(&mut self, sgt: Segment32)
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Ord for ELF32
impl Ord for ELF32
Source§impl PartialOrd for ELF32
impl PartialOrd for ELF32
impl Eq for ELF32
impl StructuralPartialEq for ELF32
Auto Trait Implementations§
impl Freeze for ELF32
impl RefUnwindSafe for ELF32
impl Send for ELF32
impl Sync for ELF32
impl Unpin for ELF32
impl UnwindSafe for ELF32
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