pub struct Elf<'a> {
pub imports: Vec<Import>,
pub needs: Vec<VersionNeed>,
pub code: Vec<Code<'a>>,
pub abi_tag: Option<[u32; 3]>,
pub relr: bool,
}Expand description
What the scan reads from one ELF file.
Fields§
§imports: Vec<Import>§needs: Vec<VersionNeed>§code: Vec<Code<'a>>§abi_tag: Option<[u32; 3]>Minimum kernel from NT_GNU_ABI_TAG (Linux only), as [major, minor, patch].
relr: boolDT_RELR relative relocations are present.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Elf<'a>
impl<'a> RefUnwindSafe for Elf<'a>
impl<'a> Send for Elf<'a>
impl<'a> Sync for Elf<'a>
impl<'a> Unpin for Elf<'a>
impl<'a> UnsafeUnpin for Elf<'a>
impl<'a> UnwindSafe for Elf<'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