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.SBSection</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 Class SBSection 44 </span> 45 </td> 46 <td> 47 <table cellpadding="0" cellspacing="0"> 48 <!-- hide/show private --> 49 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 50 onclick="toggle_private();">hide private</a>]</span></td></tr> 51 <tr><td align="right"><span class="options" 52 >[<a href="frames.html" target="_top">frames</a 53 >] | <a href="lldb.SBSection-class.html" 54 target="_top">no frames</a>]</span></td></tr> 55 </table> 56 </td> 57 </tr> 58 </table> 59 <!-- ==================== CLASS DESCRIPTION ==================== --> 60 <h1 class="epydoc">Class SBSection</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBSection">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbs" name="uml_class_diagram_for_lldb_sbs"> 63 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__swig_setmethods__" title="lldb.SBSection.__swig_setmethods__" alt="" coords="17,31,197,49"/> 64 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__swig_getmethods__" title="lldb.SBSection.__swig_getmethods__" alt="" coords="17,49,197,68"/> 65 <area shape="rect" id="node37" href="lldb.SBSection-class.html#addr" title="A read only property that returns an lldb object that represents the start  address (lldb.SBAddress) for this section." alt="" coords="17,68,197,87"/> 66 <area shape="rect" id="node37" href="lldb.SBSection-class.html#data" title="A read only property that returns an lldb object that represents the bytes  for this section (lldb.SBData) for this section." alt="" coords="17,87,197,105"/> 67 <area shape="rect" id="node37" href="lldb.SBSection-class.html#file_addr" title="A read only property that returns an integer that represents the starting  "file" address for this section, or the address of the section in the  object file in which it is defined." alt="" coords="17,105,197,124"/> 68 <area shape="rect" id="node37" href="lldb.SBSection-class.html#file_offset" title="A read only property that returns the file offset in bytes of this section  as an integer." alt="" coords="17,124,197,143"/> 69 <area shape="rect" id="node37" 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,143,197,161"/> 70 <area shape="rect" id="node37" href="lldb.SBSection-class.html#name" title="A read only property that returns the name of this section as a string." alt="" coords="17,161,197,180"/> 71 <area shape="rect" id="node37" href="lldb.SBSection-class.html#size" title="A read only property that returns the size in bytes of this section as an  integer." alt="" coords="17,180,197,199"/> 72 <area shape="rect" id="node37" href="lldb.SBSection-class.html#type" title="A read only property that returns an lldb enumeration value (see  enumerations that start with "lldb.eSectionType") that represents the type  of this section (code, data, etc.)." alt="" coords="17,199,197,217"/> 73 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,220,197,239"/> 74 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__getattr__" title="lldb.SBSection.__getattr__" alt="" coords="17,239,197,257"/> 75 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__repr__" title="repr(x)" alt="" coords="17,257,197,276"/> 76 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__iter__" title="lldb.SBSection.__iter__" alt="" coords="17,276,197,295"/> 77 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__len__" title="lldb.SBSection.__len__" alt="" coords="17,295,197,313"/> 78 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__init__" title="__init__(lldb::SBSection self) -> SBSection __init__(lldb::SBSection self,  SBSection rhs) -> SBSection" alt="" coords="17,313,197,332"/> 79 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__swig_destroy__" title="delete_SBSection(SBSection self)" alt="" coords="17,332,197,351"/> 80 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__del__" title="lldb.SBSection.__del__" alt="" coords="17,351,197,369"/> 81 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__nonzero__" title="lldb.SBSection.__nonzero__" alt="" coords="17,369,197,388"/> 82 <area shape="rect" id="node37" href="lldb.SBSection-class.html#IsValid" title="IsValid(SBSection self) -> bool" alt="" coords="17,388,197,407"/> 83 <area shape="rect" id="node37" href="lldb.SBSection-class.html#GetName" title="GetName(SBSection self) -> str const *" alt="" coords="17,407,197,425"/> 84 <area shape="rect" id="node37" href="lldb.SBSection-class.html#GetParent" title="GetParent(SBSection self) -> SBSection" alt="" coords="17,425,197,444"/> 85 <area shape="rect" id="node37" href="lldb.SBSection-class.html#FindSubSection" title="FindSubSection(SBSection self, str const * sect_name) -> SBSection" alt="" coords="17,444,197,463"/> 86 <area shape="rect" id="node37" href="lldb.SBSection-class.html#__ne__" title="lldb.SBSection.__ne__" alt="" coords="17,481,197,500"/> 87 <area shape="rect" id="node1" href="lldb.SBSection-class.html" title="Represents an executable image section." alt="" coords="5,6,208,506"/> 88 </map> 89 <img src="uml_class_diagram_for_lldb_sbs.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbs" ismap="ismap" class="graph-without-title" /> 90 </center> 91 </center> 92 <hr /> 93 <pre class="literalblock"> 94 95 Represents an executable image section. 96 97 SBSection supports iteration through its subsection, represented as SBSection 98 as well. For example, 99 100 for sec in exe_module: 101 if sec.GetName() == '__TEXT': 102 print sec 103 break 104 print INDENT + 'Number of subsections: %d' % sec.GetNumSubSections() 105 for subsec in sec: 106 print INDENT + repr(subsec) 107 108 produces: 109 110 [0x0000000100000000-0x0000000100002000) a.out.__TEXT 111 Number of subsections: 6 112 [0x0000000100001780-0x0000000100001d5c) a.out.__TEXT.__text 113 [0x0000000100001d5c-0x0000000100001da4) a.out.__TEXT.__stubs 114 [0x0000000100001da4-0x0000000100001e2c) a.out.__TEXT.__stub_helper 115 [0x0000000100001e2c-0x0000000100001f10) a.out.__TEXT.__cstring 116 [0x0000000100001f10-0x0000000100001f68) a.out.__TEXT.__unwind_info 117 [0x0000000100001f68-0x0000000100001ff8) a.out.__TEXT.__eh_frame 118 119 See also SBModule. 120 121 </pre> 122 123 <!-- ==================== INSTANCE METHODS ==================== --> 124 <a name="section-InstanceMethods"></a> 125 <table class="summary" border="1" cellpadding="3" 126 cellspacing="0" width="100%" bgcolor="white"> 127 <tr bgcolor="#70b0f0" class="table-header"> 128 <td colspan="2" class="table-header"> 129 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 130 <tr valign="top"> 131 <td align="left"><span class="table-header">Instance Methods</span></td> 132 <td align="right" valign="top" 133 ><span class="options">[<a href="#section-InstanceMethods" 134 class="privatelink" onclick="toggle_private();" 135 >hide private</a>]</span></td> 136 </tr> 137 </table> 138 </td> 139 </tr> 140 <tr> 141 <td width="15%" align="right" valign="top" class="summary"> 142 <span class="summary-type"> </span> 143 </td><td class="summary"> 144 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 145 <tr> 146 <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>, 147 <span class="summary-sig-arg">name</span>, 148 <span class="summary-sig-arg">value</span>)</span><br /> 149 x.__setattr__('name', value) <==> x.name = value</td> 150 <td align="right" valign="top"> 151 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__setattr__">source code</a></span> 152 153 </td> 154 </tr> 155 </table> 156 157 </td> 158 </tr> 159 <tr> 160 <td width="15%" align="right" valign="top" class="summary"> 161 <span class="summary-type"> </span> 162 </td><td class="summary"> 163 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 164 <tr> 165 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 166 <span class="summary-sig-arg">name</span>)</span></td> 167 <td align="right" valign="top"> 168 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__getattr__">source code</a></span> 169 170 </td> 171 </tr> 172 </table> 173 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 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 181 <tr> 182 <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 /> 183 repr(x)</td> 184 <td align="right" valign="top"> 185 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 186 187 </td> 188 </tr> 189 </table> 190 191 </td> 192 </tr> 193 <tr> 194 <td width="15%" align="right" valign="top" class="summary"> 195 <span class="summary-type"> </span> 196 </td><td class="summary"> 197 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 198 <tr> 199 <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> 200 <td align="right" valign="top"> 201 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__iter__">source code</a></span> 202 203 </td> 204 </tr> 205 </table> 206 207 </td> 208 </tr> 209 <tr> 210 <td width="15%" align="right" valign="top" class="summary"> 211 <span class="summary-type"> </span> 212 </td><td class="summary"> 213 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 214 <tr> 215 <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> 216 <td align="right" valign="top"> 217 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__len__">source code</a></span> 218 219 </td> 220 </tr> 221 </table> 222 223 </td> 224 </tr> 225 <tr> 226 <td width="15%" align="right" valign="top" class="summary"> 227 <span class="summary-type"> </span> 228 </td><td class="summary"> 229 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 230 <tr> 231 <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>, 232 <span class="summary-sig-arg">*args</span>)</span><br /> 233 __init__(lldb::SBSection self) -> SBSection 234 __init__(lldb::SBSection self, SBSection rhs) -> SBSection</td> 235 <td align="right" valign="top"> 236 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__init__">source code</a></span> 237 238 </td> 239 </tr> 240 </table> 241 242 </td> 243 </tr> 244 <tr> 245 <td width="15%" align="right" valign="top" class="summary"> 246 <span class="summary-type"> </span> 247 </td><td class="summary"> 248 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 249 <tr> 250 <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 /> 251 delete_SBSection(SBSection self)</td> 252 <td align="right" valign="top"> 253 254 255 </td> 256 </tr> 257 </table> 258 259 </td> 260 </tr> 261 <tr> 262 <td width="15%" align="right" valign="top" class="summary"> 263 <span class="summary-type"> </span> 264 </td><td class="summary"> 265 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 266 <tr> 267 <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> 268 <td align="right" valign="top"> 269 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__del__">source code</a></span> 270 271 </td> 272 </tr> 273 </table> 274 275 </td> 276 </tr> 277 <tr> 278 <td width="15%" align="right" valign="top" class="summary"> 279 <span class="summary-type"> </span> 280 </td><td class="summary"> 281 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 282 <tr> 283 <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> 284 <td align="right" valign="top"> 285 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__nonzero__">source code</a></span> 286 287 </td> 288 </tr> 289 </table> 290 291 </td> 292 </tr> 293 <tr> 294 <td width="15%" align="right" valign="top" class="summary"> 295 <span class="summary-type"> </span> 296 </td><td class="summary"> 297 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 298 <tr> 299 <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 /> 300 IsValid(SBSection self) -> bool</td> 301 <td align="right" valign="top"> 302 <span class="codelink"><a href="lldb-pysrc.html#SBSection.IsValid">source code</a></span> 303 304 </td> 305 </tr> 306 </table> 307 308 </td> 309 </tr> 310 <tr> 311 <td width="15%" align="right" valign="top" class="summary"> 312 <span class="summary-type"> </span> 313 </td><td class="summary"> 314 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 315 <tr> 316 <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 /> 317 GetName(SBSection self) -> str const *</td> 318 <td align="right" valign="top"> 319 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetName">source code</a></span> 320 321 </td> 322 </tr> 323 </table> 324 325 </td> 326 </tr> 327 <tr> 328 <td width="15%" align="right" valign="top" class="summary"> 329 <span class="summary-type"> </span> 330 </td><td class="summary"> 331 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 332 <tr> 333 <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 /> 334 GetParent(SBSection self) -> SBSection</td> 335 <td align="right" valign="top"> 336 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetParent">source code</a></span> 337 338 </td> 339 </tr> 340 </table> 341 342 </td> 343 </tr> 344 <tr> 345 <td width="15%" align="right" valign="top" class="summary"> 346 <span class="summary-type"> </span> 347 </td><td class="summary"> 348 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 349 <tr> 350 <td><span class="summary-sig"><a name="FindSubSection"></a><span class="summary-sig-name">FindSubSection</span>(<span class="summary-sig-arg">self</span>, 351 <span class="summary-sig-arg">*args</span>)</span><br /> 352 FindSubSection(SBSection self, str const * sect_name) -> SBSection</td> 353 <td align="right" valign="top"> 354 <span class="codelink"><a href="lldb-pysrc.html#SBSection.FindSubSection">source code</a></span> 355 356 </td> 357 </tr> 358 </table> 359 360 </td> 361 </tr> 362 <tr> 363 <td width="15%" align="right" valign="top" class="summary"> 364 <span class="summary-type"> </span> 365 </td><td class="summary"> 366 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 367 <tr> 368 <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 /> 369 GetNumSubSections(SBSection self) -> size_t</td> 370 <td align="right" valign="top"> 371 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetNumSubSections">source code</a></span> 372 373 </td> 374 </tr> 375 </table> 376 377 </td> 378 </tr> 379 <tr> 380 <td width="15%" align="right" valign="top" class="summary"> 381 <span class="summary-type"> </span> 382 </td><td class="summary"> 383 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 384 <tr> 385 <td><span class="summary-sig"><a name="GetSubSectionAtIndex"></a><span class="summary-sig-name">GetSubSectionAtIndex</span>(<span class="summary-sig-arg">self</span>, 386 <span class="summary-sig-arg">*args</span>)</span><br /> 387 GetSubSectionAtIndex(SBSection self, size_t idx) -> SBSection</td> 388 <td align="right" valign="top"> 389 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSubSectionAtIndex">source code</a></span> 390 391 </td> 392 </tr> 393 </table> 394 395 </td> 396 </tr> 397 <tr> 398 <td width="15%" align="right" valign="top" class="summary"> 399 <span class="summary-type"> </span> 400 </td><td class="summary"> 401 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 402 <tr> 403 <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 /> 404 GetFileAddress(SBSection self) -> lldb::addr_t</td> 405 <td align="right" valign="top"> 406 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileAddress">source code</a></span> 407 408 </td> 409 </tr> 410 </table> 411 412 </td> 413 </tr> 414 <tr> 415 <td width="15%" align="right" valign="top" class="summary"> 416 <span class="summary-type"> </span> 417 </td><td class="summary"> 418 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 419 <tr> 420 <td><span class="summary-sig"><a name="GetLoadAddress"></a><span class="summary-sig-name">GetLoadAddress</span>(<span class="summary-sig-arg">self</span>, 421 <span class="summary-sig-arg">*args</span>)</span><br /> 422 GetLoadAddress(SBSection self, SBTarget target) -> lldb::addr_t</td> 423 <td align="right" valign="top"> 424 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetLoadAddress">source code</a></span> 425 426 </td> 427 </tr> 428 </table> 429 430 </td> 431 </tr> 432 <tr> 433 <td width="15%" align="right" valign="top" class="summary"> 434 <span class="summary-type"> </span> 435 </td><td class="summary"> 436 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 437 <tr> 438 <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 /> 439 GetByteSize(SBSection self) -> lldb::addr_t</td> 440 <td align="right" valign="top"> 441 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetByteSize">source code</a></span> 442 443 </td> 444 </tr> 445 </table> 446 447 </td> 448 </tr> 449 <tr> 450 <td width="15%" align="right" valign="top" class="summary"> 451 <span class="summary-type"> </span> 452 </td><td class="summary"> 453 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 454 <tr> 455 <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 /> 456 GetFileOffset(SBSection self) -> uint64_t</td> 457 <td align="right" valign="top"> 458 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileOffset">source code</a></span> 459 460 </td> 461 </tr> 462 </table> 463 464 </td> 465 </tr> 466 <tr> 467 <td width="15%" align="right" valign="top" class="summary"> 468 <span class="summary-type"> </span> 469 </td><td class="summary"> 470 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 471 <tr> 472 <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 /> 473 GetFileByteSize(SBSection self) -> uint64_t</td> 474 <td align="right" valign="top"> 475 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetFileByteSize">source code</a></span> 476 477 </td> 478 </tr> 479 </table> 480 481 </td> 482 </tr> 483 <tr> 484 <td width="15%" align="right" valign="top" class="summary"> 485 <span class="summary-type"> </span> 486 </td><td class="summary"> 487 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 488 <tr> 489 <td><span class="summary-sig"><a name="GetSectionData"></a><span class="summary-sig-name">GetSectionData</span>(<span class="summary-sig-arg">self</span>, 490 <span class="summary-sig-arg">*args</span>)</span><br /> 491 GetSectionData(SBSection self) -> SBData GetSectionData(SBSection 492 self, uint64_t offset, uint64_t size) -> SBData</td> 493 <td align="right" valign="top"> 494 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSectionData">source code</a></span> 495 496 </td> 497 </tr> 498 </table> 499 500 </td> 501 </tr> 502 <tr> 503 <td width="15%" align="right" valign="top" class="summary"> 504 <span class="summary-type"> </span> 505 </td><td class="summary"> 506 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 507 <tr> 508 <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 /> 509 GetSectionType(SBSection self) -> lldb::SectionType</td> 510 <td align="right" valign="top"> 511 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetSectionType">source code</a></span> 512 513 </td> 514 </tr> 515 </table> 516 517 </td> 518 </tr> 519 <tr> 520 <td width="15%" align="right" valign="top" class="summary"> 521 <span class="summary-type"> </span> 522 </td><td class="summary"> 523 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 524 <tr> 525 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 526 <span class="summary-sig-arg">*args</span>)</span><br /> 527 GetDescription(SBSection self, SBStream description) -> bool</td> 528 <td align="right" valign="top"> 529 <span class="codelink"><a href="lldb-pysrc.html#SBSection.GetDescription">source code</a></span> 530 531 </td> 532 </tr> 533 </table> 534 535 </td> 536 </tr> 537 <tr> 538 <td width="15%" align="right" valign="top" class="summary"> 539 <span class="summary-type"> </span> 540 </td><td class="summary"> 541 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 542 <tr> 543 <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> 544 <td align="right" valign="top"> 545 <span class="codelink"><a href="lldb-pysrc.html#SBSection.get_addr">source code</a></span> 546 547 </td> 548 </tr> 549 </table> 550 551 </td> 552 </tr> 553 <tr> 554 <td width="15%" align="right" valign="top" class="summary"> 555 <span class="summary-type"> </span> 556 </td><td class="summary"> 557 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 558 <tr> 559 <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 /> 560 __str__(SBSection self) -> PyObject *</td> 561 <td align="right" valign="top"> 562 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__str__">source code</a></span> 563 564 </td> 565 </tr> 566 </table> 567 568 </td> 569 </tr> 570 <tr> 571 <td width="15%" align="right" valign="top" class="summary"> 572 <span class="summary-type"> </span> 573 </td><td class="summary"> 574 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 575 <tr> 576 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, 577 <span class="summary-sig-arg">rhs</span>)</span></td> 578 <td align="right" valign="top"> 579 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__eq__">source code</a></span> 580 581 </td> 582 </tr> 583 </table> 584 585 </td> 586 </tr> 587 <tr> 588 <td width="15%" align="right" valign="top" class="summary"> 589 <span class="summary-type"> </span> 590 </td><td class="summary"> 591 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 592 <tr> 593 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, 594 <span class="summary-sig-arg">rhs</span>)</span></td> 595 <td align="right" valign="top"> 596 <span class="codelink"><a href="lldb-pysrc.html#SBSection.__ne__">source code</a></span> 597 598 </td> 599 </tr> 600 </table> 601 602 </td> 603 </tr> 604 <tr> 605 <td colspan="2" class="summary"> 606 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 607 <code>__delattr__</code>, 608 <code>__format__</code>, 609 <code>__getattribute__</code>, 610 <code>__hash__</code>, 611 <code>__new__</code>, 612 <code>__reduce__</code>, 613 <code>__reduce_ex__</code>, 614 <code>__sizeof__</code>, 615 <code>__subclasshook__</code> 616 </p> 617 </td> 618 </tr> 619 </table> 620 <!-- ==================== CLASS VARIABLES ==================== --> 621 <a name="section-ClassVariables"></a> 622 <table class="summary" border="1" cellpadding="3" 623 cellspacing="0" width="100%" bgcolor="white"> 624 <tr bgcolor="#70b0f0" class="table-header"> 625 <td colspan="2" class="table-header"> 626 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 627 <tr valign="top"> 628 <td align="left"><span class="table-header">Class Variables</span></td> 629 <td align="right" valign="top" 630 ><span class="options">[<a href="#section-ClassVariables" 631 class="privatelink" onclick="toggle_private();" 632 >hide private</a>]</span></td> 633 </tr> 634 </table> 635 </td> 636 </tr> 637 <tr> 638 <td width="15%" align="right" valign="top" class="summary"> 639 <span class="summary-type"> </span> 640 </td><td class="summary"> 641 <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> 642 </td> 643 </tr> 644 <tr> 645 <td width="15%" align="right" valign="top" class="summary"> 646 <span class="summary-type"> </span> 647 </td><td class="summary"> 648 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 649 </td> 650 </tr> 651 </table> 652 <!-- ==================== PROPERTIES ==================== --> 653 <a name="section-Properties"></a> 654 <table class="summary" border="1" cellpadding="3" 655 cellspacing="0" width="100%" bgcolor="white"> 656 <tr bgcolor="#70b0f0" class="table-header"> 657 <td colspan="2" class="table-header"> 658 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 659 <tr valign="top"> 660 <td align="left"><span class="table-header">Properties</span></td> 661 <td align="right" valign="top" 662 ><span class="options">[<a href="#section-Properties" 663 class="privatelink" onclick="toggle_private();" 664 >hide private</a>]</span></td> 665 </tr> 666 </table> 667 </td> 668 </tr> 669 <tr> 670 <td width="15%" align="right" valign="top" class="summary"> 671 <span class="summary-type"> </span> 672 </td><td class="summary"> 673 <a href="lldb.SBSection-class.html#addr" class="summary-name">addr</a><br /> 674 A read only property that returns an lldb object that represents the 675 start address (lldb.SBAddress) for this section. 676 </td> 677 </tr> 678 <tr> 679 <td width="15%" align="right" valign="top" class="summary"> 680 <span class="summary-type"> </span> 681 </td><td class="summary"> 682 <a href="lldb.SBSection-class.html#data" class="summary-name">data</a><br /> 683 A read only property that returns an lldb object that represents the 684 bytes for this section (lldb.SBData) for this section. 685 </td> 686 </tr> 687 <tr> 688 <td width="15%" align="right" valign="top" class="summary"> 689 <span class="summary-type"> </span> 690 </td><td class="summary"> 691 <a href="lldb.SBSection-class.html#file_addr" class="summary-name">file_addr</a><br /> 692 A read only property that returns an integer that represents the 693 starting "file" address for this section, or the address of 694 the section in the object file in which it is defined. 695 </td> 696 </tr> 697 <tr> 698 <td width="15%" align="right" valign="top" class="summary"> 699 <span class="summary-type"> </span> 700 </td><td class="summary"> 701 <a href="lldb.SBSection-class.html#file_offset" class="summary-name">file_offset</a><br /> 702 A read only property that returns the file offset in bytes of this 703 section as an integer. 704 </td> 705 </tr> 706 <tr> 707 <td width="15%" align="right" valign="top" class="summary"> 708 <span class="summary-type"> </span> 709 </td><td class="summary"> 710 <a href="lldb.SBSection-class.html#file_size" class="summary-name">file_size</a><br /> 711 A read only property that returns the file size in bytes of this 712 section as an integer. 713 </td> 714 </tr> 715 <tr> 716 <td width="15%" align="right" valign="top" class="summary"> 717 <span class="summary-type"> </span> 718 </td><td class="summary"> 719 <a href="lldb.SBSection-class.html#name" class="summary-name">name</a><br /> 720 A read only property that returns the name of this section as a 721 string. 722 </td> 723 </tr> 724 <tr> 725 <td width="15%" align="right" valign="top" class="summary"> 726 <span class="summary-type"> </span> 727 </td><td class="summary"> 728 <a href="lldb.SBSection-class.html#size" class="summary-name">size</a><br /> 729 A read only property that returns the size in bytes of this section 730 as an integer. 731 </td> 732 </tr> 733 <tr> 734 <td width="15%" align="right" valign="top" class="summary"> 735 <span class="summary-type"> </span> 736 </td><td class="summary"> 737 <a href="lldb.SBSection-class.html#type" class="summary-name">type</a><br /> 738 A read only property that returns an lldb enumeration value (see 739 enumerations that start with "lldb.eSectionType") that 740 represents the type of this section (code, data, etc.). 741 </td> 742 </tr> 743 <tr> 744 <td colspan="2" class="summary"> 745 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 746 <code>__class__</code> 747 </p> 748 </td> 749 </tr> 750 </table> 751 <!-- ==================== METHOD DETAILS ==================== --> 752 <a name="section-MethodDetails"></a> 753 <table class="details" border="1" cellpadding="3" 754 cellspacing="0" width="100%" bgcolor="white"> 755 <tr bgcolor="#70b0f0" class="table-header"> 756 <td colspan="2" class="table-header"> 757 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 758 <tr valign="top"> 759 <td align="left"><span class="table-header">Method Details</span></td> 760 <td align="right" valign="top" 761 ><span class="options">[<a href="#section-MethodDetails" 762 class="privatelink" onclick="toggle_private();" 763 >hide private</a>]</span></td> 764 </tr> 765 </table> 766 </td> 767 </tr> 768 </table> 769 <a name="__setattr__"></a> 770 <div> 771 <table class="details" border="1" cellpadding="3" 772 cellspacing="0" width="100%" bgcolor="white"> 773 <tr><td> 774 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 775 <tr valign="top"><td> 776 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 777 <span class="sig-arg">name</span>, 778 <span class="sig-arg">value</span>)</span> 779 </h3> 780 </td><td align="right" valign="top" 781 ><span class="codelink"><a href="lldb-pysrc.html#SBSection.__setattr__">source code</a></span> 782 </td> 783 </tr></table> 784 785 <p>x.__setattr__('name', value) <==> x.name = value</p> 786 <dl class="fields"> 787 <dt>Overrides: 788 object.__setattr__ 789 <dd><em class="note">(inherited documentation)</em></dd> 790 </dt> 791 </dl> 792 </td></tr></table> 793 </div> 794 <a name="__repr__"></a> 795 <div> 796 <table class="details" border="1" cellpadding="3" 797 cellspacing="0" width="100%" bgcolor="white"> 798 <tr><td> 799 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 800 <tr valign="top"><td> 801 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 802 <br /><em class="fname">(Representation operator)</em> 803 </h3> 804 </td><td align="right" valign="top" 805 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 806 </td> 807 </tr></table> 808 809 <p>repr(x)</p> 810 <dl class="fields"> 811 <dt>Overrides: 812 object.__repr__ 813 <dd><em class="note">(inherited documentation)</em></dd> 814 </dt> 815 </dl> 816 </td></tr></table> 817 </div> 818 <a name="__init__"></a> 819 <div> 820 <table class="details" border="1" cellpadding="3" 821 cellspacing="0" width="100%" bgcolor="white"> 822 <tr><td> 823 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 824 <tr valign="top"><td> 825 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 826 <span class="sig-arg">*args</span>)</span> 827 <br /><em class="fname">(Constructor)</em> 828 </h3> 829 </td><td align="right" valign="top" 830 ><span class="codelink"><a href="lldb-pysrc.html#SBSection.__init__">source code</a></span> 831 </td> 832 </tr></table> 833 834 <p>__init__(lldb::SBSection self) -> SBSection 835 __init__(lldb::SBSection self, SBSection rhs) -> SBSection</p> 836 <dl class="fields"> 837 <dt>Overrides: 838 object.__init__ 839 </dt> 840 </dl> 841 </td></tr></table> 842 </div> 843 <a name="__str__"></a> 844 <div> 845 <table class="details" border="1" cellpadding="3" 846 cellspacing="0" width="100%" bgcolor="white"> 847 <tr><td> 848 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 849 <tr valign="top"><td> 850 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 851 <br /><em class="fname">(Informal representation operator)</em> 852 </h3> 853 </td><td align="right" valign="top" 854 ><span class="codelink"><a href="lldb-pysrc.html#SBSection.__str__">source code</a></span> 855 </td> 856 </tr></table> 857 858 <p>__str__(SBSection self) -> PyObject *</p> 859 <dl class="fields"> 860 <dt>Overrides: 861 object.__str__ 862 </dt> 863 </dl> 864 </td></tr></table> 865 </div> 866 <br /> 867 <!-- ==================== PROPERTY DETAILS ==================== --> 868 <a name="section-PropertyDetails"></a> 869 <table class="details" border="1" cellpadding="3" 870 cellspacing="0" width="100%" bgcolor="white"> 871 <tr bgcolor="#70b0f0" class="table-header"> 872 <td colspan="2" class="table-header"> 873 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 874 <tr valign="top"> 875 <td align="left"><span class="table-header">Property Details</span></td> 876 <td align="right" valign="top" 877 ><span class="options">[<a href="#section-PropertyDetails" 878 class="privatelink" onclick="toggle_private();" 879 >hide private</a>]</span></td> 880 </tr> 881 </table> 882 </td> 883 </tr> 884 </table> 885 <a name="addr"></a> 886 <div> 887 <table class="details" border="1" cellpadding="3" 888 cellspacing="0" width="100%" bgcolor="white"> 889 <tr><td> 890 <h3 class="epydoc">addr</h3> 891 <p>A read only property that returns an lldb object that represents the 892 start address (lldb.SBAddress) for this section.</p> 893 <dl class="fields"> 894 <dt>Get Method:</dt> 895 <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> 896 </dd> 897 </dl> 898 </td></tr></table> 899 </div> 900 <a name="data"></a> 901 <div> 902 <table class="details" border="1" cellpadding="3" 903 cellspacing="0" width="100%" bgcolor="white"> 904 <tr><td> 905 <h3 class="epydoc">data</h3> 906 <p>A read only property that returns an lldb object that represents the 907 bytes for this section (lldb.SBData) for this section.</p> 908 <dl class="fields"> 909 <dt>Get Method:</dt> 910 <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>, 911 <span class="summary-sig-arg">*args</span>)</span> 912 - GetSectionData(SBSection self) -> SBData GetSectionData(SBSection 913 self, uint64_t offset, uint64_t size) -> SBData 914 </dd> 915 </dl> 916 </td></tr></table> 917 </div> 918 <a name="file_addr"></a> 919 <div> 920 <table class="details" border="1" cellpadding="3" 921 cellspacing="0" width="100%" bgcolor="white"> 922 <tr><td> 923 <h3 class="epydoc">file_addr</h3> 924 <p>A read only property that returns an integer that represents the 925 starting "file" address for this section, or the address of the 926 section in the object file in which it is defined.</p> 927 <dl class="fields"> 928 <dt>Get Method:</dt> 929 <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> 930 - GetFileAddress(SBSection self) -> lldb::addr_t 931 </dd> 932 </dl> 933 </td></tr></table> 934 </div> 935 <a name="file_offset"></a> 936 <div> 937 <table class="details" border="1" cellpadding="3" 938 cellspacing="0" width="100%" bgcolor="white"> 939 <tr><td> 940 <h3 class="epydoc">file_offset</h3> 941 <p>A read only property that returns the file offset in bytes of this 942 section as an integer.</p> 943 <dl class="fields"> 944 <dt>Get Method:</dt> 945 <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> 946 - GetFileOffset(SBSection self) -> uint64_t 947 </dd> 948 </dl> 949 </td></tr></table> 950 </div> 951 <a name="file_size"></a> 952 <div> 953 <table class="details" border="1" cellpadding="3" 954 cellspacing="0" width="100%" bgcolor="white"> 955 <tr><td> 956 <h3 class="epydoc">file_size</h3> 957 <p>A read only property that returns the file size in bytes of this 958 section as an integer.</p> 959 <dl class="fields"> 960 <dt>Get Method:</dt> 961 <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> 962 - GetFileByteSize(SBSection self) -> uint64_t 963 </dd> 964 </dl> 965 </td></tr></table> 966 </div> 967 <a name="name"></a> 968 <div> 969 <table class="details" border="1" cellpadding="3" 970 cellspacing="0" width="100%" bgcolor="white"> 971 <tr><td> 972 <h3 class="epydoc">name</h3> 973 <p>A read only property that returns the name of this section as a 974 string.</p> 975 <dl class="fields"> 976 <dt>Get Method:</dt> 977 <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> 978 - GetName(SBSection self) -> str const * 979 </dd> 980 </dl> 981 </td></tr></table> 982 </div> 983 <a name="size"></a> 984 <div> 985 <table class="details" border="1" cellpadding="3" 986 cellspacing="0" width="100%" bgcolor="white"> 987 <tr><td> 988 <h3 class="epydoc">size</h3> 989 <p>A read only property that returns the size in bytes of this section as 990 an integer.</p> 991 <dl class="fields"> 992 <dt>Get Method:</dt> 993 <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> 994 - GetByteSize(SBSection self) -> lldb::addr_t 995 </dd> 996 </dl> 997 </td></tr></table> 998 </div> 999 <a name="type"></a> 1000 <div> 1001 <table class="details" border="1" cellpadding="3" 1002 cellspacing="0" width="100%" bgcolor="white"> 1003 <tr><td> 1004 <h3 class="epydoc">type</h3> 1005 <p>A read only property that returns an lldb enumeration value (see 1006 enumerations that start with "lldb.eSectionType") that 1007 represents the type of this section (code, data, etc.).</p> 1008 <dl class="fields"> 1009 <dt>Get Method:</dt> 1010 <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> 1011 - GetSectionType(SBSection self) -> lldb::SectionType 1012 </dd> 1013 </dl> 1014 </td></tr></table> 1015 </div> 1016 <br /> 1017 <!-- ==================== NAVIGATION BAR ==================== --> 1018 <table class="navbar" border="0" width="100%" cellpadding="0" 1019 bgcolor="#a0c0ff" cellspacing="0"> 1020 <tr valign="middle"> 1021 1022 <!-- Tree link --> 1023 <th> <a 1024 href="module-tree.html">Trees</a> </th> 1025 1026 <!-- Index link --> 1027 <th> <a 1028 href="identifier-index.html">Indices</a> </th> 1029 1030 <!-- Help link --> 1031 <th> <a 1032 href="help.html">Help</a> </th> 1033 1034 <!-- Project homepage --> 1035 <th class="navbar" align="right" width="100%"> 1036 <table border="0" cellpadding="0" cellspacing="0"> 1037 <tr><th class="navbar" align="center" 1038 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 1039 </tr></table></th> 1040 </tr> 1041 </table> 1042 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 1043 <tr> 1044 <td align="left" class="footer"> 1045 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 1046 </td> 1047 <td align="right" class="footer"> 1048 <a target="mainFrame" href="http://epydoc.sourceforge.net" 1049 >http://epydoc.sourceforge.net</a> 1050 </td> 1051 </tr> 1052 </table> 1053 1054 <script type="text/javascript"> 1055 <!-- 1056 // Private objects are initially displayed (because if 1057 // javascript is turned off then we want them to be 1058 // visible); but by default, we want to hide them. So hide 1059 // them unless we have a cookie that says to show them. 1060 checkCookie(); 1061 // --> 1062 </script> 1063 </body> 1064 </html> 1065