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