pub struct ElfInfo {
pub interp: Option<Vec<u8>>,
pub machine: u16,
}Expand description
What an execve needs to know about an ELF file.
Fields§
§interp: Option<Vec<u8>>Path of the dynamic loader named by PT_INTERP, or None for a static executable.
machine: u16e_machine: EM_X86_64 (62), EM_386 (3), EM_AARCH64 (183), EM_ARM (40), …
Trait Implementations§
impl Eq for ElfInfo
impl StructuralPartialEq for ElfInfo
Auto Trait Implementations§
impl Freeze for ElfInfo
impl RefUnwindSafe for ElfInfo
impl Send for ElfInfo
impl Sync for ElfInfo
impl Unpin for ElfInfo
impl UnsafeUnpin for ElfInfo
impl UnwindSafe for ElfInfo
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