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.SBAddress</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 SBAddress 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.SBAddress-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 SBAddress</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBAddress">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sba" name="uml_class_diagram_for_lldb_sba"> 63 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__swig_setmethods__" title="lldb.SBAddress.__swig_setmethods__" alt="" coords="17,31,197,49"/> 64 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__swig_getmethods__" title="lldb.SBAddress.__swig_getmethods__" alt="" coords="17,49,197,68"/> 65 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#block" title="A read only property that returns an lldb object that represents the block  (lldb.SBBlock) that this address resides within." alt="" coords="17,68,197,87"/> 66 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#compile_unit" title="A read only property that returns an lldb object that represents the  compile unit (lldb.SBCompileUnit) that this address resides within." alt="" coords="17,87,197,105"/> 67 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#file_addr" title="A read only property that returns file address for the section as an  integer." alt="" coords="17,105,197,124"/> 68 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#function" title="A read only property that returns an lldb object that represents the  function (lldb.SBFunction) that this address resides within." alt="" coords="17,124,197,143"/> 69 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#line_entry" title="A read only property that returns an lldb object that represents the line  entry (lldb.SBLineEntry) that this address resides within." alt="" coords="17,143,197,161"/> 70 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#load_addr" title="A read/write property that gets/sets the SBAddress using load address." alt="" coords="17,161,197,180"/> 71 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#module" title="A read only property that returns an lldb object that represents the module (lldb.SBModule) that this address resides within." alt="" coords="17,180,197,199"/> 72 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#offset" title="A read only property that returns the section offset in bytes as an  integer." alt="" coords="17,199,197,217"/> 73 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#section" title="A read only property that returns an lldb object that represents the  section (lldb.SBSection) that this address resides within." alt="" coords="17,217,197,236"/> 74 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#symbol" title="A read only property that returns an lldb object that represents the symbol (lldb.SBSymbol) that this address resides within." alt="" coords="17,236,197,255"/> 75 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,257,197,276"/> 76 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__getattr__" title="lldb.SBAddress.__getattr__" alt="" coords="17,276,197,295"/> 77 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__repr__" title="repr(x)" alt="" coords="17,295,197,313"/> 78 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__eq__" title="lldb.SBAddress.__eq__" alt="" coords="17,313,197,332"/> 79 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__ne__" title="lldb.SBAddress.__ne__" alt="" coords="17,332,197,351"/> 80 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__init__" title="__init__(lldb::SBAddress self) -> SBAddress __init__(lldb::SBAddress self,  SBAddress rhs) -> SBAddress __init__(lldb::SBAddress self, SBSection  section, lldb::addr_t offset) -> SBAddress __init__(lldb::SBAddress self,  lldb::addr_t load_addr, SBTarget target) -> SBAddress" alt="" coords="17,351,197,369"/> 81 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__swig_destroy__" title="delete_SBAddress(SBAddress self)" alt="" coords="17,369,197,388"/> 82 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__del__" title="lldb.SBAddress.__del__" alt="" coords="17,388,197,407"/> 83 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__nonzero__" title="lldb.SBAddress.__nonzero__" alt="" coords="17,407,197,425"/> 84 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#IsValid" title="IsValid(SBAddress self) -> bool" alt="" coords="17,425,197,444"/> 85 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#Clear" title="Clear(SBAddress self)" alt="" coords="17,444,197,463"/> 86 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#GetFileAddress" title="GetFileAddress(SBAddress self) -> lldb::addr_t" alt="" coords="17,463,197,481"/> 87 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#GetLoadAddress" title="GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t" alt="" coords="17,481,197,500"/> 88 <area shape="rect" id="node0" href="lldb.SBAddress-class.html#__str__" title="__str__(SBAddress self) -> PyObject *" alt="" coords="17,519,197,537"/> 89 <area shape="rect" id="node1" href="lldb.SBAddress-class.html" title="A section + offset based address class." alt="" coords="5,6,208,543"/> 90 </map> 91 <img src="uml_class_diagram_for_lldb_sba.gif" alt='' usemap="#uml_class_diagram_for_lldb_sba" ismap="ismap" class="graph-without-title" /> 92 </center> 93 </center> 94 <hr /> 95 <pre class="literalblock"> 96 97 A section + offset based address class. 98 99 The SBAddress class allows addresses to be relative to a section 100 that can move during runtime due to images (executables, shared 101 libraries, bundles, frameworks) being loaded at different 102 addresses than the addresses found in the object file that 103 represents them on disk. There are currently two types of addresses 104 for a section: 105 o file addresses 106 o load addresses 107 108 File addresses represents the virtual addresses that are in the 'on 109 disk' object files. These virtual addresses are converted to be 110 relative to unique sections scoped to the object file so that 111 when/if the addresses slide when the images are loaded/unloaded 112 in memory, we can easily track these changes without having to 113 update every object (compile unit ranges, line tables, function 114 address ranges, lexical block and inlined subroutine address 115 ranges, global and static variables) each time an image is loaded or 116 unloaded. 117 118 Load addresses represents the virtual addresses where each section 119 ends up getting loaded at runtime. Before executing a program, it 120 is common for all of the load addresses to be unresolved. When a 121 DynamicLoader plug-in receives notification that shared libraries 122 have been loaded/unloaded, the load addresses of the main executable 123 and any images (shared libraries) will be resolved/unresolved. When 124 this happens, breakpoints that are in one of these sections can be 125 set/cleared. 126 127 See docstring of SBFunction for example usage of SBAddress. 128 129 </pre> 130 131 <!-- ==================== INSTANCE METHODS ==================== --> 132 <a name="section-InstanceMethods"></a> 133 <table class="summary" border="1" cellpadding="3" 134 cellspacing="0" width="100%" bgcolor="white"> 135 <tr bgcolor="#70b0f0" class="table-header"> 136 <td colspan="2" class="table-header"> 137 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 138 <tr valign="top"> 139 <td align="left"><span class="table-header">Instance Methods</span></td> 140 <td align="right" valign="top" 141 ><span class="options">[<a href="#section-InstanceMethods" 142 class="privatelink" onclick="toggle_private();" 143 >hide private</a>]</span></td> 144 </tr> 145 </table> 146 </td> 147 </tr> 148 <tr> 149 <td width="15%" align="right" valign="top" class="summary"> 150 <span class="summary-type"> </span> 151 </td><td class="summary"> 152 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 153 <tr> 154 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 155 <span class="summary-sig-arg">name</span>, 156 <span class="summary-sig-arg">value</span>)</span><br /> 157 x.__setattr__('name', value) <==> x.name = value</td> 158 <td align="right" valign="top"> 159 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__setattr__">source code</a></span> 160 161 </td> 162 </tr> 163 </table> 164 165 </td> 166 </tr> 167 <tr> 168 <td width="15%" align="right" valign="top" class="summary"> 169 <span class="summary-type"> </span> 170 </td><td class="summary"> 171 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 172 <tr> 173 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 174 <span class="summary-sig-arg">name</span>)</span></td> 175 <td align="right" valign="top"> 176 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__getattr__">source code</a></span> 177 178 </td> 179 </tr> 180 </table> 181 182 </td> 183 </tr> 184 <tr> 185 <td width="15%" align="right" valign="top" class="summary"> 186 <span class="summary-type"> </span> 187 </td><td class="summary"> 188 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 189 <tr> 190 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 191 repr(x)</td> 192 <td align="right" valign="top"> 193 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 194 195 </td> 196 </tr> 197 </table> 198 199 </td> 200 </tr> 201 <tr> 202 <td width="15%" align="right" valign="top" class="summary"> 203 <span class="summary-type"> </span> 204 </td><td class="summary"> 205 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 206 <tr> 207 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, 208 <span class="summary-sig-arg">other</span>)</span></td> 209 <td align="right" valign="top"> 210 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__eq__">source code</a></span> 211 212 </td> 213 </tr> 214 </table> 215 216 </td> 217 </tr> 218 <tr> 219 <td width="15%" align="right" valign="top" class="summary"> 220 <span class="summary-type"> </span> 221 </td><td class="summary"> 222 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 223 <tr> 224 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, 225 <span class="summary-sig-arg">other</span>)</span></td> 226 <td align="right" valign="top"> 227 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__ne__">source code</a></span> 228 229 </td> 230 </tr> 231 </table> 232 233 </td> 234 </tr> 235 <tr> 236 <td width="15%" align="right" valign="top" class="summary"> 237 <span class="summary-type"> </span> 238 </td><td class="summary"> 239 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 240 <tr> 241 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 242 <span class="summary-sig-arg">*args</span>)</span><br /> 243 __init__(lldb::SBAddress self) -> SBAddress 244 __init__(lldb::SBAddress self, SBAddress rhs) -> SBAddress 245 __init__(lldb::SBAddress self, SBSection section, lldb::addr_t 246 offset) -> SBAddress __init__(lldb::SBAddress self, lldb::addr_t 247 load_addr, SBTarget target) -> SBAddress</td> 248 <td align="right" valign="top"> 249 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__init__">source code</a></span> 250 251 </td> 252 </tr> 253 </table> 254 255 </td> 256 </tr> 257 <tr> 258 <td width="15%" align="right" valign="top" class="summary"> 259 <span class="summary-type"> </span> 260 </td><td class="summary"> 261 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 262 <tr> 263 <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 /> 264 delete_SBAddress(SBAddress self)</td> 265 <td align="right" valign="top"> 266 267 268 </td> 269 </tr> 270 </table> 271 272 </td> 273 </tr> 274 <tr> 275 <td width="15%" align="right" valign="top" class="summary"> 276 <span class="summary-type"> </span> 277 </td><td class="summary"> 278 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 279 <tr> 280 <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> 281 <td align="right" valign="top"> 282 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__del__">source code</a></span> 283 284 </td> 285 </tr> 286 </table> 287 288 </td> 289 </tr> 290 <tr> 291 <td width="15%" align="right" valign="top" class="summary"> 292 <span class="summary-type"> </span> 293 </td><td class="summary"> 294 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 295 <tr> 296 <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> 297 <td align="right" valign="top"> 298 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__nonzero__">source code</a></span> 299 300 </td> 301 </tr> 302 </table> 303 304 </td> 305 </tr> 306 <tr> 307 <td width="15%" align="right" valign="top" class="summary"> 308 <span class="summary-type"> </span> 309 </td><td class="summary"> 310 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 311 <tr> 312 <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 /> 313 IsValid(SBAddress self) -> bool</td> 314 <td align="right" valign="top"> 315 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.IsValid">source code</a></span> 316 317 </td> 318 </tr> 319 </table> 320 321 </td> 322 </tr> 323 <tr> 324 <td width="15%" align="right" valign="top" class="summary"> 325 <span class="summary-type"> </span> 326 </td><td class="summary"> 327 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 328 <tr> 329 <td><span class="summary-sig"><a name="Clear"></a><span class="summary-sig-name">Clear</span>(<span class="summary-sig-arg">self</span>)</span><br /> 330 Clear(SBAddress self)</td> 331 <td align="right" valign="top"> 332 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.Clear">source code</a></span> 333 334 </td> 335 </tr> 336 </table> 337 338 </td> 339 </tr> 340 <tr> 341 <td width="15%" align="right" valign="top" class="summary"> 342 <span class="summary-type"> </span> 343 </td><td class="summary"> 344 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 345 <tr> 346 <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 /> 347 GetFileAddress(SBAddress self) -> lldb::addr_t</td> 348 <td align="right" valign="top"> 349 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetFileAddress">source code</a></span> 350 351 </td> 352 </tr> 353 </table> 354 355 </td> 356 </tr> 357 <tr> 358 <td width="15%" align="right" valign="top" class="summary"> 359 <span class="summary-type"> </span> 360 </td><td class="summary"> 361 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 362 <tr> 363 <td><span class="summary-sig"><a name="GetLoadAddress"></a><span class="summary-sig-name">GetLoadAddress</span>(<span class="summary-sig-arg">self</span>, 364 <span class="summary-sig-arg">*args</span>)</span><br /> 365 GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t</td> 366 <td align="right" valign="top"> 367 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetLoadAddress">source code</a></span> 368 369 </td> 370 </tr> 371 </table> 372 373 </td> 374 </tr> 375 <tr> 376 <td width="15%" align="right" valign="top" class="summary"> 377 <span class="summary-type"> </span> 378 </td><td class="summary"> 379 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 380 <tr> 381 <td><span class="summary-sig"><a name="SetLoadAddress"></a><span class="summary-sig-name">SetLoadAddress</span>(<span class="summary-sig-arg">self</span>, 382 <span class="summary-sig-arg">*args</span>)</span><br /> 383 SetLoadAddress(SBAddress self, lldb::addr_t load_addr, SBTarget 384 target)</td> 385 <td align="right" valign="top"> 386 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.SetLoadAddress">source code</a></span> 387 388 </td> 389 </tr> 390 </table> 391 392 </td> 393 </tr> 394 <tr> 395 <td width="15%" align="right" valign="top" class="summary"> 396 <span class="summary-type"> </span> 397 </td><td class="summary"> 398 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 399 <tr> 400 <td><span class="summary-sig"><a name="OffsetAddress"></a><span class="summary-sig-name">OffsetAddress</span>(<span class="summary-sig-arg">self</span>, 401 <span class="summary-sig-arg">*args</span>)</span><br /> 402 OffsetAddress(SBAddress self, lldb::addr_t offset) -> bool</td> 403 <td align="right" valign="top"> 404 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.OffsetAddress">source code</a></span> 405 406 </td> 407 </tr> 408 </table> 409 410 </td> 411 </tr> 412 <tr> 413 <td width="15%" align="right" valign="top" class="summary"> 414 <span class="summary-type"> </span> 415 </td><td class="summary"> 416 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 417 <tr> 418 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 419 <span class="summary-sig-arg">*args</span>)</span><br /> 420 GetDescription(SBAddress self, SBStream description) -> bool</td> 421 <td align="right" valign="top"> 422 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetDescription">source code</a></span> 423 424 </td> 425 </tr> 426 </table> 427 428 </td> 429 </tr> 430 <tr> 431 <td width="15%" align="right" valign="top" class="summary"> 432 <span class="summary-type"> </span> 433 </td><td class="summary"> 434 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 435 <tr> 436 <td><span class="summary-sig"><a name="GetSection"></a><span class="summary-sig-name">GetSection</span>(<span class="summary-sig-arg">self</span>)</span><br /> 437 GetSection(SBAddress self) -> SBSection</td> 438 <td align="right" valign="top"> 439 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSection">source code</a></span> 440 441 </td> 442 </tr> 443 </table> 444 445 </td> 446 </tr> 447 <tr> 448 <td width="15%" align="right" valign="top" class="summary"> 449 <span class="summary-type"> </span> 450 </td><td class="summary"> 451 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 452 <tr> 453 <td><span class="summary-sig"><a name="GetOffset"></a><span class="summary-sig-name">GetOffset</span>(<span class="summary-sig-arg">self</span>)</span><br /> 454 GetOffset(SBAddress self) -> lldb::addr_t</td> 455 <td align="right" valign="top"> 456 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetOffset">source code</a></span> 457 458 </td> 459 </tr> 460 </table> 461 462 </td> 463 </tr> 464 <tr> 465 <td width="15%" align="right" valign="top" class="summary"> 466 <span class="summary-type"> </span> 467 </td><td class="summary"> 468 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 469 <tr> 470 <td><span class="summary-sig"><a name="SetAddress"></a><span class="summary-sig-name">SetAddress</span>(<span class="summary-sig-arg">self</span>, 471 <span class="summary-sig-arg">*args</span>)</span><br /> 472 SetAddress(SBAddress self, SBSection section, lldb::addr_t offset)</td> 473 <td align="right" valign="top"> 474 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.SetAddress">source code</a></span> 475 476 </td> 477 </tr> 478 </table> 479 480 </td> 481 </tr> 482 <tr> 483 <td width="15%" align="right" valign="top" class="summary"> 484 <span class="summary-type"> </span> 485 </td><td class="summary"> 486 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 487 <tr> 488 <td><span class="summary-sig"><a name="GetAddressClass"></a><span class="summary-sig-name">GetAddressClass</span>(<span class="summary-sig-arg">self</span>)</span><br /> 489 GetAddressClass(SBAddress self) -> lldb::AddressClass</td> 490 <td align="right" valign="top"> 491 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetAddressClass">source code</a></span> 492 493 </td> 494 </tr> 495 </table> 496 497 </td> 498 </tr> 499 <tr> 500 <td width="15%" align="right" valign="top" class="summary"> 501 <span class="summary-type"> </span> 502 </td><td class="summary"> 503 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 504 <tr> 505 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSymbolContext" class="summary-sig-name">GetSymbolContext</a>(<span class="summary-sig-arg">self</span>, 506 <span class="summary-sig-arg">*args</span>)</span><br /> 507 GetSymbolContext(SBAddress self, uint32_t resolve_scope) -> 508 SBSymbolContext</td> 509 <td align="right" valign="top"> 510 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbolContext">source code</a></span> 511 512 </td> 513 </tr> 514 </table> 515 516 </td> 517 </tr> 518 <tr> 519 <td width="15%" align="right" valign="top" class="summary"> 520 <span class="summary-type"> </span> 521 </td><td class="summary"> 522 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 523 <tr> 524 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetModule" class="summary-sig-name">GetModule</a>(<span class="summary-sig-arg">self</span>)</span><br /> 525 GetModule(SBAddress self) -> SBModule</td> 526 <td align="right" valign="top"> 527 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetModule">source code</a></span> 528 529 </td> 530 </tr> 531 </table> 532 533 </td> 534 </tr> 535 <tr> 536 <td width="15%" align="right" valign="top" class="summary"> 537 <span class="summary-type"> </span> 538 </td><td class="summary"> 539 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 540 <tr> 541 <td><span class="summary-sig"><a name="GetCompileUnit"></a><span class="summary-sig-name">GetCompileUnit</span>(<span class="summary-sig-arg">self</span>)</span><br /> 542 GetCompileUnit(SBAddress self) -> SBCompileUnit</td> 543 <td align="right" valign="top"> 544 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetCompileUnit">source code</a></span> 545 546 </td> 547 </tr> 548 </table> 549 550 </td> 551 </tr> 552 <tr> 553 <td width="15%" align="right" valign="top" class="summary"> 554 <span class="summary-type"> </span> 555 </td><td class="summary"> 556 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 557 <tr> 558 <td><span class="summary-sig"><a name="GetFunction"></a><span class="summary-sig-name">GetFunction</span>(<span class="summary-sig-arg">self</span>)</span><br /> 559 GetFunction(SBAddress self) -> SBFunction</td> 560 <td align="right" valign="top"> 561 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetFunction">source code</a></span> 562 563 </td> 564 </tr> 565 </table> 566 567 </td> 568 </tr> 569 <tr> 570 <td width="15%" align="right" valign="top" class="summary"> 571 <span class="summary-type"> </span> 572 </td><td class="summary"> 573 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 574 <tr> 575 <td><span class="summary-sig"><a name="GetBlock"></a><span class="summary-sig-name">GetBlock</span>(<span class="summary-sig-arg">self</span>)</span><br /> 576 GetBlock(SBAddress self) -> SBBlock</td> 577 <td align="right" valign="top"> 578 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetBlock">source code</a></span> 579 580 </td> 581 </tr> 582 </table> 583 584 </td> 585 </tr> 586 <tr> 587 <td width="15%" align="right" valign="top" class="summary"> 588 <span class="summary-type"> </span> 589 </td><td class="summary"> 590 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 591 <tr> 592 <td><span class="summary-sig"><a name="GetSymbol"></a><span class="summary-sig-name">GetSymbol</span>(<span class="summary-sig-arg">self</span>)</span><br /> 593 GetSymbol(SBAddress self) -> SBSymbol</td> 594 <td align="right" valign="top"> 595 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbol">source code</a></span> 596 597 </td> 598 </tr> 599 </table> 600 601 </td> 602 </tr> 603 <tr> 604 <td width="15%" align="right" valign="top" class="summary"> 605 <span class="summary-type"> </span> 606 </td><td class="summary"> 607 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 608 <tr> 609 <td><span class="summary-sig"><a name="GetLineEntry"></a><span class="summary-sig-name">GetLineEntry</span>(<span class="summary-sig-arg">self</span>)</span><br /> 610 GetLineEntry(SBAddress self) -> SBLineEntry</td> 611 <td align="right" valign="top"> 612 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetLineEntry">source code</a></span> 613 614 </td> 615 </tr> 616 </table> 617 618 </td> 619 </tr> 620 <tr> 621 <td width="15%" align="right" valign="top" class="summary"> 622 <span class="summary-type"> </span> 623 </td><td class="summary"> 624 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 625 <tr> 626 <td><span class="summary-sig"><a name="__get_load_addr_property__"></a><span class="summary-sig-name">__get_load_addr_property__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 627 Get the load address for a lldb.SBAddress using the current target.</td> 628 <td align="right" valign="top"> 629 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__get_load_addr_property__">source code</a></span> 630 631 </td> 632 </tr> 633 </table> 634 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 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 642 <tr> 643 <td><span class="summary-sig"><a name="__set_load_addr_property__"></a><span class="summary-sig-name">__set_load_addr_property__</span>(<span class="summary-sig-arg">self</span>, 644 <span class="summary-sig-arg">load_addr</span>)</span><br /> 645 Set the load address for a lldb.SBAddress using the current target.</td> 646 <td align="right" valign="top"> 647 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__set_load_addr_property__">source code</a></span> 648 649 </td> 650 </tr> 651 </table> 652 653 </td> 654 </tr> 655 <tr> 656 <td width="15%" align="right" valign="top" class="summary"> 657 <span class="summary-type"> </span> 658 </td><td class="summary"> 659 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 660 <tr> 661 <td><span class="summary-sig"><a name="__int__"></a><span class="summary-sig-name">__int__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 662 Convert an address to a load address if there is a process and that 663 process is alive, or to a file address otherwise.</td> 664 <td align="right" valign="top"> 665 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__int__">source code</a></span> 666 667 </td> 668 </tr> 669 </table> 670 671 </td> 672 </tr> 673 <tr> 674 <td width="15%" align="right" valign="top" class="summary"> 675 <span class="summary-type"> </span> 676 </td><td class="summary"> 677 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 678 <tr> 679 <td><span class="summary-sig"><a name="__oct__"></a><span class="summary-sig-name">__oct__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 680 Convert the address to an octal string</td> 681 <td align="right" valign="top"> 682 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__oct__">source code</a></span> 683 684 </td> 685 </tr> 686 </table> 687 688 </td> 689 </tr> 690 <tr> 691 <td width="15%" align="right" valign="top" class="summary"> 692 <span class="summary-type"> </span> 693 </td><td class="summary"> 694 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 695 <tr> 696 <td><span class="summary-sig"><a name="__hex__"></a><span class="summary-sig-name">__hex__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 697 Convert the address to an hex string</td> 698 <td align="right" valign="top"> 699 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__hex__">source code</a></span> 700 701 </td> 702 </tr> 703 </table> 704 705 </td> 706 </tr> 707 <tr> 708 <td width="15%" align="right" valign="top" class="summary"> 709 <span class="summary-type"> </span> 710 </td><td class="summary"> 711 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 712 <tr> 713 <td><span class="summary-sig"><a href="lldb.SBAddress-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 714 __str__(SBAddress self) -> PyObject *</td> 715 <td align="right" valign="top"> 716 <span class="codelink"><a href="lldb-pysrc.html#SBAddress.__str__">source code</a></span> 717 718 </td> 719 </tr> 720 </table> 721 722 </td> 723 </tr> 724 <tr> 725 <td colspan="2" class="summary"> 726 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 727 <code>__delattr__</code>, 728 <code>__format__</code>, 729 <code>__getattribute__</code>, 730 <code>__hash__</code>, 731 <code>__new__</code>, 732 <code>__reduce__</code>, 733 <code>__reduce_ex__</code>, 734 <code>__sizeof__</code>, 735 <code>__subclasshook__</code> 736 </p> 737 </td> 738 </tr> 739 </table> 740 <!-- ==================== CLASS VARIABLES ==================== --> 741 <a name="section-ClassVariables"></a> 742 <table class="summary" border="1" cellpadding="3" 743 cellspacing="0" width="100%" bgcolor="white"> 744 <tr bgcolor="#70b0f0" class="table-header"> 745 <td colspan="2" class="table-header"> 746 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 747 <tr valign="top"> 748 <td align="left"><span class="table-header">Class Variables</span></td> 749 <td align="right" valign="top" 750 ><span class="options">[<a href="#section-ClassVariables" 751 class="privatelink" onclick="toggle_private();" 752 >hide private</a>]</span></td> 753 </tr> 754 </table> 755 </td> 756 </tr> 757 <tr> 758 <td width="15%" align="right" valign="top" class="summary"> 759 <span class="summary-type"> </span> 760 </td><td class="summary"> 761 <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}">{}</code> 762 </td> 763 </tr> 764 <tr> 765 <td width="15%" align="right" valign="top" class="summary"> 766 <span class="summary-type"> </span> 767 </td><td class="summary"> 768 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 769 </td> 770 </tr> 771 </table> 772 <!-- ==================== PROPERTIES ==================== --> 773 <a name="section-Properties"></a> 774 <table class="summary" border="1" cellpadding="3" 775 cellspacing="0" width="100%" bgcolor="white"> 776 <tr bgcolor="#70b0f0" class="table-header"> 777 <td colspan="2" class="table-header"> 778 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 779 <tr valign="top"> 780 <td align="left"><span class="table-header">Properties</span></td> 781 <td align="right" valign="top" 782 ><span class="options">[<a href="#section-Properties" 783 class="privatelink" onclick="toggle_private();" 784 >hide private</a>]</span></td> 785 </tr> 786 </table> 787 </td> 788 </tr> 789 <tr> 790 <td width="15%" align="right" valign="top" class="summary"> 791 <span class="summary-type"> </span> 792 </td><td class="summary"> 793 <a href="lldb.SBAddress-class.html#block" class="summary-name">block</a><br /> 794 A read only property that returns an lldb object that represents the 795 block (lldb.SBBlock) that this address resides within. 796 </td> 797 </tr> 798 <tr> 799 <td width="15%" align="right" valign="top" class="summary"> 800 <span class="summary-type"> </span> 801 </td><td class="summary"> 802 <a href="lldb.SBAddress-class.html#compile_unit" class="summary-name">compile_unit</a><br /> 803 A read only property that returns an lldb object that represents the 804 compile unit (lldb.SBCompileUnit) that this address resides within. 805 </td> 806 </tr> 807 <tr> 808 <td width="15%" align="right" valign="top" class="summary"> 809 <span class="summary-type"> </span> 810 </td><td class="summary"> 811 <a href="lldb.SBAddress-class.html#file_addr" class="summary-name">file_addr</a><br /> 812 A read only property that returns file address for the section as an 813 integer. 814 </td> 815 </tr> 816 <tr> 817 <td width="15%" align="right" valign="top" class="summary"> 818 <span class="summary-type"> </span> 819 </td><td class="summary"> 820 <a href="lldb.SBAddress-class.html#function" class="summary-name">function</a><br /> 821 A read only property that returns an lldb object that represents the 822 function (lldb.SBFunction) that this address resides within. 823 </td> 824 </tr> 825 <tr> 826 <td width="15%" align="right" valign="top" class="summary"> 827 <span class="summary-type"> </span> 828 </td><td class="summary"> 829 <a href="lldb.SBAddress-class.html#line_entry" class="summary-name">line_entry</a><br /> 830 A read only property that returns an lldb object that represents the 831 line entry (lldb.SBLineEntry) that this address resides within. 832 </td> 833 </tr> 834 <tr> 835 <td width="15%" align="right" valign="top" class="summary"> 836 <span class="summary-type"> </span> 837 </td><td class="summary"> 838 <a href="lldb.SBAddress-class.html#load_addr" class="summary-name">load_addr</a><br /> 839 A read/write property that gets/sets the SBAddress using load 840 address. 841 </td> 842 </tr> 843 <tr> 844 <td width="15%" align="right" valign="top" class="summary"> 845 <span class="summary-type"> </span> 846 </td><td class="summary"> 847 <a href="lldb.SBAddress-class.html#module" class="summary-name">module</a><br /> 848 A read only property that returns an lldb object that represents the 849 module (lldb.SBModule) that this address resides within. 850 </td> 851 </tr> 852 <tr> 853 <td width="15%" align="right" valign="top" class="summary"> 854 <span class="summary-type"> </span> 855 </td><td class="summary"> 856 <a href="lldb.SBAddress-class.html#offset" class="summary-name">offset</a><br /> 857 A read only property that returns the section offset in bytes as an 858 integer. 859 </td> 860 </tr> 861 <tr> 862 <td width="15%" align="right" valign="top" class="summary"> 863 <span class="summary-type"> </span> 864 </td><td class="summary"> 865 <a href="lldb.SBAddress-class.html#section" class="summary-name">section</a><br /> 866 A read only property that returns an lldb object that represents the 867 section (lldb.SBSection) that this address resides within. 868 </td> 869 </tr> 870 <tr> 871 <td width="15%" align="right" valign="top" class="summary"> 872 <span class="summary-type"> </span> 873 </td><td class="summary"> 874 <a href="lldb.SBAddress-class.html#symbol" class="summary-name">symbol</a><br /> 875 A read only property that returns an lldb object that represents the 876 symbol (lldb.SBSymbol) that this address resides within. 877 </td> 878 </tr> 879 <tr> 880 <td colspan="2" class="summary"> 881 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 882 <code>__class__</code> 883 </p> 884 </td> 885 </tr> 886 </table> 887 <!-- ==================== METHOD DETAILS ==================== --> 888 <a name="section-MethodDetails"></a> 889 <table class="details" border="1" cellpadding="3" 890 cellspacing="0" width="100%" bgcolor="white"> 891 <tr bgcolor="#70b0f0" class="table-header"> 892 <td colspan="2" class="table-header"> 893 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 894 <tr valign="top"> 895 <td align="left"><span class="table-header">Method Details</span></td> 896 <td align="right" valign="top" 897 ><span class="options">[<a href="#section-MethodDetails" 898 class="privatelink" onclick="toggle_private();" 899 >hide private</a>]</span></td> 900 </tr> 901 </table> 902 </td> 903 </tr> 904 </table> 905 <a name="__setattr__"></a> 906 <div> 907 <table class="details" border="1" cellpadding="3" 908 cellspacing="0" width="100%" bgcolor="white"> 909 <tr><td> 910 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 911 <tr valign="top"><td> 912 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 913 <span class="sig-arg">name</span>, 914 <span class="sig-arg">value</span>)</span> 915 </h3> 916 </td><td align="right" valign="top" 917 ><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__setattr__">source code</a></span> 918 </td> 919 </tr></table> 920 921 <p>x.__setattr__('name', value) <==> x.name = value</p> 922 <dl class="fields"> 923 <dt>Overrides: 924 object.__setattr__ 925 <dd><em class="note">(inherited documentation)</em></dd> 926 </dt> 927 </dl> 928 </td></tr></table> 929 </div> 930 <a name="__repr__"></a> 931 <div> 932 <table class="details" border="1" cellpadding="3" 933 cellspacing="0" width="100%" bgcolor="white"> 934 <tr><td> 935 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 936 <tr valign="top"><td> 937 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 938 <br /><em class="fname">(Representation operator)</em> 939 </h3> 940 </td><td align="right" valign="top" 941 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 942 </td> 943 </tr></table> 944 945 <p>repr(x)</p> 946 <dl class="fields"> 947 <dt>Overrides: 948 object.__repr__ 949 <dd><em class="note">(inherited documentation)</em></dd> 950 </dt> 951 </dl> 952 </td></tr></table> 953 </div> 954 <a name="__init__"></a> 955 <div> 956 <table class="details" border="1" cellpadding="3" 957 cellspacing="0" width="100%" bgcolor="white"> 958 <tr><td> 959 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 960 <tr valign="top"><td> 961 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 962 <span class="sig-arg">*args</span>)</span> 963 <br /><em class="fname">(Constructor)</em> 964 </h3> 965 </td><td align="right" valign="top" 966 ><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__init__">source code</a></span> 967 </td> 968 </tr></table> 969 970 <p>__init__(lldb::SBAddress self) -> SBAddress 971 __init__(lldb::SBAddress self, SBAddress rhs) -> SBAddress 972 __init__(lldb::SBAddress self, SBSection section, lldb::addr_t offset) 973 -> SBAddress __init__(lldb::SBAddress self, lldb::addr_t load_addr, 974 SBTarget target) -> SBAddress</p> 975 <p>Create an address by resolving a load address using the supplied 976 target.</p> 977 <dl class="fields"> 978 <dt>Overrides: 979 object.__init__ 980 </dt> 981 </dl> 982 </td></tr></table> 983 </div> 984 <a name="GetSymbolContext"></a> 985 <div> 986 <table class="details" border="1" cellpadding="3" 987 cellspacing="0" width="100%" bgcolor="white"> 988 <tr><td> 989 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 990 <tr valign="top"><td> 991 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetSymbolContext</span>(<span class="sig-arg">self</span>, 992 <span class="sig-arg">*args</span>)</span> 993 </h3> 994 </td><td align="right" valign="top" 995 ><span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetSymbolContext">source code</a></span> 996 </td> 997 </tr></table> 998 999 <p>GetSymbolContext(SBAddress self, uint32_t resolve_scope) -> 1000 SBSymbolContext</p> 1001 <p>GetSymbolContext() and the following can lookup symbol information for 1002 a given address. An address might refer to code or data from an existing 1003 module, or it might refer to something on the stack or heap. The 1004 following functions will only return valid values if the address has been 1005 resolved to a code or data address using 'void 1006 SBAddress::SetLoadAddress(...)' or 'lldb::SBAddress 1007 SBTarget::ResolveLoadAddress (...)'.</p> 1008 <dl class="fields"> 1009 </dl> 1010 </td></tr></table> 1011 </div> 1012 <a name="GetModule"></a> 1013 <div> 1014 <table class="details" border="1" cellpadding="3" 1015 cellspacing="0" width="100%" bgcolor="white"> 1016 <tr><td> 1017 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1018 <tr valign="top"><td> 1019 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetModule</span>(<span class="sig-arg">self</span>)</span> 1020 </h3> 1021 </td><td align="right" valign="top" 1022 ><span class="codelink"><a href="lldb-pysrc.html#SBAddress.GetModule">source code</a></span> 1023 </td> 1024 </tr></table> 1025 1026 <pre class="literalblock"> 1027 1028 GetModule(SBAddress self) -> SBModule 1029 1030 GetModule() and the following grab individual objects for a given address and 1031 are less efficient if you want more than one symbol related objects. 1032 Use one of the following when you want multiple debug symbol related 1033 objects for an address: 1034 lldb::SBSymbolContext SBAddress::GetSymbolContext (uint32_t resolve_scope); 1035 lldb::SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress &addr, uint32_t resolve_scope); 1036 One or more bits from the SymbolContextItem enumerations can be logically 1037 OR'ed together to more efficiently retrieve multiple symbol objects. 1038 1039 </pre> 1040 <dl class="fields"> 1041 </dl> 1042 </td></tr></table> 1043 </div> 1044 <a name="__str__"></a> 1045 <div> 1046 <table class="details" border="1" cellpadding="3" 1047 cellspacing="0" width="100%" bgcolor="white"> 1048 <tr><td> 1049 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1050 <tr valign="top"><td> 1051 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 1052 <br /><em class="fname">(Informal representation operator)</em> 1053 </h3> 1054 </td><td align="right" valign="top" 1055 ><span class="codelink"><a href="lldb-pysrc.html#SBAddress.__str__">source code</a></span> 1056 </td> 1057 </tr></table> 1058 1059 <p>__str__(SBAddress self) -> PyObject *</p> 1060 <dl class="fields"> 1061 <dt>Overrides: 1062 object.__str__ 1063 </dt> 1064 </dl> 1065 </td></tr></table> 1066 </div> 1067 <br /> 1068 <!-- ==================== PROPERTY DETAILS ==================== --> 1069 <a name="section-PropertyDetails"></a> 1070 <table class="details" border="1" cellpadding="3" 1071 cellspacing="0" width="100%" bgcolor="white"> 1072 <tr bgcolor="#70b0f0" class="table-header"> 1073 <td colspan="2" class="table-header"> 1074 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1075 <tr valign="top"> 1076 <td align="left"><span class="table-header">Property Details</span></td> 1077 <td align="right" valign="top" 1078 ><span class="options">[<a href="#section-PropertyDetails" 1079 class="privatelink" onclick="toggle_private();" 1080 >hide private</a>]</span></td> 1081 </tr> 1082 </table> 1083 </td> 1084 </tr> 1085 </table> 1086 <a name="block"></a> 1087 <div> 1088 <table class="details" border="1" cellpadding="3" 1089 cellspacing="0" width="100%" bgcolor="white"> 1090 <tr><td> 1091 <h3 class="epydoc">block</h3> 1092 <p>A read only property that returns an lldb object that represents the 1093 block (lldb.SBBlock) that this address resides within.</p> 1094 <dl class="fields"> 1095 <dt>Get Method:</dt> 1096 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetBlock" class="summary-sig-name">GetBlock</a>(<span class="summary-sig-arg">self</span>)</span> 1097 - GetBlock(SBAddress self) -> SBBlock 1098 </dd> 1099 </dl> 1100 </td></tr></table> 1101 </div> 1102 <a name="compile_unit"></a> 1103 <div> 1104 <table class="details" border="1" cellpadding="3" 1105 cellspacing="0" width="100%" bgcolor="white"> 1106 <tr><td> 1107 <h3 class="epydoc">compile_unit</h3> 1108 <p>A read only property that returns an lldb object that represents the 1109 compile unit (lldb.SBCompileUnit) that this address resides within.</p> 1110 <dl class="fields"> 1111 <dt>Get Method:</dt> 1112 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetCompileUnit" class="summary-sig-name">GetCompileUnit</a>(<span class="summary-sig-arg">self</span>)</span> 1113 - GetCompileUnit(SBAddress self) -> SBCompileUnit 1114 </dd> 1115 </dl> 1116 </td></tr></table> 1117 </div> 1118 <a name="file_addr"></a> 1119 <div> 1120 <table class="details" border="1" cellpadding="3" 1121 cellspacing="0" width="100%" bgcolor="white"> 1122 <tr><td> 1123 <h3 class="epydoc">file_addr</h3> 1124 <p>A read only property that returns file address for the section as an 1125 integer. This is the address that represents the address as it is found 1126 in the object file that defines it.</p> 1127 <dl class="fields"> 1128 <dt>Get Method:</dt> 1129 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetFileAddress" class="summary-sig-name">GetFileAddress</a>(<span class="summary-sig-arg">self</span>)</span> 1130 - GetFileAddress(SBAddress self) -> lldb::addr_t 1131 </dd> 1132 </dl> 1133 </td></tr></table> 1134 </div> 1135 <a name="function"></a> 1136 <div> 1137 <table class="details" border="1" cellpadding="3" 1138 cellspacing="0" width="100%" bgcolor="white"> 1139 <tr><td> 1140 <h3 class="epydoc">function</h3> 1141 <p>A read only property that returns an lldb object that represents the 1142 function (lldb.SBFunction) that this address resides within.</p> 1143 <dl class="fields"> 1144 <dt>Get Method:</dt> 1145 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetFunction" class="summary-sig-name">GetFunction</a>(<span class="summary-sig-arg">self</span>)</span> 1146 - GetFunction(SBAddress self) -> SBFunction 1147 </dd> 1148 </dl> 1149 </td></tr></table> 1150 </div> 1151 <a name="line_entry"></a> 1152 <div> 1153 <table class="details" border="1" cellpadding="3" 1154 cellspacing="0" width="100%" bgcolor="white"> 1155 <tr><td> 1156 <h3 class="epydoc">line_entry</h3> 1157 <p>A read only property that returns an lldb object that represents the 1158 line entry (lldb.SBLineEntry) that this address resides within.</p> 1159 <dl class="fields"> 1160 <dt>Get Method:</dt> 1161 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetLineEntry" class="summary-sig-name">GetLineEntry</a>(<span class="summary-sig-arg">self</span>)</span> 1162 - GetLineEntry(SBAddress self) -> SBLineEntry 1163 </dd> 1164 </dl> 1165 </td></tr></table> 1166 </div> 1167 <a name="load_addr"></a> 1168 <div> 1169 <table class="details" border="1" cellpadding="3" 1170 cellspacing="0" width="100%" bgcolor="white"> 1171 <tr><td> 1172 <h3 class="epydoc">load_addr</h3> 1173 <p>A read/write property that gets/sets the SBAddress using load address. 1174 The setter resolves SBAddress using the SBTarget from lldb.target.</p> 1175 <dl class="fields"> 1176 <dt>Get Method:</dt> 1177 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#__get_load_addr_property__" class="summary-sig-name">__get_load_addr_property__</a>(<span class="summary-sig-arg">self</span>)</span> 1178 - Get the load address for a lldb.SBAddress using the current target. 1179 </dd> 1180 <dt>Set Method:</dt> 1181 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#__set_load_addr_property__" class="summary-sig-name">__set_load_addr_property__</a>(<span class="summary-sig-arg">self</span>, 1182 <span class="summary-sig-arg">load_addr</span>)</span> 1183 - Set the load address for a lldb.SBAddress using the current target. 1184 </dd> 1185 </dl> 1186 </td></tr></table> 1187 </div> 1188 <a name="module"></a> 1189 <div> 1190 <table class="details" border="1" cellpadding="3" 1191 cellspacing="0" width="100%" bgcolor="white"> 1192 <tr><td> 1193 <h3 class="epydoc">module</h3> 1194 <p>A read only property that returns an lldb object that represents the 1195 module (lldb.SBModule) that this address resides within.</p> 1196 <dl class="fields"> 1197 <dt>Get Method:</dt> 1198 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetModule" class="summary-sig-name">GetModule</a>(<span class="summary-sig-arg">self</span>)</span> 1199 - GetModule(SBAddress self) -> SBModule 1200 </dd> 1201 </dl> 1202 </td></tr></table> 1203 </div> 1204 <a name="offset"></a> 1205 <div> 1206 <table class="details" border="1" cellpadding="3" 1207 cellspacing="0" width="100%" bgcolor="white"> 1208 <tr><td> 1209 <h3 class="epydoc">offset</h3> 1210 <p>A read only property that returns the section offset in bytes as an 1211 integer.</p> 1212 <dl class="fields"> 1213 <dt>Get Method:</dt> 1214 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetOffset" class="summary-sig-name">GetOffset</a>(<span class="summary-sig-arg">self</span>)</span> 1215 - GetOffset(SBAddress self) -> lldb::addr_t 1216 </dd> 1217 </dl> 1218 </td></tr></table> 1219 </div> 1220 <a name="section"></a> 1221 <div> 1222 <table class="details" border="1" cellpadding="3" 1223 cellspacing="0" width="100%" bgcolor="white"> 1224 <tr><td> 1225 <h3 class="epydoc">section</h3> 1226 <p>A read only property that returns an lldb object that represents the 1227 section (lldb.SBSection) that this address resides within.</p> 1228 <dl class="fields"> 1229 <dt>Get Method:</dt> 1230 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSection" class="summary-sig-name">GetSection</a>(<span class="summary-sig-arg">self</span>)</span> 1231 - GetSection(SBAddress self) -> SBSection 1232 </dd> 1233 </dl> 1234 </td></tr></table> 1235 </div> 1236 <a name="symbol"></a> 1237 <div> 1238 <table class="details" border="1" cellpadding="3" 1239 cellspacing="0" width="100%" bgcolor="white"> 1240 <tr><td> 1241 <h3 class="epydoc">symbol</h3> 1242 <p>A read only property that returns an lldb object that represents the 1243 symbol (lldb.SBSymbol) that this address resides within.</p> 1244 <dl class="fields"> 1245 <dt>Get Method:</dt> 1246 <dd class="value"><span class="summary-sig"><a href="lldb.SBAddress-class.html#GetSymbol" class="summary-sig-name">GetSymbol</a>(<span class="summary-sig-arg">self</span>)</span> 1247 - GetSymbol(SBAddress self) -> SBSymbol 1248 </dd> 1249 </dl> 1250 </td></tr></table> 1251 </div> 1252 <br /> 1253 <!-- ==================== NAVIGATION BAR ==================== --> 1254 <table class="navbar" border="0" width="100%" cellpadding="0" 1255 bgcolor="#a0c0ff" cellspacing="0"> 1256 <tr valign="middle"> 1257 1258 <!-- Tree link --> 1259 <th> <a 1260 href="module-tree.html">Trees</a> </th> 1261 1262 <!-- Index link --> 1263 <th> <a 1264 href="identifier-index.html">Indices</a> </th> 1265 1266 <!-- Help link --> 1267 <th> <a 1268 href="help.html">Help</a> </th> 1269 1270 <!-- Project homepage --> 1271 <th class="navbar" align="right" width="100%"> 1272 <table border="0" cellpadding="0" cellspacing="0"> 1273 <tr><th class="navbar" align="center" 1274 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 1275 </tr></table></th> 1276 </tr> 1277 </table> 1278 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 1279 <tr> 1280 <td align="left" class="footer"> 1281 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:34 2013 1282 </td> 1283 <td align="right" class="footer"> 1284 <a target="mainFrame" href="http://epydoc.sourceforge.net" 1285 >http://epydoc.sourceforge.net</a> 1286 </td> 1287 </tr> 1288 </table> 1289 1290 <script type="text/javascript"> 1291 <!-- 1292 // Private objects are initially displayed (because if 1293 // javascript is turned off then we want them to be 1294 // visible); but by default, we want to hide them. So hide 1295 // them unless we have a cookie that says to show them. 1296 checkCookie(); 1297 // --> 1298 </script> 1299 </body> 1300 </html> 1301