Struct goblin::elf::sym::Sym [−][src]
pub struct Sym { pub st_name: usize, pub st_info: u8, pub st_other: u8, pub st_shndx: usize, pub st_value: u64, pub st_size: u64, }
Expand description
A unified Sym definition - convertible to and from 32-bit and 64-bit variants
Fields
st_name: usize
st_info: u8
st_other: u8
st_shndx: usize
st_value: u64
st_size: u64
Implementations
Checks whether this Sym
has STB_GLOBAL
/STB_WEAK
bind and a st_value
of 0
Checks whether this Sym
has type STT_FUNC
Get the ST visibility.
This is the last three bits of the “other” byte.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sym
impl UnwindSafe for Sym
Blanket Implementations
Mutably borrows from an owned value. Read more