Struct goblin::mach::load_command::EncryptionInfoCommand64
source · [−]#[repr(C)]pub struct EncryptionInfoCommand64 {
pub cmd: u32,
pub cmdsize: u32,
pub cryptoff: u32,
pub cryptsize: u32,
pub cryptid: u32,
pub pad: u32,
}
Expand description
The encryption_info_command_64 contains the file offset and size of an of an encrypted segment (for use in x86_64 targets).
Fields
cmd: u32
LC_ENCRYPTION_INFO_64
cmdsize: u32
sizeof(struct encryption_info_command_64)
cryptoff: u32
file offset of encrypted range
cryptsize: u32
file size of encrypted range
cryptid: u32
which enryption system, 0 means not-encrypted yet
pad: u32
padding to make this struct’s size a multiple of 8 bytes
Trait Implementations
sourceimpl Clone for EncryptionInfoCommand64
impl Clone for EncryptionInfoCommand64
sourcefn clone(&self) -> EncryptionInfoCommand64
fn clone(&self) -> EncryptionInfoCommand64
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EncryptionInfoCommand64
impl Debug for EncryptionInfoCommand64
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for EncryptionInfoCommand64 where
EncryptionInfoCommand64: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for EncryptionInfoCommand64 where
EncryptionInfoCommand64: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a EncryptionInfoCommand64
impl<'a> TryIntoCtx<Endian, [u8]> for &'a EncryptionInfoCommand64
sourceimpl TryIntoCtx<Endian, [u8]> for EncryptionInfoCommand64
impl TryIntoCtx<Endian, [u8]> for EncryptionInfoCommand64
impl Copy for EncryptionInfoCommand64
Auto Trait Implementations
impl RefUnwindSafe for EncryptionInfoCommand64
impl Send for EncryptionInfoCommand64
impl Sync for EncryptionInfoCommand64
impl Unpin for EncryptionInfoCommand64
impl UnwindSafe for EncryptionInfoCommand64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more