[−][src]Struct goblin::mach::symbols::Nlist
Fields
n_strx: usize
index into the string table
n_type: u8
type flag, see below
n_sect: usize
section number or NO_SECT
n_desc: u16
see <mach-o/stab.h>
n_value: u64
value of this symbol (or stab offset)
Methods
impl Nlist
[src]
pub fn get_type(&self) -> u8
[src]
Gets this symbol's type in bits 0xe
pub fn type_str(&self) -> &'static str
[src]
Gets the str representation of the type of this symbol
pub fn is_global(&self) -> bool
[src]
Whether this symbol is global or not
pub fn is_undefined(&self) -> bool
[src]
Whether this symbol is undefined or not
pub fn is_stab(&self) -> bool
[src]
Whether this symbol is a symbolic debugging entry
Trait Implementations
impl Clone for Nlist
[src]
fn clone(&self) -> Nlist
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Nlist32> for Nlist
[src]
impl From<Nlist64> for Nlist
[src]
impl From<Nlist> for Nlist32
[src]
impl From<Nlist> for Nlist64
[src]
impl Debug for Nlist
[src]
impl<'a> TryFromCtx<'a, Ctx, [u8]> for Nlist
[src]
type Error = Error
type Size = usize
fn try_from_ctx(
bytes: &'a [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<(Self, Self::Size)>
[src]
bytes: &'a [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<(Self, Self::Size)>
impl IntoCtx<Ctx, [u8]> for Nlist
[src]
impl TryIntoCtx<Ctx, [u8]> for Nlist
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
bytes: &mut [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<Self::Size, Self::Error>
[src]
self,
bytes: &mut [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<Self::Size, Self::Error>
impl SizeWith<Ctx> for Nlist
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,