Struct goblin::mach::header::Header64 [−][src]
A 64-bit Mach-o header
Fields
magic: u32
mach magic number identifier
cputype: u32
cpu specifier
cpusubtype: u32
machine specifier
filetype: u32
type of file
ncmds: u32
number of load commands
sizeofcmds: u32
the size of all the load commands
flags: u32
flags
reserved: u32
Implementations
impl Header64
[src][−]
pub fn from_bytes(bytes: &[u8; 32]) -> &Self
[src][−]
Transmutes the given byte array into the corresponding 64-bit Mach-o header
pub fn size(&self) -> usize
[src]
Trait Implementations
impl Clone for Header64
[src][+]
impl Copy for Header64
[src]
impl Debug for Header64
[src][+]
impl Default for Header64
[src][+]
impl From<Header> for Header64
[src][+]
impl From<Header64> for Header
[src][+]
impl Plain for Header64
[src][+]
impl SizeWith<Endian> for Header64
[src][+]
impl<'a> TryFromCtx<'a, Endian, [u8]> for Header64 where
Header64: 'a,
[src][+]
Header64: 'a,
impl<'a> TryIntoCtx<Endian, [u8]> for &'a Header64
[src][+]
impl TryIntoCtx<Endian, [u8]> for Header64
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for Header64
impl Send for Header64
impl Sync for Header64
impl Unpin for Header64
impl UnwindSafe for Header64
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,