Struct goblin::mach::load_command::SymsegCommand
source · #[repr(C)]pub struct SymsegCommand {
pub cmd: u32,
pub cmdsize: u32,
pub offset: u32,
pub size: u32,
}
Expand description
The symseg_command contains the offset and size of the GNU style symbol table information as described in the header file <symseg.h>. The symbol roots of the symbol segments must also be aligned properly in the file. So the requirement of keeping the offsets aligned to a multiple of a 4 bytes translates to the length field of the symbol roots also being a multiple of a long. Also the padding must again be zeroed. (THIS IS OBSOLETE and no longer supported).
Fields§
§cmd: u32
LC_SYMSEG
cmdsize: u32
sizeof(struct symseg_command)
offset: u32
symbol segment offset
size: u32
symbol segment size in bytes
Trait Implementations§
source§impl Clone for SymsegCommand
impl Clone for SymsegCommand
source§fn clone(&self) -> SymsegCommand
fn clone(&self) -> SymsegCommand
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 SymsegCommand
impl Debug for SymsegCommand
source§impl<'a> IntoCtx<Endian> for &'a SymsegCommand
impl<'a> IntoCtx<Endian> for &'a SymsegCommand
source§impl<'a> TryFromCtx<'a, Endian> for SymsegCommandwhere
SymsegCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for SymsegCommandwhere SymsegCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a SymsegCommand
impl<'a> TryIntoCtx<Endian> for &'a SymsegCommand
source§impl TryIntoCtx<Endian> for SymsegCommand
impl TryIntoCtx<Endian> for SymsegCommand
impl Copy for SymsegCommand
Auto Trait Implementations§
impl RefUnwindSafe for SymsegCommand
impl Send for SymsegCommand
impl Sync for SymsegCommand
impl Unpin for SymsegCommand
impl UnwindSafe for SymsegCommand
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