pub struct Elf64<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Elf64<'a>
impl<'a> Elf64<'a>
pub fn new(raw: &'a [u8]) -> Result<Self, Error>
pub fn class(&self) -> Class
pub fn encoding(&self) -> Encoding
pub fn version(&self) -> u8
pub fn abi(&self) -> Abi
pub fn abi_version(&self) -> u8
pub fn ty(&self) -> Type
pub fn machine(&self) -> Machine
pub fn format_version(&self) -> u32
pub fn entry(&self) -> Address
pub fn flags(&self) -> u32
pub fn program_number(&self) -> usize
pub fn program(&self, index: usize) -> Result<Option<Program<'a>>, Error>
pub fn section_number(&self) -> usize
pub fn section(&self, index: usize) -> Result<Option<Section<'a>>, Error>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Elf64<'a>
impl<'a> Send for Elf64<'a>
impl<'a> Sync for Elf64<'a>
impl<'a> Unpin for Elf64<'a>
impl<'a> UnwindSafe for Elf64<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more