lldb.SBBlock

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

# Class SBBlock

source code

Represents a lexical block. SBFunction contains SBBlock(s).

Nested Classes | [hide private]
| ranges_access A helper object that will lazily hand out an array of lldb.SBAddress that represent address ranges for a block.

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
__init__(self, *args) __init__(lldb::SBBlock self) -> SBBlock __init__(lldb::SBBlock self, SBBlock rhs) -> SBBlock | source code
__swig_destroy__(...) delete_SBBlock(SBBlock self) |
__del__(self) | source code
IsInlined(self) IsInlined(SBBlock self) -> bool | source code
__nonzero__(self) | source code
IsValid(self) IsValid(SBBlock self) -> bool | source code
GetInlinedName(self) GetInlinedName(SBBlock self) -> str const * | source code
GetInlinedCallSiteFile(self) GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec | source code
GetInlinedCallSiteLine(self) GetInlinedCallSiteLine(SBBlock self) -> uint32_t | source code
GetInlinedCallSiteColumn(self) GetInlinedCallSiteColumn(SBBlock self) -> uint32_t | source code
GetParent(self) GetParent(SBBlock self) -> SBBlock | source code
GetContainingInlinedBlock(self) GetContainingInlinedBlock(SBBlock self) -> SBBlock | source code
GetSibling(self) GetSibling(SBBlock self) -> SBBlock | source code
GetFirstChild(self) GetFirstChild(SBBlock self) -> SBBlock | source code
GetNumRanges(self) GetNumRanges(SBBlock self) -> uint32_t | source code
GetRangeStartAddress(self, *args) GetRangeStartAddress(SBBlock self, uint32_t idx) -> SBAddress | source code
GetRangeEndAddress(self, *args) GetRangeEndAddress(SBBlock self, uint32_t idx) -> SBAddress | source code
GetRangeIndexForBlockAddress(self, *args) GetRangeIndexForBlockAddress(SBBlock self, SBAddress block_addr) -> uint32_t | source code
GetDescription(self, *args) GetDescription(SBBlock self, SBStream description) -> bool | source code
GetVariables(self, *args) GetVariables(SBBlock self, SBFrame frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic) -> SBValueList GetVariables(SBBlock self, SBTarget target, bool arguments, bool locals, bool statics) -> SBValueList | source code
get_range_at_index(self, idx) | source code
get_ranges_access_object(self) An accessor function that returns a ranges_access() object which allows lazy block address ranges access. | source code
get_ranges_array(self) An accessor function that returns an array object that contains all ranges in this block object. | source code
get_call_site(self) | source code
__str__(self) __str__(SBBlock self) -> PyObject * | 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]
| call_site A read only property that returns a lldb.declaration object that contains the inlined call site file, line and column.
| first_child A read only property that returns the same result as GetFirstChild().
| inlined_block A read only property that returns the same result as GetContainingInlinedBlock().
| name A read only property that returns the same result as GetInlinedName().
| num_ranges A read only property that returns the same result as GetNumRanges().
| parent A read only property that returns the same result as GetParent().
| range A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAdddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]").
| ranges A read only property that returns a list() object that contains all of the address ranges for the block.
| sibling A read only property that returns the same result as GetSibling().
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::SBBlock self) -> SBBlock __init__(lldb::SBBlock self, SBBlock rhs) -> SBBlock Overrides: object.__init__

### IsInlined(self) | source code
IsInlined(SBBlock self) -> bool Does this block represent an inlined function?

### GetInlinedName(self) | source code
GetInlinedName(SBBlock self) -> str const * Get the function name if this block represents an inlined function; otherwise, return None.

### GetInlinedCallSiteFile(self) | source code
GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec Get the call site file if this block represents an inlined function; otherwise, return an invalid file spec.

### GetInlinedCallSiteLine(self) | source code
GetInlinedCallSiteLine(SBBlock self) -> uint32_t Get the call site line if this block represents an inlined function; otherwise, return 0.

### GetInlinedCallSiteColumn(self) | source code
GetInlinedCallSiteColumn(SBBlock self) -> uint32_t Get the call site column if this block represents an inlined function; otherwise, return 0.

### GetParent(self) | source code
GetParent(SBBlock self) -> SBBlock Get the parent block.

### GetContainingInlinedBlock(self) | source code
GetContainingInlinedBlock(SBBlock self) -> SBBlock Get the inlined block that is or contains this block.

### GetSibling(self) | source code
GetSibling(SBBlock self) -> SBBlock Get the sibling block for this block.

### GetFirstChild(self) | source code
GetFirstChild(SBBlock self) -> SBBlock Get the first child block.

### __str__(self) (Informal representation operator) | source code
__str__(SBBlock self) -> PyObject * Overrides: object.__str__

Property Details | [hide private]

### call_site A read only property that returns a lldb.declaration object that contains the inlined call site file, line and column. Get Method: get_call_site(self)

### first_child A read only property that returns the same result as GetFirstChild(). Get Method: GetFirstChild(self) - GetFirstChild(SBBlock self) -> SBBlock

### inlined_block A read only property that returns the same result as GetContainingInlinedBlock(). Get Method: GetContainingInlinedBlock(self) - GetContainingInlinedBlock(SBBlock self) -> SBBlock

### name A read only property that returns the same result as GetInlinedName(). Get Method: GetInlinedName(self) - GetInlinedName(SBBlock self) -> str const *

### num_ranges A read only property that returns the same result as GetNumRanges(). Get Method: GetNumRanges(self) - GetNumRanges(SBBlock self) -> uint32_t

### parent A read only property that returns the same result as GetParent(). Get Method: GetParent(self) - GetParent(SBBlock self) -> SBBlock

### range A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAdddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]"). Get Method: get_ranges_access_object(self) - An accessor function that returns a ranges_access() object which allows lazy block address ranges access.

### ranges A read only property that returns a list() object that contains all of the address ranges for the block. Get Method: get_ranges_array(self) - An accessor function that returns an array object that contains all ranges in this block object.

### sibling A read only property that returns the same result as GetSibling(). Get Method: GetSibling(self) - GetSibling(SBBlock self) -> SBBlock