Struct lief::macho::commands::EncryptionInfo
pub struct EncryptionInfo<'a> { /* private fields */ }
Expand description
Structure that represents the LC_ENCRYPTION_INFO / LC_ENCRYPTION_INFO_64 commands
The encryption info is usually present in Mach-O executables that target iOS to encrypt some sections of the binary
Implementations§
§impl EncryptionInfo<'_>
impl EncryptionInfo<'_>
pub fn crypt_offset(&self) -> u32
pub fn crypt_offset(&self) -> u32
The beginning of the encrypted area
pub fn crypt_size(&self) -> u32
pub fn crypt_size(&self) -> u32
The size of the encrypted area
Trait Implementations§
§impl Command for EncryptionInfo<'_>
impl Command for EncryptionInfo<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EncryptionInfo<'a>
impl<'a> !Send for EncryptionInfo<'a>
impl<'a> !Sync for EncryptionInfo<'a>
impl<'a> Unpin for EncryptionInfo<'a>
impl<'a> UnwindSafe for EncryptionInfo<'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