pub struct BinaryFile { /* private fields */ }
Expand description
Parsed binary file representation
Implementations§
Source§impl BinaryFile
impl BinaryFile
Sourcepub fn format(&self) -> BinaryFormat
pub fn format(&self) -> BinaryFormat
Get the binary format type
Sourcepub fn architecture(&self) -> Architecture
pub fn architecture(&self) -> Architecture
Get the target architecture
Sourcepub fn entry_point(&self) -> Option<u64>
pub fn entry_point(&self) -> Option<u64>
Get the entry point address
Sourcepub fn metadata(&self) -> &BinaryMetadata
pub fn metadata(&self) -> &BinaryMetadata
Get binary metadata
Auto Trait Implementations§
impl Freeze for BinaryFile
impl !RefUnwindSafe for BinaryFile
impl Send for BinaryFile
impl Sync for BinaryFile
impl Unpin for BinaryFile
impl !UnwindSafe for BinaryFile
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