Struct object::Symbol [−][src]
pub struct Symbol<'data> { /* fields omitted */ }
A symbol table entry.
Methods
impl<'data> Symbol<'data>
[src]
impl<'data> Symbol<'data>
pub fn kind(&self) -> SymbolKind
[src]
pub fn kind(&self) -> SymbolKind
Return the kind of this symbol.
pub fn section_kind(&self) -> Option<SectionKind>
[src]
pub fn section_kind(&self) -> Option<SectionKind>
Returns the section kind for the symbol, or None
if the symbol is undefined.
pub fn is_undefined(&self) -> bool
[src]
pub fn is_undefined(&self) -> bool
Return true if the symbol is undefined.
pub fn is_global(&self) -> bool
[src]
pub fn is_global(&self) -> bool
Return true if the symbol is global.
pub fn is_local(&self) -> bool
[src]
pub fn is_local(&self) -> bool
Return true if the symbol is local.
pub fn name(&self) -> Option<&'data str>
[src]
pub fn name(&self) -> Option<&'data str>
The name of the symbol.
pub fn address(&self) -> u64
[src]
pub fn address(&self) -> u64
The address of the symbol. May be zero if the address is unknown.
pub fn size(&self) -> u64
[src]
pub fn size(&self) -> u64
The size of the symbol. May be zero if the size is unknown.