pub struct MiniElf {
pub entry_point: u32,
pub sections: Vec<MiniElfSection>,
pub program: Vec<u8>,
pub alignment_offset: usize,
}Expand description
Describes a Mini ELF file, suitable for loading into RAM
Fields§
§entry_point: u32Virtual address of the entrypoint
sections: Vec<MiniElfSection>All of the sections inside this file
program: Vec<u8>Actual section data
alignment_offset: usizeAlignment offset for page mapping
Auto Trait Implementations§
impl Freeze for MiniElf
impl RefUnwindSafe for MiniElf
impl Send for MiniElf
impl Sync for MiniElf
impl Unpin for MiniElf
impl UnwindSafe for MiniElf
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