llvm-project/lldb/www/python_reference/lldb.SBSection-class.html

1156 lines
48 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.SBSection</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>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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&nbsp;lldb</a> ::
Class&nbsp;SBSection
</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&nbsp;private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>]&nbsp;|&nbsp;<a href="lldb.SBSection-class.html"
target="_top">no&nbsp;frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class SBSection</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBSection">source&nbsp;code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_lldb_sbs" name="uml_class_diagram_for_lldb_sbs">
<area shape="rect" id="node1_25" href="lldb.SBSection-class.html#__swig_setmethods__" title="lldb.SBSection.__swig_setmethods__" alt="" coords="17,31,197,51"/>
<area shape="rect" id="node1_26" href="lldb.SBSection-class.html#__swig_getmethods__" title="lldb.SBSection.__swig_getmethods__" alt="" coords="17,51,197,71"/>
<area shape="rect" id="node1_27" href="lldb.SBSection-class.html#addr" title="A read only property that returns an lldb object that represents the start &#160;address (lldb.SBAddress) for this section." alt="" coords="17,71,197,91"/>
<area shape="rect" id="node1_28" href="lldb.SBSection-class.html#data" title="A read only property that returns an lldb object that represents the bytes &#160;for this section (lldb.SBData) for this section." alt="" coords="17,91,197,111"/>
<area shape="rect" id="node1_29" href="lldb.SBSection-class.html#file_addr" title="A read only property that returns an integer that represents the starting &#160;&quot;file&quot; address for this section, or the address of the section in the &#160;object file in which it is defined." alt="" coords="17,111,197,131"/>
<area shape="rect" id="node1_30" href="lldb.SBSection-class.html#file_offset" title="A read only property that returns the file offset in bytes of this section &#160;as an integer." alt="" coords="17,131,197,151"/>
<area shape="rect" id="node1_31" href="lldb.SBSection-class.html#file_size" title="A read only property that returns the file size in bytes of this section as an integer." alt="" coords="17,151,197,171"/>
<area shape="rect" id="node1_32" href="lldb.SBSection-class.html#name" title="A read only property that returns the name of this section as a string." alt="" coords="17,171,197,191"/>
<area shape="rect" id="node1_33" href="lldb.SBSection-class.html#size" title="A read only property that returns the size in bytes of this section as an &#160;integer." alt="" coords="17,191,197,211"/>
<area shape="rect" id="node1_34" href="lldb.SBSection-class.html#target_byte_size" title="A read only property that returns the size of a target byte represented by &#160;this section as a number of host bytes." alt="" coords="17,211,197,231"/>
<area shape="rect" id="node1_35" href="lldb.SBSection-class.html#type" title="A read only property that returns an lldb enumeration value (see &#160;enumerations that start with &quot;lldb.eSectionType&quot;) that represents the type &#160;of this section (code, data, etc.)." alt="" coords="17,231,197,251"/>
<area shape="rect" id="node1_36" href="lldb.SBSection-class.html#__setattr__" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,253,197,273"/>
<area shape="rect" id="node1_37" href="lldb.SBSection-class.html#__getattr__" title="lldb.SBSection.__getattr__" alt="" coords="17,273,197,293"/>
<area shape="rect" id="node1_38" href="lldb.SBSection-class.html#__repr__" title="repr(x)" alt="" coords="17,293,197,313"/>
<area shape="rect" id="node1_39" href="lldb.SBSection-class.html#__iter__" title="lldb.SBSection.__iter__" alt="" coords="17,313,197,333"/>
<area shape="rect" id="node1_40" href="lldb.SBSection-class.html#__len__" title="lldb.SBSection.__len__" alt="" coords="17,333,197,353"/>
<area shape="rect" id="node1_41" href="lldb.SBSection-class.html#__init__" title="__init__(lldb::SBSection self) &#45;&gt; SBSection __init__(lldb::SBSection self, &#160;SBSection rhs) &#45;&gt; SBSection" alt="" coords="17,353,197,373"/>
<area shape="rect" id="node1_42" href="lldb.SBSection-class.html#__swig_destroy__" title="delete_SBSection(SBSection self)" alt="" coords="17,373,197,393"/>
<area shape="rect" id="node1_43" href="lldb.SBSection-class.html#__del__" title="lldb.SBSection.__del__" alt="" coords="17,393,197,413"/>
<area shape="rect" id="node1_44" href="lldb.SBSection-class.html#__nonzero__" title="lldb.SBSection.__nonzero__" alt="" coords="17,413,197,433"/>
<area shape="rect" id="node1_45" href="lldb.SBSection-class.html#IsValid" title="IsValid(SBSection self) &#45;&gt; bool" alt="" coords="17,433,197,453"/>
<area shape="rect" id="node1_46" href="lldb.SBSection-class.html#GetName" title="GetName(SBSection self) &#45;&gt; str const *" alt="" coords="17,453,197,473"/>
<area shape="rect" id="node1_47" href="lldb.SBSection-class.html#GetParent" title="GetParent(SBSection self) &#45;&gt; SBSection" alt="" coords="17,473,197,493"/>
<area shape="rect" id="node1_48" href="lldb.SBSection-class.html#FindSubSection" title="FindSubSection(SBSection self, str const * sect_name) &#45;&gt; SBSection" alt="" coords="17,493,197,513"/>
<area shape="rect" id="node1_49" href="lldb.SBSection-class.html#__ne__" title="lldb.SBSection.__ne__" alt="" coords="17,533,197,553"/>
<area shape="rect" id="node1" href="lldb.SBSection-class.html" title="Represents an executable image section." alt="" coords="5,5,209,560"/>
</map>
<img src="uml_class_diagram_for_lldb_sbs.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbs" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<pre class="literalblock">
Represents an executable image section.
SBSection supports iteration through its subsection, represented as SBSection
as well. For example,
for sec in exe_module:
if sec.GetName() == '__TEXT':
print sec
break
print INDENT + 'Number of subsections: %d' % sec.GetNumSubSections()
for subsec in sec:
print INDENT + repr(subsec)
produces:
[0x0000000100000000-0x0000000100002000) a.out.__TEXT
Number of subsections: 6
[0x0000000100001780-0x0000000100001d5c) a.out.__TEXT.__text
[0x0000000100001d5c-0x0000000100001da4) a.out.__TEXT.__stubs
[0x0000000100001da4-0x0000000100001e2c) a.out.__TEXT.__stub_helper
[0x0000000100001e2c-0x0000000100001f10) a.out.__TEXT.__cstring
[0x0000000100001f10-0x0000000100001f68) a.out.__TEXT.__unwind_info
[0x0000000100001f68-0x0000000100001ff8) a.out.__TEXT.__eh_frame
See also SBModule.
</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">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="lldb.SBSection-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) &lt;==&gt; x.name = value</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__setattr__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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#SBSection.__getattr__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="lldb.SBSection-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&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__iter__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__len__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="lldb.SBSection-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::SBSection self) -&gt; SBSection
__init__(lldb::SBSection self, SBSection rhs) -&gt; SBSection</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__init__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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_SBSection(SBSection 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">&nbsp;</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#SBSection.__del__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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#SBSection.__nonzero__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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(SBSection self) -&gt; bool</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.IsValid">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetName"></a><span class="summary-sig-name">GetName</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetName(SBSection self) -&gt; str const *</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetName">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetParent"></a><span class="summary-sig-name">GetParent</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetParent(SBSection self) -&gt; SBSection</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetParent">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="FindSubSection"></a><span class="summary-sig-name">FindSubSection</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
FindSubSection(SBSection self, str const * sect_name) -&gt; SBSection</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.FindSubSection">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetNumSubSections"></a><span class="summary-sig-name">GetNumSubSections</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetNumSubSections(SBSection self) -&gt; size_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetNumSubSections">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetSubSectionAtIndex"></a><span class="summary-sig-name">GetSubSectionAtIndex</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
GetSubSectionAtIndex(SBSection self, size_t idx) -&gt; SBSection</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSubSectionAtIndex">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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(SBSection self) -&gt; lldb::addr_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileAddress">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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(SBSection self, SBTarget target) -&gt; lldb::addr_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetLoadAddress">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetByteSize"></a><span class="summary-sig-name">GetByteSize</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetByteSize(SBSection self) -&gt; lldb::addr_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetByteSize">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetFileOffset"></a><span class="summary-sig-name">GetFileOffset</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetFileOffset(SBSection self) -&gt; uint64_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileOffset">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetFileByteSize"></a><span class="summary-sig-name">GetFileByteSize</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetFileByteSize(SBSection self) -&gt; uint64_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileByteSize">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetSectionData"></a><span class="summary-sig-name">GetSectionData</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
GetSectionData(SBSection self) -&gt; SBData GetSectionData(SBSection
self, uint64_t offset, uint64_t size) -&gt; SBData</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSectionData">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetSectionType"></a><span class="summary-sig-name">GetSectionType</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetSectionType(SBSection self) -&gt; lldb::SectionType</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSectionType">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetPermissions"></a><span class="summary-sig-name">GetPermissions</span>(<span class="summary-sig-arg">self</span>)</span><br />
GetPermissions(SBSection self) -&gt; uint32_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetPermissions">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="lldb.SBSection-class.html#GetTargetByteSize" class="summary-sig-name">GetTargetByteSize</a>(<span class="summary-sig-arg">self</span>)</span><br />
GetTargetByteSize(SBSection self) -&gt; uint32_t</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetTargetByteSize">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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(SBSection self, SBStream description) -&gt; bool</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.GetDescription">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="get_addr"></a><span class="summary-sig-name">get_addr</span>(<span class="summary-sig-arg">self</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.get_addr">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="lldb.SBSection-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
__str__(SBSection self) -&gt; PyObject *</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__str__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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">rhs</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__eq__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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">rhs</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSection.__ne__">source&nbsp;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">&nbsp;</span>
</td><td class="summary">
<a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#addr" class="summary-name">addr</a><br />
A read only property that returns an lldb object that represents the
start address (lldb.SBAddress) for this section.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#data" class="summary-name">data</a><br />
A read only property that returns an lldb object that represents the
bytes for this section (lldb.SBData) for this section.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#file_addr" class="summary-name">file_addr</a><br />
A read only property that returns an integer that represents the
starting &quot;file&quot; address for this section, or the address of
the section in the object file in which it is defined.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#file_offset" class="summary-name">file_offset</a><br />
A read only property that returns the file offset in bytes of this
section as an integer.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#file_size" class="summary-name">file_size</a><br />
A read only property that returns the file size in bytes of this
section as an integer.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#name" class="summary-name">name</a><br />
A read only property that returns the name of this section as a
string.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#size" class="summary-name">size</a><br />
A read only property that returns the size in bytes of this section
as an integer.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#target_byte_size" class="summary-name">target_byte_size</a><br />
A read only property that returns the size of a target byte
represented by this section as a number of host bytes.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSection-class.html#type" class="summary-name">type</a><br />
A read only property that returns an lldb enumeration value (see
enumerations that start with &quot;lldb.eSectionType&quot;) that
represents the type of this section (code, data, etc.).
</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#SBSection.__setattr__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>x.__setattr__('name', value) &lt;==&gt; 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&nbsp;code</a></span>&nbsp;
</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#SBSection.__init__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>__init__(lldb::SBSection self) -&gt; SBSection
__init__(lldb::SBSection self, SBSection rhs) -&gt; SBSection</p>
<dl class="fields">
<dt>Overrides:
object.__init__
</dt>
</dl>
</td></tr></table>
</div>
<a name="GetTargetByteSize"></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">GetTargetByteSize</span>(<span class="sig-arg">self</span>)</span>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="lldb-pysrc.html#SBSection.GetTargetByteSize">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<pre class="literalblock">
GetTargetByteSize(SBSection self) -&gt; uint32_t
Return the size of a target's byte represented by this section
in numbers of host bytes. Note that certain architectures have
varying minimum addressable unit (i.e. byte) size for their
CODE or DATA buses.
@return
The number of host (8-bit) bytes needed to hold a target byte
</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#SBSection.__str__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>__str__(SBSection self) -&gt; 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="addr"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">addr</h3>
<p>A read only property that returns an lldb object that represents the
start address (lldb.SBAddress) for this section.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#get_addr" class="summary-sig-name">get_addr</a>(<span class="summary-sig-arg">self</span>)</span>
</dd>
</dl>
</td></tr></table>
</div>
<a name="data"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">data</h3>
<p>A read only property that returns an lldb object that represents the
bytes for this section (lldb.SBData) for this section.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetSectionData" class="summary-sig-name">GetSectionData</a>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span>
- GetSectionData(SBSection self) -&gt; SBData GetSectionData(SBSection
self, uint64_t offset, uint64_t size) -&gt; SBData
</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 an integer that represents the
starting &quot;file&quot; address for this section, or the address of the
section in the object file in which it is defined.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetFileAddress" class="summary-sig-name">GetFileAddress</a>(<span class="summary-sig-arg">self</span>)</span>
- GetFileAddress(SBSection self) -&gt; lldb::addr_t
</dd>
</dl>
</td></tr></table>
</div>
<a name="file_offset"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">file_offset</h3>
<p>A read only property that returns the file offset in bytes of this
section as an integer.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetFileOffset" class="summary-sig-name">GetFileOffset</a>(<span class="summary-sig-arg">self</span>)</span>
- GetFileOffset(SBSection self) -&gt; uint64_t
</dd>
</dl>
</td></tr></table>
</div>
<a name="file_size"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">file_size</h3>
<p>A read only property that returns the file size in bytes of this
section as an integer.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetFileByteSize" class="summary-sig-name">GetFileByteSize</a>(<span class="summary-sig-arg">self</span>)</span>
- GetFileByteSize(SBSection self) -&gt; uint64_t
</dd>
</dl>
</td></tr></table>
</div>
<a name="name"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">name</h3>
<p>A read only property that returns the name of this section as a
string.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetName" class="summary-sig-name">GetName</a>(<span class="summary-sig-arg">self</span>)</span>
- GetName(SBSection self) -&gt; str const *
</dd>
</dl>
</td></tr></table>
</div>
<a name="size"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">size</h3>
<p>A read only property that returns the size in bytes of this section as
an integer.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetByteSize" class="summary-sig-name">GetByteSize</a>(<span class="summary-sig-arg">self</span>)</span>
- GetByteSize(SBSection self) -&gt; lldb::addr_t
</dd>
</dl>
</td></tr></table>
</div>
<a name="target_byte_size"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">target_byte_size</h3>
<p>A read only property that returns the size of a target byte
represented by this section as a number of host bytes.</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetTargetByteSize" class="summary-sig-name">GetTargetByteSize</a>(<span class="summary-sig-arg">self</span>)</span>
- GetTargetByteSize(SBSection self) -&gt; uint32_t
</dd>
</dl>
</td></tr></table>
</div>
<a name="type"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">type</h3>
<p>A read only property that returns an lldb enumeration value (see
enumerations that start with &quot;lldb.eSectionType&quot;) that
represents the type of this section (code, data, etc.).</p>
<dl class="fields">
<dt>Get Method:</dt>
<dd class="value"><span class="summary-sig"><a href="lldb.SBSection-class.html#GetSectionType" class="summary-sig-name">GetSectionType</a>(<span class="summary-sig-arg">self</span>)</span>
- GetSectionType(SBSection self) -&gt; lldb::SectionType
</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>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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:27 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>