pub struct SBSymbol {
pub raw: SBSymbolRef,
}Expand description
The symbol possibly associated with a stack frame.
Fields§
§raw: SBSymbolRefThe underlying raw SBSymbolRef.
Implementations§
Source§impl SBSymbol
impl SBSymbol
Sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
The display name for the function, as it should be seen in a UI.
Sourcepub fn mangled_name(&self) -> Option<&str>
pub fn mangled_name(&self) -> Option<&str>
The mangled (linkage) name for this function.
pub fn get_instructions( &self, target: &SBTarget, flavor: DisassemblyFlavor, ) -> SBInstructionList
Sourcepub fn start_address(&self) -> Option<SBAddress>
pub fn start_address(&self) -> Option<SBAddress>
Get the address that this symbol refers to, if present.
Sourcepub fn end_address(&self) -> Option<SBAddress>
pub fn end_address(&self) -> Option<SBAddress>
If the symbol has an address and the underlying value has a non-zero size, this will have the address of the end of the value.
Note: It seems unfortunate that if the underlying value is 0-sized,
this will result in None rather than the same address as the
start_address.
Sourcepub fn prologue_byte_size(&self) -> u32
pub fn prologue_byte_size(&self) -> u32
Get the size of the function prologue, in bytes.
Sourcepub fn symbol_type(&self) -> SymbolType
pub fn symbol_type(&self) -> SymbolType
What type of symbol is this?
Sourcepub fn is_external(&self) -> bool
pub fn is_external(&self) -> bool
Is this symbol externally visible (exported) from the module that contains it?
Sourcepub fn is_synthetic(&self) -> bool
pub fn is_synthetic(&self) -> bool
Is this symbol synthetically created from information in the module that contains it?