forked from OSchip/llvm-project
1304 lines
55 KiB
HTML
1304 lines
55 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>lldb.SBAddress</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="lldb-module.html">Package lldb</a> ::
|
|
Class SBAddress
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
|
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
|
<tr><td align="right"><span class="options"
|
|
>[<a href="frames.html" target="_top">frames</a
|
|
>] | <a href="lldb.SBAddress-class.html"
|
|
target="_top">no frames</a>]</span></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
<h1 class="epydoc">Class SBAddress</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBAddress">source code</a></span></p>
|
|
<center>
|
|
<center> <map id="uml_class_diagram_for_lldb_sba" name="uml_class_diagram_for_lldb_sba">
|
|
<area shape="rect" id="node1_26" href="lldb.SBAddress-class.html#__swig_setmethods__" title="lldb.SBAddress.__swig_setmethods__" alt="" coords="17,32,197,52"/>
|
|
<area shape="rect" id="node1_27" href="lldb.SBAddress-class.html#__swig_getmethods__" title="lldb.SBAddress.__swig_getmethods__" alt="" coords="17,52,197,72"/>
|
|
<area shape="rect" id="node1_28" href="lldb.SBAddress-class.html#block" title="A read only property that returns an lldb object that represents the block  (lldb.SBBlock) that this address resides within." alt="" coords="17,72,197,92"/>
|
|
<area shape="rect" id="node1_29" href="lldb.SBAddress-class.html#compile_unit" title="A read only property that returns an lldb object that represents the  compile unit (lldb.SBCompileUnit) that this address resides within." alt="" coords="17,92,197,112"/>
|
|
<area shape="rect" id="node1_30" href="lldb.SBAddress-class.html#file_addr" title="A read only property that returns file address for the section as an  integer." alt="" coords="17,112,197,132"/>
|
|
<area shape="rect" id="node1_31" href="lldb.SBAddress-class.html#function" title="A read only property that returns an lldb object that represents the  function (lldb.SBFunction) that this address resides within." alt="" coords="17,132,197,152"/>
|
|
<area shape="rect" id="node1_32" href="lldb.SBAddress-class.html#line_entry" title="A read only property that returns an lldb object that represents the line  entry (lldb.SBLineEntry) that this address resides within." alt="" coords="17,152,197,172"/>
|
|
<area shape="rect" id="node1_33" href="lldb.SBAddress-class.html#load_addr" title="A read/write property that gets/sets the SBAddress using load address." alt="" coords="17,172,197,192"/>
|
|
<area shape="rect" id="node1_34" href="lldb.SBAddress-class.html#module" title="A read only property that returns an lldb object that represents the module (lldb.SBModule) that this address resides within." alt="" coords="17,192,197,212"/>
|
|
<area shape="rect" id="node1_35" href="lldb.SBAddress-class.html#offset" title="A read only property that returns the section offset in bytes as an  integer." alt="" coords="17,212,197,232"/>
|
|
<area shape="rect" id="node1_36" href="lldb.SBAddress-class.html#section" title="A read only property that returns an lldb object that represents the  section (lldb.SBSection) that this address resides within." alt="" coords="17,232,197,252"/>
|
|
<area shape="rect" id="node1_37" href="lldb.SBAddress-class.html#symbol" title="A read only property that returns an lldb object that represents the symbol (lldb.SBSymbol) that this address resides within." alt="" coords="17,252,197,272"/>
|
|
<area shape="rect" id="node1_38" href="lldb.SBAddress-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,275,197,295"/>
|
|
<area shape="rect" id="node1_39" href="lldb.SBAddress-class.html#__getattr__" title="lldb.SBAddress.__getattr__" alt="" coords="17,295,197,315"/>
|
|
<area shape="rect" id="node1_40" href="lldb.SBAddress-class.html#__repr__" title="repr(x)" alt="" coords="17,315,197,335"/>
|
|
<area shape="rect" id="node1_41" href="lldb.SBAddress-class.html#__eq__" title="lldb.SBAddress.__eq__" alt="" coords="17,335,197,355"/>
|
|
<area shape="rect" id="node1_42" href="lldb.SBAddress-class.html#__ne__" title="lldb.SBAddress.__ne__" alt="" coords="17,355,197,375"/>
|
|
<area shape="rect" id="node1_43" href="lldb.SBAddress-class.html#__init__" title="__init__(lldb::SBAddress self) -> SBAddress __init__(lldb::SBAddress self,  SBAddress rhs) -> SBAddress __init__(lldb::SBAddress self, SBSection  section, lldb::addr_t offset) -> SBAddress __init__(lldb::SBAddress self,  lldb::addr_t load_addr, SBTarget target) -> SBAddress" alt="" coords="17,375,197,395"/>
|
|
<area shape="rect" id="node1_44" href="lldb.SBAddress-class.html#__swig_destroy__" title="delete_SBAddress(SBAddress self)" alt="" coords="17,395,197,415"/>
|
|
<area shape="rect" id="node1_45" href="lldb.SBAddress-class.html#__del__" title="lldb.SBAddress.__del__" alt="" coords="17,415,197,435"/>
|
|
<area shape="rect" id="node1_46" href="lldb.SBAddress-class.html#__nonzero__" title="lldb.SBAddress.__nonzero__" alt="" coords="17,435,197,455"/>
|
|
<area shape="rect" id="node1_47" href="lldb.SBAddress-class.html#IsValid" title="IsValid(SBAddress self) -> bool" alt="" coords="17,455,197,475"/>
|
|
<area shape="rect" id="node1_48" href="lldb.SBAddress-class.html#Clear" title="Clear(SBAddress self)" alt="" coords="17,475,197,495"/>
|
|
<area shape="rect" id="node1_49" href="lldb.SBAddress-class.html#GetFileAddress" title="GetFileAddress(SBAddress self) -> lldb::addr_t" alt="" coords="17,495,197,515"/>
|
|
<area shape="rect" id="node1_50" href="lldb.SBAddress-class.html#GetLoadAddress" title="GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t" alt="" coords="17,515,197,535"/>
|
|
<area shape="rect" id="node1_51" href="lldb.SBAddress-class.html#__str__" title="__str__(SBAddress self) -> PyObject *" alt="" coords="17,555,197,575"/>
|
|
<area shape="rect" id="node1" href="lldb.SBAddress-class.html" title="A section + offset based address class." alt="" coords="5,6,209,581"/>
|
|
</map>
|
|
<img src="uml_class_diagram_for_lldb_sba.gif" alt='' usemap="#uml_class_diagram_for_lldb_sba" ismap="ismap" class="graph-without-title" />
|
|
</center>
|
|
</center>
|
|
<hr />
|
|
<pre class="literalblock">
|
|
|
|
A section + offset based address class.
|
|
|
|
The SBAddress class allows addresses to be relative to a section
|
|
that can move during runtime due to images (executables, shared
|
|
libraries, bundles, frameworks) being loaded at different
|
|
addresses than the addresses found in the object file that
|
|
represents them on disk. There are currently two types of addresses
|
|
for a section:
|
|
o file addresses
|
|
o load addresses
|
|
|
|
File addresses represents the virtual addresses that are in the 'on
|
|
disk' object files. These virtual addresses are converted to be
|
|
relative to unique sections scoped to the object file so that
|
|
when/if the addresses slide when the images are loaded/unloaded
|
|
in memory, we can easily track these changes without having to
|
|
update every object (compile unit ranges, line tables, function
|
|
address ranges, lexical block and inlined subroutine address
|
|
ranges, global and static variables) each time an image is loaded or
|
|
unloaded.
|
|
|
|
Load addresses represents the virtual addresses where each section
|
|
ends up getting loaded at runtime. Before executing a program, it
|
|
is common for all of the load addresses to be unresolved. When a
|
|
DynamicLoader plug-in receives notification that shared libraries
|
|
have been loaded/unloaded, the load addresses of the main executable
|
|
and any images (shared libraries) will be resolved/unresolved. When
|
|
this happens, breakpoints that are in one of these sections can be
|
|
set/cleared.
|
|
|
|
See docstring of SBFunction for example usage of SBAddress.
|
|
|
|
</pre>
|
|
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
<a name="section-InstanceMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Instance Methods</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-InstanceMethods"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">name</span>,
|
|
<span class="summary-sig-arg">value</span>)</span><br />
|
|
x.__setattr__('name', value) <==> x.name = value</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__setattr__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">name</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__getattr__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
repr(x)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">other</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__eq__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">other</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__ne__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
__init__(lldb::SBAddress self) -> SBAddress
|
|
__init__(lldb::SBAddress self, SBAddress rhs) -> SBAddress
|
|
__init__(lldb::SBAddress self, SBSection section, lldb::addr_t
|
|
offset) -> SBAddress __init__(lldb::SBAddress self, lldb::addr_t
|
|
load_addr, SBTarget target) -> SBAddress</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__init__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__swig_destroy__"></a><span class="summary-sig-name">__swig_destroy__</span>(<span class="summary-sig-arg">...</span>)</span><br />
|
|
delete_SBAddress(SBAddress self)</td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__del__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__nonzero__"></a><span class="summary-sig-name">__nonzero__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__nonzero__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
IsValid(SBAddress self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.IsValid">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="Clear"></a><span class="summary-sig-name">Clear</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Clear(SBAddress self)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.Clear">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetFileAddress"></a><span class="summary-sig-name">GetFileAddress</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetFileAddress(SBAddress self) -> lldb::addr_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetFileAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetLoadAddress"></a><span class="summary-sig-name">GetLoadAddress</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetLoadAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="SetLoadAddress"></a><span class="summary-sig-name">SetLoadAddress</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
SetLoadAddress(SBAddress self, lldb::addr_t load_addr, SBTarget
|
|
target)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.SetLoadAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="OffsetAddress"></a><span class="summary-sig-name">OffsetAddress</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
OffsetAddress(SBAddress self, lldb::addr_t offset) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.OffsetAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetDescription(SBAddress self, SBStream description) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetDescription">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetSection"></a><span class="summary-sig-name">GetSection</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetSection(SBAddress self) -> SBSection</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSection">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetOffset"></a><span class="summary-sig-name">GetOffset</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetOffset(SBAddress self) -> lldb::addr_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetOffset">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="SetAddress"></a><span class="summary-sig-name">SetAddress</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
SetAddress(SBAddress self, SBSection section, lldb::addr_t offset)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.SetAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetAddressClass"></a><span class="summary-sig-name">GetAddressClass</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetAddressClass(SBAddress self) -> lldb::AddressClass</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetAddressClass">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSymbolContext" class="summary-sig-name">GetSymbolContext</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetSymbolContext(SBAddress self, uint32_t resolve_scope) ->
|
|
SBSymbolContext</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbolContext">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetModule" class="summary-sig-name">GetModule</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetModule(SBAddress self) -> SBModule</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetModule">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetCompileUnit"></a><span class="summary-sig-name">GetCompileUnit</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetCompileUnit(SBAddress self) -> SBCompileUnit</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetCompileUnit">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetFunction"></a><span class="summary-sig-name">GetFunction</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetFunction(SBAddress self) -> SBFunction</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetFunction">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetBlock"></a><span class="summary-sig-name">GetBlock</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetBlock(SBAddress self) -> SBBlock</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetBlock">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetSymbol"></a><span class="summary-sig-name">GetSymbol</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetSymbol(SBAddress self) -> SBSymbol</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbol">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetLineEntry"></a><span class="summary-sig-name">GetLineEntry</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetLineEntry(SBAddress self) -> SBLineEntry</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetLineEntry">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__get_load_addr_property__"></a><span class="summary-sig-name">__get_load_addr_property__</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Get the load address for a lldb.SBAddress using the current target.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__get_load_addr_property__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__set_load_addr_property__"></a><span class="summary-sig-name">__set_load_addr_property__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">load_addr</span>)</span><br />
|
|
Set the load address for a lldb.SBAddress using the current target.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__set_load_addr_property__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__int__"></a><span class="summary-sig-name">__int__</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Convert an address to a load address if there is a process and that
|
|
process is alive, or to a file address otherwise.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__int__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__oct__"></a><span class="summary-sig-name">__oct__</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Convert the address to an octal string</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__oct__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__hex__"></a><span class="summary-sig-name">__hex__</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Convert the address to an hex string</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__hex__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
__str__(SBAddress self) -> PyObject *</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBAddress.__str__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__delattr__</code>,
|
|
<code>__format__</code>,
|
|
<code>__getattribute__</code>,
|
|
<code>__hash__</code>,
|
|
<code>__new__</code>,
|
|
<code>__reduce__</code>,
|
|
<code>__reduce_ex__</code>,
|
|
<code>__sizeof__</code>,
|
|
<code>__subclasshook__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS VARIABLES ==================== -->
|
|
<a name="section-ClassVariables"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Class Variables</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-ClassVariables"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}">{}</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== PROPERTIES ==================== -->
|
|
<a name="section-Properties"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Properties</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-Properties"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#block" class="summary-name">block</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
block (lldb.SBBlock) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#compile_unit" class="summary-name">compile_unit</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
compile unit (lldb.SBCompileUnit) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#file_addr" class="summary-name">file_addr</a><br />
|
|
A read only property that returns file address for the section as an
|
|
integer.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#function" class="summary-name">function</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
function (lldb.SBFunction) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#line_entry" class="summary-name">line_entry</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
line entry (lldb.SBLineEntry) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#load_addr" class="summary-name">load_addr</a><br />
|
|
A read/write property that gets/sets the SBAddress using load
|
|
address.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#module" class="summary-name">module</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
module (lldb.SBModule) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#offset" class="summary-name">offset</a><br />
|
|
A read only property that returns the section offset in bytes as an
|
|
integer.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#section" class="summary-name">section</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
section (lldb.SBSection) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBAddress-class.html#symbol" class="summary-name">symbol</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
symbol (lldb.SBSymbol) that this address resides within.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__class__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
<a name="section-MethodDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Method Details</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-MethodDetails"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a name="__setattr__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">name</span>,
|
|
<span class="sig-arg">value</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__setattr__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>x.__setattr__('name', value) <==> x.name = value</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__setattr__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__repr__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Representation operator)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>repr(x)</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__repr__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__init__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">*args</span>)</span>
|
|
<br /><em class="fname">(Constructor)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__init__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>__init__(lldb::SBAddress self) -> SBAddress
|
|
__init__(lldb::SBAddress self, SBAddress rhs) -> SBAddress
|
|
__init__(lldb::SBAddress self, SBSection section, lldb::addr_t offset)
|
|
-> SBAddress __init__(lldb::SBAddress self, lldb::addr_t load_addr,
|
|
SBTarget target) -> SBAddress</p>
|
|
<p>Create an address by resolving a load address using the supplied
|
|
target.</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__init__
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="GetSymbolContext"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetSymbolContext</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">*args</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbolContext">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>GetSymbolContext(SBAddress self, uint32_t resolve_scope) ->
|
|
SBSymbolContext</p>
|
|
<p>GetSymbolContext() and the following can lookup symbol information for
|
|
a given address. An address might refer to code or data from an existing
|
|
module, or it might refer to something on the stack or heap. The
|
|
following functions will only return valid values if the address has been
|
|
resolved to a code or data address using 'void
|
|
SBAddress::SetLoadAddress(...)' or 'lldb::SBAddress
|
|
SBTarget::ResolveLoadAddress (...)'.</p>
|
|
<dl class="fields">
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="GetModule"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetModule</span>(<span class="sig-arg">self</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetModule">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<pre class="literalblock">
|
|
|
|
GetModule(SBAddress self) -> SBModule
|
|
|
|
GetModule() and the following grab individual objects for a given address and
|
|
are less efficient if you want more than one symbol related objects.
|
|
Use one of the following when you want multiple debug symbol related
|
|
objects for an address:
|
|
lldb::SBSymbolContext SBAddress::GetSymbolContext (uint32_t resolve_scope);
|
|
lldb::SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress &addr, uint32_t resolve_scope);
|
|
One or more bits from the SymbolContextItem enumerations can be logically
|
|
OR'ed together to more efficiently retrieve multiple symbol objects.
|
|
|
|
</pre>
|
|
<dl class="fields">
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__str__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Informal representation operator)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__str__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>__str__(SBAddress self) -> PyObject *</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__str__
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== PROPERTY DETAILS ==================== -->
|
|
<a name="section-PropertyDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Property Details</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-PropertyDetails"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a name="block"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">block</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
block (lldb.SBBlock) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetBlock" class="summary-sig-name">GetBlock</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetBlock(SBAddress self) -> SBBlock
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="compile_unit"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">compile_unit</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
compile unit (lldb.SBCompileUnit) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetCompileUnit" class="summary-sig-name">GetCompileUnit</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetCompileUnit(SBAddress self) -> SBCompileUnit
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="file_addr"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">file_addr</h3>
|
|
<p>A read only property that returns file address for the section as an
|
|
integer. This is the address that represents the address as it is found
|
|
in the object file that defines it.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetFileAddress" class="summary-sig-name">GetFileAddress</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetFileAddress(SBAddress self) -> lldb::addr_t
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="function"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">function</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
function (lldb.SBFunction) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetFunction" class="summary-sig-name">GetFunction</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetFunction(SBAddress self) -> SBFunction
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="line_entry"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">line_entry</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
line entry (lldb.SBLineEntry) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetLineEntry" class="summary-sig-name">GetLineEntry</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetLineEntry(SBAddress self) -> SBLineEntry
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="load_addr"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">load_addr</h3>
|
|
<p>A read/write property that gets/sets the SBAddress using load address.
|
|
The setter resolves SBAddress using the SBTarget from lldb.target so this
|
|
property can ONLY be used in the interactive script interpreter (i.e.
|
|
under the lldb script command) and not in Python based commands, or
|
|
breakpoint commands.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#__get_load_addr_property__" class="summary-sig-name">__get_load_addr_property__</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- Get the load address for a lldb.SBAddress using the current target.
|
|
</dd>
|
|
<dt>Set Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#__set_load_addr_property__" class="summary-sig-name">__set_load_addr_property__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">load_addr</span>)</span>
|
|
- Set the load address for a lldb.SBAddress using the current target.
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="module"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">module</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
module (lldb.SBModule) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetModule" class="summary-sig-name">GetModule</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetModule(SBAddress self) -> SBModule
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="offset"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">offset</h3>
|
|
<p>A read only property that returns the section offset in bytes as an
|
|
integer.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetOffset" class="summary-sig-name">GetOffset</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetOffset(SBAddress self) -> lldb::addr_t
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="section"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">section</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
section (lldb.SBSection) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSection" class="summary-sig-name">GetSection</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetSection(SBAddress self) -> SBSection
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="symbol"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">symbol</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
symbol (lldb.SBSymbol) that this address resides within.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSymbol" class="summary-sig-name">GetSymbol</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetSymbol(SBAddress self) -> SBSymbol
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Fri Oct 14 13:55:25 2016
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|