Struct goblin::mach::symbols::Nlist [−][src]
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)
Implementations
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_weak(&self) -> bool
[src]
Whether this symbol is weak 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]
impl Debug for Nlist
[src]
impl From<Nlist> for Nlist32
[src]
impl From<Nlist> for Nlist64
[src]
impl From<Nlist32> for Nlist
[src]
impl From<Nlist64> for Nlist
[src]
impl IntoCtx<Ctx, [u8]> for Nlist
[src]
impl SizeWith<Ctx> for Nlist
[src]
impl<'a> TryFromCtx<'a, Ctx, [u8]> for Nlist
[src]
type Error = Error
fn try_from_ctx(
bytes: &'a [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<(Self, usize)>
[src]
bytes: &'a [u8],
container::Ctx { container: container, le: le }: Ctx
) -> Result<(Self, usize)>
impl TryIntoCtx<Ctx, [u8]> for Nlist
[src]
Auto Trait Implementations
impl RefUnwindSafe for Nlist
impl Send for Nlist
impl Sync for Nlist
impl Unpin for Nlist
impl UnwindSafe for Nlist
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,