pub struct BinaryMetadata {
pub size: usize,
pub format: BinaryFormat,
pub architecture: Architecture,
pub entry_point: Option<u64>,
pub base_address: Option<u64>,
pub timestamp: Option<u64>,
pub compiler_info: Option<String>,
pub endian: Endianness,
pub security_features: SecurityFeatures,
}
Expand description
Binary metadata
Fields§
§size: usize
File size in bytes
format: BinaryFormat
Detected format
architecture: Architecture
Target architecture
entry_point: Option<u64>
Entry point address
base_address: Option<u64>
Base address for loading
timestamp: Option<u64>
Compilation timestamp
compiler_info: Option<String>
Compiler information
endian: Endianness
Endianness
security_features: SecurityFeatures
Security features
Trait Implementations§
Source§impl Clone for BinaryMetadata
impl Clone for BinaryMetadata
Source§fn clone(&self) -> BinaryMetadata
fn clone(&self) -> BinaryMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BinaryMetadata
impl Debug for BinaryMetadata
Auto Trait Implementations§
impl Freeze for BinaryMetadata
impl RefUnwindSafe for BinaryMetadata
impl Send for BinaryMetadata
impl Sync for BinaryMetadata
impl Unpin for BinaryMetadata
impl UnwindSafe for BinaryMetadata
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