llvm-project/lldb/www/cpp_reference/html/classlldb_1_1SBSection.html

494 lines
22 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="keywords" content="LLDB,C++,doxygen,API,documentation"/>
<meta name="description" content="C++ source code API documentation for LLDB."/>
<title>LLVM: lldb::SBSection Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head><body>
<p class="title">LLDB API Documentation</p>
<!-- Generated by Doxygen 1.8.1.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacelldb.html">lldb</a></li><li class="navelem"><a class="el" href="classlldb_1_1SBSection.html">SBSection</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classlldb_1_1SBSection-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">lldb::SBSection Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="SBSection_8h_source.html">SBSection.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adf0a9a4cf63b03b35337e147d4f34b83"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#adf0a9a4cf63b03b35337e147d4f34b83">SBSection</a> ()</td></tr>
<tr class="memitem:a03b96479f96b38b02e9492efc83464b8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a03b96479f96b38b02e9492efc83464b8">SBSection</a> (const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;rhs)</td></tr>
<tr class="memitem:a2fcb925af11b7b0006817c43e15cb651"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a2fcb925af11b7b0006817c43e15cb651">~SBSection</a> ()</td></tr>
<tr class="memitem:a4d43d6b49910e90fdd2519ebfa54223b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a4d43d6b49910e90fdd2519ebfa54223b">operator=</a> (const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;rhs)</td></tr>
<tr class="memitem:a364b8751c3382c429a876a4f9b3b0587"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a364b8751c3382c429a876a4f9b3b0587">IsValid</a> () const </td></tr>
<tr class="memitem:a3d1974feee5a9e823a28f415a74f445b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a3d1974feee5a9e823a28f415a74f445b">GetName</a> ()</td></tr>
<tr class="memitem:a3babd997be829785ffd50804171fcf44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a3babd997be829785ffd50804171fcf44">GetParent</a> ()</td></tr>
<tr class="memitem:a1c162626d1de08818d37d2d9122a4309"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a1c162626d1de08818d37d2d9122a4309">FindSubSection</a> (const char *sect_name)</td></tr>
<tr class="memitem:a382a453435a9820eeb2d518916be7b4a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a382a453435a9820eeb2d518916be7b4a">GetNumSubSections</a> ()</td></tr>
<tr class="memitem:a5d8b3987322b2fc530d96fa81d5b3fda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a5d8b3987322b2fc530d96fa81d5b3fda">GetSubSectionAtIndex</a> (size_t idx)</td></tr>
<tr class="memitem:aa78e3e53bf09109c325b9a210207396f"><td class="memItemLeft" align="right" valign="top">lldb::addr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#aa78e3e53bf09109c325b9a210207396f">GetFileAddress</a> ()</td></tr>
<tr class="memitem:a77ca69df733627f0072cbc620d208f0a"><td class="memItemLeft" align="right" valign="top">lldb::addr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a77ca69df733627f0072cbc620d208f0a">GetLoadAddress</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> &amp;target)</td></tr>
<tr class="memitem:a53f695d79e889909830d5f971f025d81"><td class="memItemLeft" align="right" valign="top">lldb::addr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a53f695d79e889909830d5f971f025d81">GetByteSize</a> ()</td></tr>
<tr class="memitem:a2b45ef7732fe11a66ef653e381b7161a"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a2b45ef7732fe11a66ef653e381b7161a">GetFileOffset</a> ()</td></tr>
<tr class="memitem:ab304889e46df9e856e665ab52a8a6b44"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#ab304889e46df9e856e665ab52a8a6b44">GetFileByteSize</a> ()</td></tr>
<tr class="memitem:a58fe5dbf234166284545b10475904f4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a58fe5dbf234166284545b10475904f4e">GetSectionData</a> ()</td></tr>
<tr class="memitem:a531c169156d73b52f4864a437d9d3a24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a531c169156d73b52f4864a437d9d3a24">GetSectionData</a> (uint64_t offset, uint64_t size)</td></tr>
<tr class="memitem:afdbd2cbfa1ac6f504e4948b16bfc91b0"><td class="memItemLeft" align="right" valign="top">SectionType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#afdbd2cbfa1ac6f504e4948b16bfc91b0">GetSectionType</a> ()</td></tr>
<tr class="memitem:a747f36a4c046568852358047409e9a42"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a747f36a4c046568852358047409e9a42">operator==</a> (const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;rhs)</td></tr>
<tr class="memitem:a31c1ea480d019898811de14927bb00f8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a31c1ea480d019898811de14927bb00f8">operator!=</a> (const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;rhs)</td></tr>
<tr class="memitem:ad325d060c8971e796e258b678116909c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#ad325d060c8971e796e258b678116909c">GetDescription</a> (<a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &amp;description)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a6e49cb4c7b4df1a9e1231d58a4952607"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a6e49cb4c7b4df1a9e1231d58a4952607">SBAddress</a></td></tr>
<tr class="memitem:a5a50b764fceeae5ed6ecf04b9d1eba5c"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a5a50b764fceeae5ed6ecf04b9d1eba5c">SBModule</a></td></tr>
<tr class="memitem:a593230acf95f9720217b7fb17681efca"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBSection.html#a593230acf95f9720217b7fb17681efca">SBTarget</a></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="SBSection_8h_source.html#l00018">18</a> of file <a class="el" href="SBSection_8h_source.html">SBSection.h</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adf0a9a4cf63b03b35337e147d4f34b83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBSection::SBSection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a03b96479f96b38b02e9492efc83464b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBSection::SBSection </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2fcb925af11b7b0006817c43e15cb651"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBSection::~SBSection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a1c162626d1de08818d37d2d9122a4309"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> lldb::SBSection::FindSubSection </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>sect_name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a53f695d79e889909830d5f971f025d81"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::addr_t lldb::SBSection::GetByteSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad325d060c8971e796e258b678116909c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBSection::GetDescription </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &amp;&#160;</td>
<td class="paramname"><em>description</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa78e3e53bf09109c325b9a210207396f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::addr_t lldb::SBSection::GetFileAddress </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab304889e46df9e856e665ab52a8a6b44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t lldb::SBSection::GetFileByteSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2b45ef7732fe11a66ef653e381b7161a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t lldb::SBSection::GetFileOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a77ca69df733627f0072cbc620d208f0a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::addr_t lldb::SBSection::GetLoadAddress </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> &amp;&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3d1974feee5a9e823a28f415a74f445b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* lldb::SBSection::GetName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a382a453435a9820eeb2d518916be7b4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t lldb::SBSection::GetNumSubSections </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3babd997be829785ffd50804171fcf44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> lldb::SBSection::GetParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a58fe5dbf234166284545b10475904f4e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a> lldb::SBSection::GetSectionData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a531c169156d73b52f4864a437d9d3a24"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a> lldb::SBSection::GetSectionData </td>
<td>(</td>
<td class="paramtype">uint64_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint64_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afdbd2cbfa1ac6f504e4948b16bfc91b0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SectionType lldb::SBSection::GetSectionType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5d8b3987322b2fc530d96fa81d5b3fda"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> lldb::SBSection::GetSubSectionAtIndex </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>idx</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a364b8751c3382c429a876a4f9b3b0587"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBSection::IsValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a31c1ea480d019898811de14927bb00f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBSection::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4d43d6b49910e90fdd2519ebfa54223b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a>&amp; lldb::SBSection::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a747f36a4c046568852358047409e9a42"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBSection::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBSection.html">lldb::SBSection</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6e49cb4c7b4df1a9e1231d58a4952607"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBAddress.html">SBAddress</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBSection_8h_source.html#l00086">86</a> of file <a class="el" href="SBSection_8h_source.html">SBSection.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5a50b764fceeae5ed6ecf04b9d1eba5c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBModule.html">SBModule</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBSection_8h_source.html#l00087">87</a> of file <a class="el" href="SBSection_8h_source.html">SBSection.h</a>.</p>
</div>
</div>
<a class="anchor" id="a593230acf95f9720217b7fb17681efca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBTarget.html">SBTarget</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBSection_8h_source.html#l00088">88</a> of file <a class="el" href="SBSection_8h_source.html">SBSection.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SBSection_8h_source.html">SBSection.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<p class="footer">
Generated on Fri Jul 19 2013 13:25:55 for <a href="http://lldb.llvm.org/">LLVM</a> by
<a href="http://www.doxygen.org"><img src="doxygen.png" alt="Doxygen"
align="middle" border="0"/>1.8.1.2</a><br>
Copyright &copy; 2003-2013 University of Illinois at Urbana-Champaign.
All Rights Reserved.</p>
<hr>
<!--#include virtual="/attrib.incl" -->
</body>
</html>