Struct goblin::mach::load_command::NoteCommand
source · #[repr(C)]pub struct NoteCommand {
pub cmd: u32,
pub cmdsize: u32,
pub data_owner: [u8; 16],
pub offset: u64,
pub size: u64,
}
Expand description
LC_NOTE commands describe a region of arbitrary data included in a Mach-O file. Its initial use is to record extra data in MH_CORE files.
Fields§
§cmd: u32
LC_NOTE
cmdsize: u32
§data_owner: [u8; 16]
owner name for this LC_NOTE
offset: u64
file offset of this data
size: u64
length of data region
Trait Implementations§
source§impl Clone for NoteCommand
impl Clone for NoteCommand
source§fn clone(&self) -> NoteCommand
fn clone(&self) -> NoteCommand
Returns a copy 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 NoteCommand
impl Debug for NoteCommand
source§impl<'a> IntoCtx<Endian> for &'a NoteCommand
impl<'a> IntoCtx<Endian> for &'a NoteCommand
source§impl<'a> TryFromCtx<'a, Endian> for NoteCommandwhere
NoteCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for NoteCommandwhere
NoteCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a NoteCommand
impl<'a> TryIntoCtx<Endian> for &'a NoteCommand
source§impl TryIntoCtx<Endian> for NoteCommand
impl TryIntoCtx<Endian> for NoteCommand
impl Copy for NoteCommand
Auto Trait Implementations§
impl Freeze for NoteCommand
impl RefUnwindSafe for NoteCommand
impl Send for NoteCommand
impl Sync for NoteCommand
impl Unpin for NoteCommand
impl UnwindSafe for NoteCommand
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