Package lldb :: Class SBSymbol
[hide private]
[frames] | no frames]

Class SBSymbol

source code


Represents the symbol possibly associated with a stack frame. SBModule contains SBSymbol(s). SBSymbol can also be retrived from SBFrame.

See also SBModule and SBFrame.

Instance Methods [hide private]
 
__setattr__(self, name, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
__getattr__(self, name) source code
 
__repr__(self)
repr(x)
source code
 
__swig_destroy__(...)
delete_SBSymbol(SBSymbol self)
 
__del__(self) source code
 
__init__(self, *args)
__init__(lldb::SBSymbol self) -> SBSymbol __init__(lldb::SBSymbol self, SBSymbol rhs) -> SBSymbol
source code
 
__nonzero__(self) source code
 
IsValid(self)
IsValid(SBSymbol self) -> bool
source code
 
GetName(self)
GetName(SBSymbol self) -> str const *
source code
 
GetMangledName(self)
GetMangledName(SBSymbol self) -> str const *
source code
 
GetInstructions(self, *args)
GetInstructions(SBSymbol self, SBTarget target) -> SBInstructionList GetInstructions(SBSymbol self, SBTarget target, str const * flavor_string) -> SBInstructionList
source code
 
GetStartAddress(self)
GetStartAddress(SBSymbol self) -> SBAddress
source code
 
GetEndAddress(self)
GetEndAddress(SBSymbol self) -> SBAddress
source code
 
GetPrologueByteSize(self)
GetPrologueByteSize(SBSymbol self) -> uint32_t
source code
 
GetType(self)
GetType(SBSymbol self) -> lldb::SymbolType
source code
 
GetDescription(self, *args)
GetDescription(SBSymbol self, SBStream description) -> bool
source code
 
IsExternal(self)
IsExternal(SBSymbol self) -> bool
source code
 
IsSynthetic(self)
IsSynthetic(SBSymbol self) -> bool
source code
 
get_instructions_from_current_target(self) source code
 
__str__(self)
__str__(SBSymbol self) -> PyObject *
source code
 
__eq__(self, rhs) source code
 
__ne__(self, rhs) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __swig_setmethods__ = {}
  __swig_getmethods__ = {}
Properties [hide private]
  addr
A read only property that returns an lldb object that represents the start address (lldb.SBAddress) for this symbol.
  end_addr
A read only property that returns an lldb object that represents the end address (lldb.SBAddress) for this symbol.
  external
A read only property that returns a boolean value that indicates if this symbol is externally visiable (exported) from the module that contains it.
  instructions
A read only property that returns an lldb object that represents the instructions (lldb.SBInstructionList) for this symbol.
  mangled
A read only property that returns the mangled (linkage) name for this symbol as a string.
  name
A read only property that returns the name for this symbol as a string.
  prologue_size
A read only property that returns the size in bytes of the prologue instructions as an unsigned integer.
  synthetic
A read only property that returns a boolean value that indicates if this symbol was synthetically created from information in module that contains it.
  type
A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eSymbolType") that represents the type of this symbol.

Inherited from object: __class__

Method Details [hide private]

__setattr__(self, name, value)

source code 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__init__(self, *args)
(Constructor)

source code 

__init__(lldb::SBSymbol self) -> SBSymbol __init__(lldb::SBSymbol self, SBSymbol rhs) -> SBSymbol

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

__str__(SBSymbol self) -> PyObject *

Overrides: object.__str__

Property Details [hide private]

addr

A read only property that returns an lldb object that represents the start address (lldb.SBAddress) for this symbol.

Get Method:
GetStartAddress(self) - GetStartAddress(SBSymbol self) -> SBAddress

end_addr

A read only property that returns an lldb object that represents the end address (lldb.SBAddress) for this symbol.

Get Method:
GetEndAddress(self) - GetEndAddress(SBSymbol self) -> SBAddress

external

A read only property that returns a boolean value that indicates if this symbol is externally visiable (exported) from the module that contains it.

Get Method:
IsExternal(self) - IsExternal(SBSymbol self) -> bool

instructions

A read only property that returns an lldb object that represents the instructions (lldb.SBInstructionList) for this symbol.

Get Method:
get_instructions_from_current_target(self)

mangled

A read only property that returns the mangled (linkage) name for this symbol as a string.

Get Method:
GetMangledName(self) - GetMangledName(SBSymbol self) -> str const *

name

A read only property that returns the name for this symbol as a string.

Get Method:
GetName(self) - GetName(SBSymbol self) -> str const *

prologue_size

A read only property that returns the size in bytes of the prologue instructions as an unsigned integer.

Get Method:
GetPrologueByteSize(self) - GetPrologueByteSize(SBSymbol self) -> uint32_t

synthetic

A read only property that returns a boolean value that indicates if this symbol was synthetically created from information in module that contains it.

Get Method:
IsSynthetic(self) - IsSynthetic(SBSymbol self) -> bool

type

A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eSymbolType") that represents the type of this symbol.

Get Method:
GetType(self) - GetType(SBSymbol self) -> lldb::SymbolType