1 <?xml version="1.0" encoding="ascii"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5 <head> 6 <title>lldb.utils.symbolication.Section</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9 </head> 10 11 <body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13 <!-- ==================== NAVIGATION BAR ==================== --> 14 <table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 18 <!-- Tree link --> 19 <th> <a 20 href="module-tree.html">Trees</a> </th> 21 22 <!-- Index link --> 23 <th> <a 24 href="identifier-index.html">Indices</a> </th> 25 26 <!-- Help link --> 27 <th> <a 28 href="help.html">Help</a> </th> 29 30 <!-- Project homepage --> 31 <th class="navbar" align="right" width="100%"> 32 <table border="0" cellpadding="0" cellspacing="0"> 33 <tr><th class="navbar" align="center" 34 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 35 </tr></table></th> 36 </tr> 37 </table> 38 <table width="100%" cellpadding="0" cellspacing="0"> 39 <tr valign="top"> 40 <td width="100%"> 41 <span class="breadcrumbs"> 42 <a href="lldb-module.html">Package lldb</a> :: 43 <a href="lldb.utils-module.html">Package utils</a> :: 44 <a href="lldb.utils.symbolication-module.html">Module symbolication</a> :: 45 Class Section 46 </span> 47 </td> 48 <td> 49 <table cellpadding="0" cellspacing="0"> 50 <!-- hide/show private --> 51 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 52 onclick="toggle_private();">hide private</a>]</span></td></tr> 53 <tr><td align="right"><span class="options" 54 >[<a href="frames.html" target="_top">frames</a 55 >] | <a href="lldb.utils.symbolication.Section-class.html" 56 target="_top">no frames</a>]</span></td></tr> 57 </table> 58 </td> 59 </tr> 60 </table> 61 <!-- ==================== CLASS DESCRIPTION ==================== --> 62 <h1 class="epydoc">Class Section</h1><p class="nomargin-top"><span class="codelink"><a href="lldb.utils.symbolication-pysrc.html#Section">source code</a></span></p> 63 <p>Class that represents an load address range</p> 64 65 <!-- ==================== INSTANCE METHODS ==================== --> 66 <a name="section-InstanceMethods"></a> 67 <table class="summary" border="1" cellpadding="3" 68 cellspacing="0" width="100%" bgcolor="white"> 69 <tr bgcolor="#70b0f0" class="table-header"> 70 <td colspan="2" class="table-header"> 71 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 72 <tr valign="top"> 73 <td align="left"><span class="table-header">Instance Methods</span></td> 74 <td align="right" valign="top" 75 ><span class="options">[<a href="#section-InstanceMethods" 76 class="privatelink" onclick="toggle_private();" 77 >hide private</a>]</span></td> 78 </tr> 79 </table> 80 </td> 81 </tr> 82 <tr> 83 <td width="15%" align="right" valign="top" class="summary"> 84 <span class="summary-type"> </span> 85 </td><td class="summary"> 86 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 87 <tr> 88 <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>, 89 <span class="summary-sig-arg">start_addr</span>=<span class="summary-sig-default">None</span>, 90 <span class="summary-sig-arg">end_addr</span>=<span class="summary-sig-default">None</span>, 91 <span class="summary-sig-arg">name</span>=<span class="summary-sig-default">None</span>)</span></td> 92 <td align="right" valign="top"> 93 <span class="codelink"><a href="lldb.utils.symbolication-pysrc.html#Section.__init__">source code</a></span> 94 95 </td> 96 </tr> 97 </table> 98 99 </td> 100 </tr> 101 <tr> 102 <td width="15%" align="right" valign="top" class="summary"> 103 <span class="summary-type"> </span> 104 </td><td class="summary"> 105 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 106 <tr> 107 <td><span class="summary-sig"><a name="contains"></a><span class="summary-sig-name">contains</span>(<span class="summary-sig-arg">self</span>, 108 <span class="summary-sig-arg">addr</span>)</span></td> 109 <td align="right" valign="top"> 110 <span class="codelink"><a href="lldb.utils.symbolication-pysrc.html#Section.contains">source code</a></span> 111 112 </td> 113 </tr> 114 </table> 115 116 </td> 117 </tr> 118 <tr> 119 <td width="15%" align="right" valign="top" class="summary"> 120 <span class="summary-type"> </span> 121 </td><td class="summary"> 122 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 123 <tr> 124 <td><span class="summary-sig"><a name="set_from_string"></a><span class="summary-sig-name">set_from_string</span>(<span class="summary-sig-arg">self</span>, 125 <span class="summary-sig-arg">s</span>)</span></td> 126 <td align="right" valign="top"> 127 <span class="codelink"><a href="lldb.utils.symbolication-pysrc.html#Section.set_from_string">source code</a></span> 128 129 </td> 130 </tr> 131 </table> 132 133 </td> 134 </tr> 135 <tr> 136 <td width="15%" align="right" valign="top" class="summary"> 137 <span class="summary-type"> </span> 138 </td><td class="summary"> 139 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 140 <tr> 141 <td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td> 142 <td align="right" valign="top"> 143 <span class="codelink"><a href="lldb.utils.symbolication-pysrc.html#Section.__str__">source code</a></span> 144 145 </td> 146 </tr> 147 </table> 148 149 </td> 150 </tr> 151 </table> 152 <!-- ==================== CLASS VARIABLES ==================== --> 153 <a name="section-ClassVariables"></a> 154 <table class="summary" border="1" cellpadding="3" 155 cellspacing="0" width="100%" bgcolor="white"> 156 <tr bgcolor="#70b0f0" class="table-header"> 157 <td colspan="2" class="table-header"> 158 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 159 <tr valign="top"> 160 <td align="left"><span class="table-header">Class Variables</span></td> 161 <td align="right" valign="top" 162 ><span class="options">[<a href="#section-ClassVariables" 163 class="privatelink" onclick="toggle_private();" 164 >hide private</a>]</span></td> 165 </tr> 166 </table> 167 </td> 168 </tr> 169 <tr> 170 <td width="15%" align="right" valign="top" class="summary"> 171 <span class="summary-type"> </span> 172 </td><td class="summary"> 173 <a name="sect_info_regex"></a><span class="summary-name">sect_info_regex</span> = <code title="re.compile(r'(?P<name>[^=]+)=(?P<range>.*)')">re.compile(r'<code class="re-group">(?P<</code><code class="re-ref">name</code><code class="re-group">></code><code class="re-group">[^</code>=<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code>=<code class="re-group">(?P<</code><code class="re-ref">range</code><code class="re-group">></code>.<code class="re-op">*</code><code class="re-group">)</code>')</code> 174 </td> 175 </tr> 176 <tr> 177 <td width="15%" align="right" valign="top" class="summary"> 178 <span class="summary-type"> </span> 179 </td><td class="summary"> 180 <a name="addr_regex"></a><span class="summary-name">addr_regex</span> = <code title="re.compile(r'^\s*(?P<start>0x[0-9A-Fa-f]+)\s*$')">re.compile(r'^\s<code class="re-op">*</code><code class="re-group">(?P<</code><code class="re-ref">start</code><code class="re-group">></code>0x<code class="re-group">[</code>0<code class="re-op">-</code>9A<code class="re-op">-</code>Fa<code class="re-op">-</code>f<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code>\s<code class="re-op">*</code>$')</code> 181 </td> 182 </tr> 183 <tr> 184 <td width="15%" align="right" valign="top" class="summary"> 185 <span class="summary-type"> </span> 186 </td><td class="summary"> 187 <a href="lldb.utils.symbolication.Section-class.html#range_regex" class="summary-name">range_regex</a> = <code title="re.compile(r'^\s*(?P<start>0x[0-9A-Fa-f]+)\s*(?P<op>[-\+])\s*(?P<end>0\ 188 x[0-9A-Fa-f]+)\s*$')">re.compile(r'^\s<code class="re-op">*</code><code class="re-group">(?P<</code><code class="re-ref">start</code><code class="re-group">></code>0x<code class="re-group">[</code>0<code class="re-op">-</code>9A<code class="re-op">-</code>Fa<code class="re-op">-</code>f<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code>\s<code class="re-op">*</code><code class="re-group">(?P</code><code class="variable-ellipsis">...</code></code> 189 </td> 190 </tr> 191 </table> 192 <!-- ==================== CLASS VARIABLE DETAILS ==================== --> 193 <a name="section-ClassVariableDetails"></a> 194 <table class="details" border="1" cellpadding="3" 195 cellspacing="0" width="100%" bgcolor="white"> 196 <tr bgcolor="#70b0f0" class="table-header"> 197 <td colspan="2" class="table-header"> 198 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 199 <tr valign="top"> 200 <td align="left"><span class="table-header">Class Variable Details</span></td> 201 <td align="right" valign="top" 202 ><span class="options">[<a href="#section-ClassVariableDetails" 203 class="privatelink" onclick="toggle_private();" 204 >hide private</a>]</span></td> 205 </tr> 206 </table> 207 </td> 208 </tr> 209 </table> 210 <a name="range_regex"></a> 211 <div> 212 <table class="details" border="1" cellpadding="3" 213 cellspacing="0" width="100%" bgcolor="white"> 214 <tr><td> 215 <h3 class="epydoc">range_regex</h3> 216 217 <dl class="fields"> 218 </dl> 219 <dl class="fields"> 220 <dt>Value:</dt> 221 <dd><table><tr><td><pre class="variable"> 222 re.compile(r'^\s<code class="re-op">*</code><code class="re-group">(?P<</code><code class="re-ref">start</code><code class="re-group">></code>0x<code class="re-group">[</code>0<code class="re-op">-</code>9A<code class="re-op">-</code>Fa<code class="re-op">-</code>f<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code>\s<code class="re-op">*</code><code class="re-group">(?P<</code><code class="re-ref">op</code><code class="re-group">></code><code class="re-group">[</code>-\+<code class="re-group">]</code><code class="re-group">)</code>\s<code class="re-op">*</code><code class="re-group">(?P<</code><code class="re-ref">end</code><code class="re-group">></code>0<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 223 x<code class="re-group">[</code>0<code class="re-op">-</code>9A<code class="re-op">-</code>Fa<code class="re-op">-</code>f<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code>\s<code class="re-op">*</code>$') 224 </pre></td></tr></table> 225 </dd> 226 </dl> 227 </td></tr></table> 228 </div> 229 <br /> 230 <!-- ==================== NAVIGATION BAR ==================== --> 231 <table class="navbar" border="0" width="100%" cellpadding="0" 232 bgcolor="#a0c0ff" cellspacing="0"> 233 <tr valign="middle"> 234 235 <!-- Tree link --> 236 <th> <a 237 href="module-tree.html">Trees</a> </th> 238 239 <!-- Index link --> 240 <th> <a 241 href="identifier-index.html">Indices</a> </th> 242 243 <!-- Help link --> 244 <th> <a 245 href="help.html">Help</a> </th> 246 247 <!-- Project homepage --> 248 <th class="navbar" align="right" width="100%"> 249 <table border="0" cellpadding="0" cellspacing="0"> 250 <tr><th class="navbar" align="center" 251 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 252 </tr></table></th> 253 </tr> 254 </table> 255 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 256 <tr> 257 <td align="left" class="footer"> 258 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013 259 </td> 260 <td align="right" class="footer"> 261 <a target="mainFrame" href="http://epydoc.sourceforge.net" 262 >http://epydoc.sourceforge.net</a> 263 </td> 264 </tr> 265 </table> 266 267 <script type="text/javascript"> 268 <!-- 269 // Private objects are initially displayed (because if 270 // javascript is turned off then we want them to be 271 // visible); but by default, we want to hide them. So hide 272 // them unless we have a cookie that says to show them. 273 checkCookie(); 274 // --> 275 </script> 276 </body> 277 </html> 278