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.SBModule</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 SBModule 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.SBModule-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 SBModule</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBModule">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbm" name="uml_class_diagram_for_lldb_sbm"> 63 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__swig_setmethods__" title="lldb.SBModule.__swig_setmethods__" alt="" coords="17,31,237,49"/> 64 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__swig_getmethods__" title="lldb.SBModule.__swig_getmethods__" alt="" coords="17,49,237,68"/> 65 <area shape="rect" id="node28" href="lldb.SBModule.symbols_access-class.html" title="lldb.SBModule.symbols_access" alt="" coords="17,68,237,87"/> 66 <area shape="rect" id="node28" href="lldb.SBModule.sections_access-class.html" title="lldb.SBModule.sections_access" alt="" coords="17,87,237,105"/> 67 <area shape="rect" id="node28" href="lldb.SBModule.compile_units_access-class.html" title="lldb.SBModule.compile_units_access" alt="" coords="17,105,237,124"/> 68 <area shape="rect" id="node28" href="lldb.SBModule-class.html#addr_size" title="A read only property that returns the size in bytes of an address for this  module." alt="" coords="17,124,237,143"/> 69 <area shape="rect" id="node28" href="lldb.SBModule-class.html#byte_order" title="A read only property that returns an lldb enumeration value  (lldb.eByteOrderLittle, lldb.eByteOrderBig, lldb.eByteOrderInvalid) that  represents the byte order for this module." alt="" coords="17,143,237,161"/> 70 <area shape="rect" id="node28" href="lldb.SBModule-class.html#compile_units" title="A read only property that returns a list() of lldb.SBCompileUnit objects  contained in this module." alt="" coords="17,161,237,180"/> 71 <area shape="rect" id="node28" href="lldb.SBModule-class.html#file" title="A read only property that returns an lldb object that represents the file  (lldb.SBFileSpec) for this object file for this module as it is represented where it is being debugged." alt="" coords="17,180,237,199"/> 72 <area shape="rect" id="node28" href="lldb.SBModule-class.html#num_sections" title="A read only property that returns number of sections in the module as an  integer." alt="" coords="17,199,237,217"/> 73 <area shape="rect" id="node28" href="lldb.SBModule-class.html#num_symbols" title="A read only property that returns number of symbols in the module symbol  table as an integer." alt="" coords="17,217,237,236"/> 74 <area shape="rect" id="node28" href="lldb.SBModule-class.html#platform_file" title="A read only property that returns an lldb object that represents the file  (lldb.SBFileSpec) for this object file for this module as it is represented on the current host system." alt="" coords="17,236,237,255"/> 75 <area shape="rect" id="node28" href="lldb.SBModule-class.html#section" title="A read only property that can be used to access compile units by index  ("compile_unit = module.compile_unit[0]"), name ("compile_unit =  module.compile_unit['main.cpp']"), or using a regular expression  ("compile_unit = module.compile_unit[re.compile(...)]")." alt="" coords="17,255,237,273"/> 76 <area shape="rect" id="node28" href="lldb.SBModule-class.html#uuid" title="A read only property that returns a standard python uuid.UUID object that  represents the UUID of this module." alt="" coords="17,292,237,311"/> 77 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,313,237,332"/> 78 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__getattr__" title="lldb.SBModule.__getattr__" alt="" coords="17,332,237,351"/> 79 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__repr__" title="repr(x)" alt="" coords="17,351,237,369"/> 80 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__iter__" title="lldb.SBModule.__iter__" alt="" coords="17,369,237,388"/> 81 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__len__" title="lldb.SBModule.__len__" alt="" coords="17,388,237,407"/> 82 <area shape="rect" id="node28" href="lldb.SBModule-class.html#section_iter" title="lldb.SBModule.section_iter" alt="" coords="17,407,237,425"/> 83 <area shape="rect" id="node28" href="lldb.SBModule-class.html#compile_unit_iter" title="lldb.SBModule.compile_unit_iter" alt="" coords="17,425,237,444"/> 84 <area shape="rect" id="node28" href="lldb.SBModule-class.html#symbol_in_section_iter" title="Given a module and its contained section, returns an iterator on the  symbols within the section." alt="" coords="17,444,237,463"/> 85 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__init__" title="__init__(lldb::SBModule self) -> SBModule __init__(lldb::SBModule self,  SBModule rhs) -> SBModule __init__(lldb::SBModule self, SBModuleSpec  module_spec) -> SBModule __init__(lldb::SBModule self, SBProcess process,  lldb::addr_t header_addr) -> SBModule" alt="" coords="17,463,237,481"/> 86 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__swig_destroy__" title="delete_SBModule(SBModule self)" alt="" coords="17,481,237,500"/> 87 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__del__" title="lldb.SBModule.__del__" alt="" coords="17,500,237,519"/> 88 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__nonzero__" title="lldb.SBModule.__nonzero__" alt="" coords="17,519,237,537"/> 89 <area shape="rect" id="node28" href="lldb.SBModule-class.html#IsValid" title="IsValid(SBModule self) -> bool" alt="" coords="17,537,237,556"/> 90 <area shape="rect" id="node28" href="lldb.SBModule-class.html#__ne__" title="lldb.SBModule.__ne__" alt="" coords="17,575,237,593"/> 91 <area shape="rect" id="node1" href="lldb.SBModule-class.html" title="Represents an executable image and its associated object and symbol files." alt="" coords="5,6,248,599"/> 92 </map> 93 <img src="uml_class_diagram_for_lldb_sbm.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbm" ismap="ismap" class="graph-without-title" /> 94 </center> 95 </center> 96 <hr /> 97 <pre class="literalblock"> 98 99 Represents an executable image and its associated object and symbol files. 100 101 The module is designed to be able to select a single slice of an 102 executable image as it would appear on disk and during program 103 execution. 104 105 You can retrieve SBModule from SBSymbolContext, which in turn is available 106 from SBFrame. 107 108 SBModule supports symbol iteration, for example, 109 110 for symbol in module: 111 name = symbol.GetName() 112 saddr = symbol.GetStartAddress() 113 eaddr = symbol.GetEndAddress() 114 115 and rich comparion methods which allow the API program to use, 116 117 if thisModule == thatModule: 118 print 'This module is the same as that module' 119 120 to test module equality. A module also contains object file sections, namely 121 SBSection. SBModule supports section iteration through section_iter(), for 122 example, 123 124 print 'Number of sections: %d' % module.GetNumSections() 125 for sec in module.section_iter(): 126 print sec 127 128 And to iterate the symbols within a SBSection, use symbol_in_section_iter(), 129 130 # Iterates the text section and prints each symbols within each sub-section. 131 for subsec in text_sec: 132 print INDENT + repr(subsec) 133 for sym in exe_module.symbol_in_section_iter(subsec): 134 print INDENT2 + repr(sym) 135 print INDENT2 + 'symbol type: %s' % symbol_type_to_str(sym.GetType()) 136 137 produces this following output: 138 139 [0x0000000100001780-0x0000000100001d5c) a.out.__TEXT.__text 140 id = {0x00000004}, name = 'mask_access(MaskAction, unsigned int)', range = [0x00000001000017c0-0x0000000100001870) 141 symbol type: code 142 id = {0x00000008}, name = 'thread_func(void*)', range = [0x0000000100001870-0x00000001000019b0) 143 symbol type: code 144 id = {0x0000000c}, name = 'main', range = [0x00000001000019b0-0x0000000100001d5c) 145 symbol type: code 146 id = {0x00000023}, name = 'start', address = 0x0000000100001780 147 symbol type: code 148 [0x0000000100001d5c-0x0000000100001da4) a.out.__TEXT.__stubs 149 id = {0x00000024}, name = '__stack_chk_fail', range = [0x0000000100001d5c-0x0000000100001d62) 150 symbol type: trampoline 151 id = {0x00000028}, name = 'exit', range = [0x0000000100001d62-0x0000000100001d68) 152 symbol type: trampoline 153 id = {0x00000029}, name = 'fflush', range = [0x0000000100001d68-0x0000000100001d6e) 154 symbol type: trampoline 155 id = {0x0000002a}, name = 'fgets', range = [0x0000000100001d6e-0x0000000100001d74) 156 symbol type: trampoline 157 id = {0x0000002b}, name = 'printf', range = [0x0000000100001d74-0x0000000100001d7a) 158 symbol type: trampoline 159 id = {0x0000002c}, name = 'pthread_create', range = [0x0000000100001d7a-0x0000000100001d80) 160 symbol type: trampoline 161 id = {0x0000002d}, name = 'pthread_join', range = [0x0000000100001d80-0x0000000100001d86) 162 symbol type: trampoline 163 id = {0x0000002e}, name = 'pthread_mutex_lock', range = [0x0000000100001d86-0x0000000100001d8c) 164 symbol type: trampoline 165 id = {0x0000002f}, name = 'pthread_mutex_unlock', range = [0x0000000100001d8c-0x0000000100001d92) 166 symbol type: trampoline 167 id = {0x00000030}, name = 'rand', range = [0x0000000100001d92-0x0000000100001d98) 168 symbol type: trampoline 169 id = {0x00000031}, name = 'strtoul', range = [0x0000000100001d98-0x0000000100001d9e) 170 symbol type: trampoline 171 id = {0x00000032}, name = 'usleep', range = [0x0000000100001d9e-0x0000000100001da4) 172 symbol type: trampoline 173 [0x0000000100001da4-0x0000000100001e2c) a.out.__TEXT.__stub_helper 174 [0x0000000100001e2c-0x0000000100001f10) a.out.__TEXT.__cstring 175 [0x0000000100001f10-0x0000000100001f68) a.out.__TEXT.__unwind_info 176 [0x0000000100001f68-0x0000000100001ff8) a.out.__TEXT.__eh_frame 177 178 </pre> 179 180 <!-- ==================== NESTED CLASSES ==================== --> 181 <a name="section-NestedClasses"></a> 182 <table class="summary" border="1" cellpadding="3" 183 cellspacing="0" width="100%" bgcolor="white"> 184 <tr bgcolor="#70b0f0" class="table-header"> 185 <td colspan="2" class="table-header"> 186 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 187 <tr valign="top"> 188 <td align="left"><span class="table-header">Nested Classes</span></td> 189 <td align="right" valign="top" 190 ><span class="options">[<a href="#section-NestedClasses" 191 class="privatelink" onclick="toggle_private();" 192 >hide private</a>]</span></td> 193 </tr> 194 </table> 195 </td> 196 </tr> 197 <tr> 198 <td width="15%" align="right" valign="top" class="summary"> 199 <span class="summary-type"> </span> 200 </td><td class="summary"> 201 <a href="lldb.SBModule.symbols_access-class.html" class="summary-name">symbols_access</a> 202 </td> 203 </tr> 204 <tr> 205 <td width="15%" align="right" valign="top" class="summary"> 206 <span class="summary-type"> </span> 207 </td><td class="summary"> 208 <a href="lldb.SBModule.sections_access-class.html" class="summary-name">sections_access</a> 209 </td> 210 </tr> 211 <tr> 212 <td width="15%" align="right" valign="top" class="summary"> 213 <span class="summary-type"> </span> 214 </td><td class="summary"> 215 <a href="lldb.SBModule.compile_units_access-class.html" class="summary-name">compile_units_access</a> 216 </td> 217 </tr> 218 </table> 219 <!-- ==================== INSTANCE METHODS ==================== --> 220 <a name="section-InstanceMethods"></a> 221 <table class="summary" border="1" cellpadding="3" 222 cellspacing="0" width="100%" bgcolor="white"> 223 <tr bgcolor="#70b0f0" class="table-header"> 224 <td colspan="2" class="table-header"> 225 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 226 <tr valign="top"> 227 <td align="left"><span class="table-header">Instance Methods</span></td> 228 <td align="right" valign="top" 229 ><span class="options">[<a href="#section-InstanceMethods" 230 class="privatelink" onclick="toggle_private();" 231 >hide private</a>]</span></td> 232 </tr> 233 </table> 234 </td> 235 </tr> 236 <tr> 237 <td width="15%" align="right" valign="top" class="summary"> 238 <span class="summary-type"> </span> 239 </td><td class="summary"> 240 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 241 <tr> 242 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 243 <span class="summary-sig-arg">name</span>, 244 <span class="summary-sig-arg">value</span>)</span><br /> 245 x.__setattr__('name', value) <==> x.name = value</td> 246 <td align="right" valign="top"> 247 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__setattr__">source code</a></span> 248 249 </td> 250 </tr> 251 </table> 252 253 </td> 254 </tr> 255 <tr> 256 <td width="15%" align="right" valign="top" class="summary"> 257 <span class="summary-type"> </span> 258 </td><td class="summary"> 259 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 260 <tr> 261 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 262 <span class="summary-sig-arg">name</span>)</span></td> 263 <td align="right" valign="top"> 264 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__getattr__">source code</a></span> 265 266 </td> 267 </tr> 268 </table> 269 270 </td> 271 </tr> 272 <tr> 273 <td width="15%" align="right" valign="top" class="summary"> 274 <span class="summary-type"> </span> 275 </td><td class="summary"> 276 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 277 <tr> 278 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 279 repr(x)</td> 280 <td align="right" valign="top"> 281 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 282 283 </td> 284 </tr> 285 </table> 286 287 </td> 288 </tr> 289 <tr> 290 <td width="15%" align="right" valign="top" class="summary"> 291 <span class="summary-type"> </span> 292 </td><td class="summary"> 293 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 294 <tr> 295 <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> 296 <td align="right" valign="top"> 297 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__iter__">source code</a></span> 298 299 </td> 300 </tr> 301 </table> 302 303 </td> 304 </tr> 305 <tr> 306 <td width="15%" align="right" valign="top" class="summary"> 307 <span class="summary-type"> </span> 308 </td><td class="summary"> 309 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 310 <tr> 311 <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> 312 <td align="right" valign="top"> 313 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__len__">source code</a></span> 314 315 </td> 316 </tr> 317 </table> 318 319 </td> 320 </tr> 321 <tr> 322 <td width="15%" align="right" valign="top" class="summary"> 323 <span class="summary-type"> </span> 324 </td><td class="summary"> 325 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 326 <tr> 327 <td><span class="summary-sig"><a name="section_iter"></a><span class="summary-sig-name">section_iter</span>(<span class="summary-sig-arg">self</span>)</span></td> 328 <td align="right" valign="top"> 329 <span class="codelink"><a href="lldb-pysrc.html#SBModule.section_iter">source code</a></span> 330 331 </td> 332 </tr> 333 </table> 334 335 </td> 336 </tr> 337 <tr> 338 <td width="15%" align="right" valign="top" class="summary"> 339 <span class="summary-type"> </span> 340 </td><td class="summary"> 341 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 342 <tr> 343 <td><span class="summary-sig"><a name="compile_unit_iter"></a><span class="summary-sig-name">compile_unit_iter</span>(<span class="summary-sig-arg">self</span>)</span></td> 344 <td align="right" valign="top"> 345 <span class="codelink"><a href="lldb-pysrc.html#SBModule.compile_unit_iter">source code</a></span> 346 347 </td> 348 </tr> 349 </table> 350 351 </td> 352 </tr> 353 <tr> 354 <td width="15%" align="right" valign="top" class="summary"> 355 <span class="summary-type"> </span> 356 </td><td class="summary"> 357 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 358 <tr> 359 <td><span class="summary-sig"><a name="symbol_in_section_iter"></a><span class="summary-sig-name">symbol_in_section_iter</span>(<span class="summary-sig-arg">self</span>, 360 <span class="summary-sig-arg">section</span>)</span><br /> 361 Given a module and its contained section, returns an iterator on the 362 symbols within the section.</td> 363 <td align="right" valign="top"> 364 <span class="codelink"><a href="lldb-pysrc.html#SBModule.symbol_in_section_iter">source code</a></span> 365 366 </td> 367 </tr> 368 </table> 369 370 </td> 371 </tr> 372 <tr> 373 <td width="15%" align="right" valign="top" class="summary"> 374 <span class="summary-type"> </span> 375 </td><td class="summary"> 376 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 377 <tr> 378 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 379 <span class="summary-sig-arg">*args</span>)</span><br /> 380 __init__(lldb::SBModule self) -> SBModule __init__(lldb::SBModule 381 self, SBModule rhs) -> SBModule __init__(lldb::SBModule self, 382 SBModuleSpec module_spec) -> SBModule __init__(lldb::SBModule 383 self, SBProcess process, lldb::addr_t header_addr) -> SBModule</td> 384 <td align="right" valign="top"> 385 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__init__">source code</a></span> 386 387 </td> 388 </tr> 389 </table> 390 391 </td> 392 </tr> 393 <tr> 394 <td width="15%" align="right" valign="top" class="summary"> 395 <span class="summary-type"> </span> 396 </td><td class="summary"> 397 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 398 <tr> 399 <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 /> 400 delete_SBModule(SBModule self)</td> 401 <td align="right" valign="top"> 402 403 404 </td> 405 </tr> 406 </table> 407 408 </td> 409 </tr> 410 <tr> 411 <td width="15%" align="right" valign="top" class="summary"> 412 <span class="summary-type"> </span> 413 </td><td class="summary"> 414 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 415 <tr> 416 <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> 417 <td align="right" valign="top"> 418 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__del__">source code</a></span> 419 420 </td> 421 </tr> 422 </table> 423 424 </td> 425 </tr> 426 <tr> 427 <td width="15%" align="right" valign="top" class="summary"> 428 <span class="summary-type"> </span> 429 </td><td class="summary"> 430 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 431 <tr> 432 <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> 433 <td align="right" valign="top"> 434 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__nonzero__">source code</a></span> 435 436 </td> 437 </tr> 438 </table> 439 440 </td> 441 </tr> 442 <tr> 443 <td width="15%" align="right" valign="top" class="summary"> 444 <span class="summary-type"> </span> 445 </td><td class="summary"> 446 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 447 <tr> 448 <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 /> 449 IsValid(SBModule self) -> bool</td> 450 <td align="right" valign="top"> 451 <span class="codelink"><a href="lldb-pysrc.html#SBModule.IsValid">source code</a></span> 452 453 </td> 454 </tr> 455 </table> 456 457 </td> 458 </tr> 459 <tr> 460 <td width="15%" align="right" valign="top" class="summary"> 461 <span class="summary-type"> </span> 462 </td><td class="summary"> 463 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 464 <tr> 465 <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 /> 466 Clear(SBModule self)</td> 467 <td align="right" valign="top"> 468 <span class="codelink"><a href="lldb-pysrc.html#SBModule.Clear">source code</a></span> 469 470 </td> 471 </tr> 472 </table> 473 474 </td> 475 </tr> 476 <tr> 477 <td width="15%" align="right" valign="top" class="summary"> 478 <span class="summary-type"> </span> 479 </td><td class="summary"> 480 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 481 <tr> 482 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#GetFileSpec" class="summary-sig-name">GetFileSpec</a>(<span class="summary-sig-arg">self</span>)</span><br /> 483 GetFileSpec(SBModule self) -> SBFileSpec</td> 484 <td align="right" valign="top"> 485 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetFileSpec">source code</a></span> 486 487 </td> 488 </tr> 489 </table> 490 491 </td> 492 </tr> 493 <tr> 494 <td width="15%" align="right" valign="top" class="summary"> 495 <span class="summary-type"> </span> 496 </td><td class="summary"> 497 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 498 <tr> 499 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#GetPlatformFileSpec" class="summary-sig-name">GetPlatformFileSpec</a>(<span class="summary-sig-arg">self</span>)</span><br /> 500 GetPlatformFileSpec(SBModule self) -> SBFileSpec</td> 501 <td align="right" valign="top"> 502 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetPlatformFileSpec">source code</a></span> 503 504 </td> 505 </tr> 506 </table> 507 508 </td> 509 </tr> 510 <tr> 511 <td width="15%" align="right" valign="top" class="summary"> 512 <span class="summary-type"> </span> 513 </td><td class="summary"> 514 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 515 <tr> 516 <td><span class="summary-sig"><a name="SetPlatformFileSpec"></a><span class="summary-sig-name">SetPlatformFileSpec</span>(<span class="summary-sig-arg">self</span>, 517 <span class="summary-sig-arg">*args</span>)</span><br /> 518 SetPlatformFileSpec(SBModule self, SBFileSpec platform_file) -> 519 bool</td> 520 <td align="right" valign="top"> 521 <span class="codelink"><a href="lldb-pysrc.html#SBModule.SetPlatformFileSpec">source code</a></span> 522 523 </td> 524 </tr> 525 </table> 526 527 </td> 528 </tr> 529 <tr> 530 <td width="15%" align="right" valign="top" class="summary"> 531 <span class="summary-type"> </span> 532 </td><td class="summary"> 533 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 534 <tr> 535 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#GetUUIDString" class="summary-sig-name">GetUUIDString</a>(<span class="summary-sig-arg">self</span>)</span><br /> 536 GetUUIDString(SBModule self) -> str const *</td> 537 <td align="right" valign="top"> 538 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetUUIDString">source code</a></span> 539 540 </td> 541 </tr> 542 </table> 543 544 </td> 545 </tr> 546 <tr> 547 <td width="15%" align="right" valign="top" class="summary"> 548 <span class="summary-type"> </span> 549 </td><td class="summary"> 550 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 551 <tr> 552 <td><span class="summary-sig"><a name="FindSection"></a><span class="summary-sig-name">FindSection</span>(<span class="summary-sig-arg">self</span>, 553 <span class="summary-sig-arg">*args</span>)</span><br /> 554 FindSection(SBModule self, str const * sect_name) -> SBSection</td> 555 <td align="right" valign="top"> 556 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindSection">source code</a></span> 557 558 </td> 559 </tr> 560 </table> 561 562 </td> 563 </tr> 564 <tr> 565 <td width="15%" align="right" valign="top" class="summary"> 566 <span class="summary-type"> </span> 567 </td><td class="summary"> 568 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 569 <tr> 570 <td><span class="summary-sig"><a name="ResolveFileAddress"></a><span class="summary-sig-name">ResolveFileAddress</span>(<span class="summary-sig-arg">self</span>, 571 <span class="summary-sig-arg">*args</span>)</span><br /> 572 ResolveFileAddress(SBModule self, lldb::addr_t vm_addr) -> 573 SBAddress</td> 574 <td align="right" valign="top"> 575 <span class="codelink"><a href="lldb-pysrc.html#SBModule.ResolveFileAddress">source code</a></span> 576 577 </td> 578 </tr> 579 </table> 580 581 </td> 582 </tr> 583 <tr> 584 <td width="15%" align="right" valign="top" class="summary"> 585 <span class="summary-type"> </span> 586 </td><td class="summary"> 587 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 588 <tr> 589 <td><span class="summary-sig"><a name="ResolveSymbolContextForAddress"></a><span class="summary-sig-name">ResolveSymbolContextForAddress</span>(<span class="summary-sig-arg">self</span>, 590 <span class="summary-sig-arg">*args</span>)</span><br /> 591 ResolveSymbolContextForAddress(SBModule self, SBAddress addr, 592 uint32_t resolve_scope) -> SBSymbolContext</td> 593 <td align="right" valign="top"> 594 <span class="codelink"><a href="lldb-pysrc.html#SBModule.ResolveSymbolContextForAddress">source code</a></span> 595 596 </td> 597 </tr> 598 </table> 599 600 </td> 601 </tr> 602 <tr> 603 <td width="15%" align="right" valign="top" class="summary"> 604 <span class="summary-type"> </span> 605 </td><td class="summary"> 606 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 607 <tr> 608 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 609 <span class="summary-sig-arg">*args</span>)</span><br /> 610 GetDescription(SBModule self, SBStream description) -> bool</td> 611 <td align="right" valign="top"> 612 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetDescription">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="GetNumCompileUnits"></a><span class="summary-sig-name">GetNumCompileUnits</span>(<span class="summary-sig-arg">self</span>)</span><br /> 627 GetNumCompileUnits(SBModule self) -> uint32_t</td> 628 <td align="right" valign="top"> 629 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetNumCompileUnits">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="GetCompileUnitAtIndex"></a><span class="summary-sig-name">GetCompileUnitAtIndex</span>(<span class="summary-sig-arg">self</span>, 644 <span class="summary-sig-arg">*args</span>)</span><br /> 645 GetCompileUnitAtIndex(SBModule self, uint32_t arg2) -> 646 SBCompileUnit</td> 647 <td align="right" valign="top"> 648 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetCompileUnitAtIndex">source code</a></span> 649 650 </td> 651 </tr> 652 </table> 653 654 </td> 655 </tr> 656 <tr> 657 <td width="15%" align="right" valign="top" class="summary"> 658 <span class="summary-type"> </span> 659 </td><td class="summary"> 660 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 661 <tr> 662 <td><span class="summary-sig"><a name="GetNumSymbols"></a><span class="summary-sig-name">GetNumSymbols</span>(<span class="summary-sig-arg">self</span>)</span><br /> 663 GetNumSymbols(SBModule self) -> size_t</td> 664 <td align="right" valign="top"> 665 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetNumSymbols">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="GetSymbolAtIndex"></a><span class="summary-sig-name">GetSymbolAtIndex</span>(<span class="summary-sig-arg">self</span>, 680 <span class="summary-sig-arg">*args</span>)</span><br /> 681 GetSymbolAtIndex(SBModule self, size_t idx) -> SBSymbol</td> 682 <td align="right" valign="top"> 683 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetSymbolAtIndex">source code</a></span> 684 685 </td> 686 </tr> 687 </table> 688 689 </td> 690 </tr> 691 <tr> 692 <td width="15%" align="right" valign="top" class="summary"> 693 <span class="summary-type"> </span> 694 </td><td class="summary"> 695 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 696 <tr> 697 <td><span class="summary-sig"><a name="FindSymbol"></a><span class="summary-sig-name">FindSymbol</span>(<span class="summary-sig-arg">self</span>, 698 <span class="summary-sig-arg">*args</span>)</span><br /> 699 FindSymbol(SBModule self, str const * name, lldb::SymbolType 700 type=eSymbolTypeAny) -> SBSymbol FindSymbol(SBModule self, str 701 const * name) -> SBSymbol</td> 702 <td align="right" valign="top"> 703 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindSymbol">source code</a></span> 704 705 </td> 706 </tr> 707 </table> 708 709 </td> 710 </tr> 711 <tr> 712 <td width="15%" align="right" valign="top" class="summary"> 713 <span class="summary-type"> </span> 714 </td><td class="summary"> 715 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 716 <tr> 717 <td><span class="summary-sig"><a name="FindSymbols"></a><span class="summary-sig-name">FindSymbols</span>(<span class="summary-sig-arg">self</span>, 718 <span class="summary-sig-arg">*args</span>)</span><br /> 719 FindSymbols(SBModule self, str const * name, lldb::SymbolType 720 type=eSymbolTypeAny) -> SBSymbolContextList FindSymbols(SBModule 721 self, str const * name) -> SBSymbolContextList</td> 722 <td align="right" valign="top"> 723 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindSymbols">source code</a></span> 724 725 </td> 726 </tr> 727 </table> 728 729 </td> 730 </tr> 731 <tr> 732 <td width="15%" align="right" valign="top" class="summary"> 733 <span class="summary-type"> </span> 734 </td><td class="summary"> 735 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 736 <tr> 737 <td><span class="summary-sig"><a name="GetNumSections"></a><span class="summary-sig-name">GetNumSections</span>(<span class="summary-sig-arg">self</span>)</span><br /> 738 GetNumSections(SBModule self) -> size_t</td> 739 <td align="right" valign="top"> 740 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetNumSections">source code</a></span> 741 742 </td> 743 </tr> 744 </table> 745 746 </td> 747 </tr> 748 <tr> 749 <td width="15%" align="right" valign="top" class="summary"> 750 <span class="summary-type"> </span> 751 </td><td class="summary"> 752 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 753 <tr> 754 <td><span class="summary-sig"><a name="GetSectionAtIndex"></a><span class="summary-sig-name">GetSectionAtIndex</span>(<span class="summary-sig-arg">self</span>, 755 <span class="summary-sig-arg">*args</span>)</span><br /> 756 GetSectionAtIndex(SBModule self, size_t idx) -> SBSection</td> 757 <td align="right" valign="top"> 758 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetSectionAtIndex">source code</a></span> 759 760 </td> 761 </tr> 762 </table> 763 764 </td> 765 </tr> 766 <tr> 767 <td width="15%" align="right" valign="top" class="summary"> 768 <span class="summary-type"> </span> 769 </td><td class="summary"> 770 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 771 <tr> 772 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#FindFunctions" class="summary-sig-name">FindFunctions</a>(<span class="summary-sig-arg">self</span>, 773 <span class="summary-sig-arg">*args</span>)</span><br /> 774 FindFunctions(SBModule self, str const * name, uint32_t name_type_mask=eFunctionNameTypeAny) -> SBSymbolContextList 775 FindFunctions(SBModule self, str const * name) -> SBSymbolContextList</td> 776 <td align="right" valign="top"> 777 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindFunctions">source code</a></span> 778 779 </td> 780 </tr> 781 </table> 782 783 </td> 784 </tr> 785 <tr> 786 <td width="15%" align="right" valign="top" class="summary"> 787 <span class="summary-type"> </span> 788 </td><td class="summary"> 789 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 790 <tr> 791 <td><span class="summary-sig"><a name="FindFirstType"></a><span class="summary-sig-name">FindFirstType</span>(<span class="summary-sig-arg">self</span>, 792 <span class="summary-sig-arg">*args</span>)</span><br /> 793 FindFirstType(SBModule self, str const * name) -> SBType</td> 794 <td align="right" valign="top"> 795 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindFirstType">source code</a></span> 796 797 </td> 798 </tr> 799 </table> 800 801 </td> 802 </tr> 803 <tr> 804 <td width="15%" align="right" valign="top" class="summary"> 805 <span class="summary-type"> </span> 806 </td><td class="summary"> 807 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 808 <tr> 809 <td><span class="summary-sig"><a name="FindTypes"></a><span class="summary-sig-name">FindTypes</span>(<span class="summary-sig-arg">self</span>, 810 <span class="summary-sig-arg">*args</span>)</span><br /> 811 FindTypes(SBModule self, str const * type) -> SBTypeList</td> 812 <td align="right" valign="top"> 813 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindTypes">source code</a></span> 814 815 </td> 816 </tr> 817 </table> 818 819 </td> 820 </tr> 821 <tr> 822 <td width="15%" align="right" valign="top" class="summary"> 823 <span class="summary-type"> </span> 824 </td><td class="summary"> 825 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 826 <tr> 827 <td><span class="summary-sig"><a name="GetBasicType"></a><span class="summary-sig-name">GetBasicType</span>(<span class="summary-sig-arg">self</span>, 828 <span class="summary-sig-arg">*args</span>)</span><br /> 829 GetBasicType(SBModule self, lldb::BasicType type) -> SBType</td> 830 <td align="right" valign="top"> 831 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetBasicType">source code</a></span> 832 833 </td> 834 </tr> 835 </table> 836 837 </td> 838 </tr> 839 <tr> 840 <td width="15%" align="right" valign="top" class="summary"> 841 <span class="summary-type"> </span> 842 </td><td class="summary"> 843 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 844 <tr> 845 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#GetTypes" class="summary-sig-name">GetTypes</a>(<span class="summary-sig-arg">self</span>, 846 <span class="summary-sig-arg">*args</span>)</span><br /> 847 GetTypes(SBModule self, uint32_t type_mask=eTypeClassAny) -> SBTypeList 848 GetTypes(SBModule self) -> SBTypeList</td> 849 <td align="right" valign="top"> 850 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetTypes">source code</a></span> 851 852 </td> 853 </tr> 854 </table> 855 856 </td> 857 </tr> 858 <tr> 859 <td width="15%" align="right" valign="top" class="summary"> 860 <span class="summary-type"> </span> 861 </td><td class="summary"> 862 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 863 <tr> 864 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#FindGlobalVariables" class="summary-sig-name">FindGlobalVariables</a>(<span class="summary-sig-arg">self</span>, 865 <span class="summary-sig-arg">*args</span>)</span><br /> 866 FindGlobalVariables(SBModule self, SBTarget target, str const * name, uint32_t max_matches) -> SBValueList</td> 867 <td align="right" valign="top"> 868 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindGlobalVariables">source code</a></span> 869 870 </td> 871 </tr> 872 </table> 873 874 </td> 875 </tr> 876 <tr> 877 <td width="15%" align="right" valign="top" class="summary"> 878 <span class="summary-type"> </span> 879 </td><td class="summary"> 880 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 881 <tr> 882 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#FindFirstGlobalVariable" class="summary-sig-name">FindFirstGlobalVariable</a>(<span class="summary-sig-arg">self</span>, 883 <span class="summary-sig-arg">*args</span>)</span><br /> 884 FindFirstGlobalVariable(SBModule self, SBTarget target, str const * name) -> SBValue</td> 885 <td align="right" valign="top"> 886 <span class="codelink"><a href="lldb-pysrc.html#SBModule.FindFirstGlobalVariable">source code</a></span> 887 888 </td> 889 </tr> 890 </table> 891 892 </td> 893 </tr> 894 <tr> 895 <td width="15%" align="right" valign="top" class="summary"> 896 <span class="summary-type"> </span> 897 </td><td class="summary"> 898 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 899 <tr> 900 <td><span class="summary-sig"><a name="GetByteOrder"></a><span class="summary-sig-name">GetByteOrder</span>(<span class="summary-sig-arg">self</span>)</span><br /> 901 GetByteOrder(SBModule self) -> lldb::ByteOrder</td> 902 <td align="right" valign="top"> 903 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetByteOrder">source code</a></span> 904 905 </td> 906 </tr> 907 </table> 908 909 </td> 910 </tr> 911 <tr> 912 <td width="15%" align="right" valign="top" class="summary"> 913 <span class="summary-type"> </span> 914 </td><td class="summary"> 915 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 916 <tr> 917 <td><span class="summary-sig"><a name="GetAddressByteSize"></a><span class="summary-sig-name">GetAddressByteSize</span>(<span class="summary-sig-arg">self</span>)</span><br /> 918 GetAddressByteSize(SBModule self) -> uint32_t</td> 919 <td align="right" valign="top"> 920 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetAddressByteSize">source code</a></span> 921 922 </td> 923 </tr> 924 </table> 925 926 </td> 927 </tr> 928 <tr> 929 <td width="15%" align="right" valign="top" class="summary"> 930 <span class="summary-type"> </span> 931 </td><td class="summary"> 932 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 933 <tr> 934 <td><span class="summary-sig"><a name="GetTriple"></a><span class="summary-sig-name">GetTriple</span>(<span class="summary-sig-arg">self</span>)</span><br /> 935 GetTriple(SBModule self) -> str const *</td> 936 <td align="right" valign="top"> 937 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetTriple">source code</a></span> 938 939 </td> 940 </tr> 941 </table> 942 943 </td> 944 </tr> 945 <tr> 946 <td width="15%" align="right" valign="top" class="summary"> 947 <span class="summary-type"> </span> 948 </td><td class="summary"> 949 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 950 <tr> 951 <td><span class="summary-sig"><a name="GetVersion"></a><span class="summary-sig-name">GetVersion</span>(<span class="summary-sig-arg">self</span>)</span><br /> 952 GetVersion(SBModule self) -> uint32_t</td> 953 <td align="right" valign="top"> 954 <span class="codelink"><a href="lldb-pysrc.html#SBModule.GetVersion">source code</a></span> 955 956 </td> 957 </tr> 958 </table> 959 960 </td> 961 </tr> 962 <tr> 963 <td width="15%" align="right" valign="top" class="summary"> 964 <span class="summary-type"> </span> 965 </td><td class="summary"> 966 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 967 <tr> 968 <td><span class="summary-sig"><a name="get_symbols_access_object"></a><span class="summary-sig-name">get_symbols_access_object</span>(<span class="summary-sig-arg">self</span>)</span><br /> 969 An accessor function that returns a symbols_access() object which 970 allows lazy symbol access from a lldb.SBModule object.</td> 971 <td align="right" valign="top"> 972 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_symbols_access_object">source code</a></span> 973 974 </td> 975 </tr> 976 </table> 977 978 </td> 979 </tr> 980 <tr> 981 <td width="15%" align="right" valign="top" class="summary"> 982 <span class="summary-type"> </span> 983 </td><td class="summary"> 984 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 985 <tr> 986 <td><span class="summary-sig"><a name="get_compile_units_access_object"></a><span class="summary-sig-name">get_compile_units_access_object</span>(<span class="summary-sig-arg">self</span>)</span><br /> 987 An accessor function that returns a compile_units_access() object 988 which allows lazy compile unit access from a lldb.SBModule object.</td> 989 <td align="right" valign="top"> 990 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_compile_units_access_object">source code</a></span> 991 992 </td> 993 </tr> 994 </table> 995 996 </td> 997 </tr> 998 <tr> 999 <td width="15%" align="right" valign="top" class="summary"> 1000 <span class="summary-type"> </span> 1001 </td><td class="summary"> 1002 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1003 <tr> 1004 <td><span class="summary-sig"><a name="get_symbols_array"></a><span class="summary-sig-name">get_symbols_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1005 An accessor function that returns a list() that contains all symbols 1006 in a lldb.SBModule object.</td> 1007 <td align="right" valign="top"> 1008 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_symbols_array">source code</a></span> 1009 1010 </td> 1011 </tr> 1012 </table> 1013 1014 </td> 1015 </tr> 1016 <tr> 1017 <td width="15%" align="right" valign="top" class="summary"> 1018 <span class="summary-type"> </span> 1019 </td><td class="summary"> 1020 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1021 <tr> 1022 <td><span class="summary-sig"><a name="get_sections_access_object"></a><span class="summary-sig-name">get_sections_access_object</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1023 An accessor function that returns a sections_access() object which 1024 allows lazy section array access.</td> 1025 <td align="right" valign="top"> 1026 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_sections_access_object">source code</a></span> 1027 1028 </td> 1029 </tr> 1030 </table> 1031 1032 </td> 1033 </tr> 1034 <tr> 1035 <td width="15%" align="right" valign="top" class="summary"> 1036 <span class="summary-type"> </span> 1037 </td><td class="summary"> 1038 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1039 <tr> 1040 <td><span class="summary-sig"><a name="get_sections_array"></a><span class="summary-sig-name">get_sections_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1041 An accessor function that returns an array object that contains all 1042 sections in this module object.</td> 1043 <td align="right" valign="top"> 1044 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_sections_array">source code</a></span> 1045 1046 </td> 1047 </tr> 1048 </table> 1049 1050 </td> 1051 </tr> 1052 <tr> 1053 <td width="15%" align="right" valign="top" class="summary"> 1054 <span class="summary-type"> </span> 1055 </td><td class="summary"> 1056 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1057 <tr> 1058 <td><span class="summary-sig"><a name="get_compile_units_array"></a><span class="summary-sig-name">get_compile_units_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1059 An accessor function that returns an array object that contains all 1060 compile_units in this module object.</td> 1061 <td align="right" valign="top"> 1062 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_compile_units_array">source code</a></span> 1063 1064 </td> 1065 </tr> 1066 </table> 1067 1068 </td> 1069 </tr> 1070 <tr> 1071 <td width="15%" align="right" valign="top" class="summary"> 1072 <span class="summary-type"> </span> 1073 </td><td class="summary"> 1074 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1075 <tr> 1076 <td><span class="summary-sig"><a name="get_uuid"></a><span class="summary-sig-name">get_uuid</span>(<span class="summary-sig-arg">self</span>)</span></td> 1077 <td align="right" valign="top"> 1078 <span class="codelink"><a href="lldb-pysrc.html#SBModule.get_uuid">source code</a></span> 1079 1080 </td> 1081 </tr> 1082 </table> 1083 1084 </td> 1085 </tr> 1086 <tr> 1087 <td width="15%" align="right" valign="top" class="summary"> 1088 <span class="summary-type"> </span> 1089 </td><td class="summary"> 1090 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1091 <tr> 1092 <td><span class="summary-sig"><a href="lldb.SBModule-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 1093 __str__(SBModule self) -> PyObject *</td> 1094 <td align="right" valign="top"> 1095 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__str__">source code</a></span> 1096 1097 </td> 1098 </tr> 1099 </table> 1100 1101 </td> 1102 </tr> 1103 <tr> 1104 <td width="15%" align="right" valign="top" class="summary"> 1105 <span class="summary-type"> </span> 1106 </td><td class="summary"> 1107 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1108 <tr> 1109 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, 1110 <span class="summary-sig-arg">rhs</span>)</span></td> 1111 <td align="right" valign="top"> 1112 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__eq__">source code</a></span> 1113 1114 </td> 1115 </tr> 1116 </table> 1117 1118 </td> 1119 </tr> 1120 <tr> 1121 <td width="15%" align="right" valign="top" class="summary"> 1122 <span class="summary-type"> </span> 1123 </td><td class="summary"> 1124 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1125 <tr> 1126 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, 1127 <span class="summary-sig-arg">rhs</span>)</span></td> 1128 <td align="right" valign="top"> 1129 <span class="codelink"><a href="lldb-pysrc.html#SBModule.__ne__">source code</a></span> 1130 1131 </td> 1132 </tr> 1133 </table> 1134 1135 </td> 1136 </tr> 1137 <tr> 1138 <td colspan="2" class="summary"> 1139 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 1140 <code>__delattr__</code>, 1141 <code>__format__</code>, 1142 <code>__getattribute__</code>, 1143 <code>__hash__</code>, 1144 <code>__new__</code>, 1145 <code>__reduce__</code>, 1146 <code>__reduce_ex__</code>, 1147 <code>__sizeof__</code>, 1148 <code>__subclasshook__</code> 1149 </p> 1150 </td> 1151 </tr> 1152 </table> 1153 <!-- ==================== CLASS VARIABLES ==================== --> 1154 <a name="section-ClassVariables"></a> 1155 <table class="summary" border="1" cellpadding="3" 1156 cellspacing="0" width="100%" bgcolor="white"> 1157 <tr bgcolor="#70b0f0" class="table-header"> 1158 <td colspan="2" class="table-header"> 1159 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1160 <tr valign="top"> 1161 <td align="left"><span class="table-header">Class Variables</span></td> 1162 <td align="right" valign="top" 1163 ><span class="options">[<a href="#section-ClassVariables" 1164 class="privatelink" onclick="toggle_private();" 1165 >hide private</a>]</span></td> 1166 </tr> 1167 </table> 1168 </td> 1169 </tr> 1170 <tr> 1171 <td width="15%" align="right" valign="top" class="summary"> 1172 <span class="summary-type"> </span> 1173 </td><td class="summary"> 1174 <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> 1175 </td> 1176 </tr> 1177 <tr> 1178 <td width="15%" align="right" valign="top" class="summary"> 1179 <span class="summary-type"> </span> 1180 </td><td class="summary"> 1181 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 1182 </td> 1183 </tr> 1184 </table> 1185 <!-- ==================== PROPERTIES ==================== --> 1186 <a name="section-Properties"></a> 1187 <table class="summary" border="1" cellpadding="3" 1188 cellspacing="0" width="100%" bgcolor="white"> 1189 <tr bgcolor="#70b0f0" class="table-header"> 1190 <td colspan="2" class="table-header"> 1191 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1192 <tr valign="top"> 1193 <td align="left"><span class="table-header">Properties</span></td> 1194 <td align="right" valign="top" 1195 ><span class="options">[<a href="#section-Properties" 1196 class="privatelink" onclick="toggle_private();" 1197 >hide private</a>]</span></td> 1198 </tr> 1199 </table> 1200 </td> 1201 </tr> 1202 <tr> 1203 <td width="15%" align="right" valign="top" class="summary"> 1204 <span class="summary-type"> </span> 1205 </td><td class="summary"> 1206 <a href="lldb.SBModule-class.html#addr_size" class="summary-name">addr_size</a><br /> 1207 A read only property that returns the size in bytes of an address for 1208 this module. 1209 </td> 1210 </tr> 1211 <tr> 1212 <td width="15%" align="right" valign="top" class="summary"> 1213 <span class="summary-type"> </span> 1214 </td><td class="summary"> 1215 <a href="lldb.SBModule-class.html#byte_order" class="summary-name">byte_order</a><br /> 1216 A read only property that returns an lldb enumeration value 1217 (lldb.eByteOrderLittle, lldb.eByteOrderBig, lldb.eByteOrderInvalid) 1218 that represents the byte order for this module. 1219 </td> 1220 </tr> 1221 <tr> 1222 <td width="15%" align="right" valign="top" class="summary"> 1223 <span class="summary-type"> </span> 1224 </td><td class="summary"> 1225 <a href="lldb.SBModule-class.html#compile_units" class="summary-name">compile_units</a><br /> 1226 A read only property that returns a list() of lldb.SBCompileUnit 1227 objects contained in this module. 1228 </td> 1229 </tr> 1230 <tr> 1231 <td width="15%" align="right" valign="top" class="summary"> 1232 <span class="summary-type"> </span> 1233 </td><td class="summary"> 1234 <a href="lldb.SBModule-class.html#file" class="summary-name">file</a><br /> 1235 A read only property that returns an lldb object that represents the 1236 file (lldb.SBFileSpec) for this object file for this module as it is 1237 represented where it is being debugged. 1238 </td> 1239 </tr> 1240 <tr> 1241 <td width="15%" align="right" valign="top" class="summary"> 1242 <span class="summary-type"> </span> 1243 </td><td class="summary"> 1244 <a href="lldb.SBModule-class.html#num_sections" class="summary-name">num_sections</a><br /> 1245 A read only property that returns number of sections in the module as 1246 an integer. 1247 </td> 1248 </tr> 1249 <tr> 1250 <td width="15%" align="right" valign="top" class="summary"> 1251 <span class="summary-type"> </span> 1252 </td><td class="summary"> 1253 <a href="lldb.SBModule-class.html#num_symbols" class="summary-name">num_symbols</a><br /> 1254 A read only property that returns number of symbols in the module 1255 symbol table as an integer. 1256 </td> 1257 </tr> 1258 <tr> 1259 <td width="15%" align="right" valign="top" class="summary"> 1260 <span class="summary-type"> </span> 1261 </td><td class="summary"> 1262 <a href="lldb.SBModule-class.html#platform_file" class="summary-name">platform_file</a><br /> 1263 A read only property that returns an lldb object that represents the 1264 file (lldb.SBFileSpec) for this object file for this module as it is 1265 represented on the current host system. 1266 </td> 1267 </tr> 1268 <tr> 1269 <td width="15%" align="right" valign="top" class="summary"> 1270 <span class="summary-type"> </span> 1271 </td><td class="summary"> 1272 <a href="lldb.SBModule-class.html#section" class="summary-name">section</a><br /> 1273 A read only property that can be used to access compile units by 1274 index ("compile_unit = module.compile_unit[0]"), name 1275 ("compile_unit = module.compile_unit['main.cpp']"), or 1276 using a regular expression ("compile_unit = 1277 module.compile_unit[re.compile(...)]"). 1278 </td> 1279 </tr> 1280 <tr> 1281 <td width="15%" align="right" valign="top" class="summary"> 1282 <span class="summary-type"> </span> 1283 </td><td class="summary"> 1284 <a href="lldb.SBModule-class.html#sections" class="summary-name">sections</a><br /> 1285 A read only property that returns a list() of lldb.SBSection objects 1286 contained in this module. 1287 </td> 1288 </tr> 1289 <tr> 1290 <td width="15%" align="right" valign="top" class="summary"> 1291 <span class="summary-type"> </span> 1292 </td><td class="summary"> 1293 <a href="lldb.SBModule-class.html#symbol" class="summary-name">symbol</a><br /> 1294 A read only property that can be used to access symbols by index 1295 ("symbol = module.symbol[0]"), name ("symbols = 1296 module.symbol['main']"), or using a regular expression 1297 ("symbols = module.symbol[re.compile(...)]"). 1298 </td> 1299 </tr> 1300 <tr> 1301 <td width="15%" align="right" valign="top" class="summary"> 1302 <span class="summary-type"> </span> 1303 </td><td class="summary"> 1304 <a href="lldb.SBModule-class.html#symbols" class="summary-name">symbols</a><br /> 1305 A read only property that returns a list() of lldb.SBSymbol objects 1306 contained in this module. 1307 </td> 1308 </tr> 1309 <tr> 1310 <td width="15%" align="right" valign="top" class="summary"> 1311 <span class="summary-type"> </span> 1312 </td><td class="summary"> 1313 <a href="lldb.SBModule-class.html#triple" class="summary-name">triple</a><br /> 1314 A read only property that returns the target triple (arch-vendor-os) 1315 for this module. 1316 </td> 1317 </tr> 1318 <tr> 1319 <td width="15%" align="right" valign="top" class="summary"> 1320 <span class="summary-type"> </span> 1321 </td><td class="summary"> 1322 <a href="lldb.SBModule-class.html#uuid" class="summary-name">uuid</a><br /> 1323 A read only property that returns a standard python uuid.UUID object 1324 that represents the UUID of this module. 1325 </td> 1326 </tr> 1327 <tr> 1328 <td colspan="2" class="summary"> 1329 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 1330 <code>__class__</code> 1331 </p> 1332 </td> 1333 </tr> 1334 </table> 1335 <!-- ==================== METHOD DETAILS ==================== --> 1336 <a name="section-MethodDetails"></a> 1337 <table class="details" border="1" cellpadding="3" 1338 cellspacing="0" width="100%" bgcolor="white"> 1339 <tr bgcolor="#70b0f0" class="table-header"> 1340 <td colspan="2" class="table-header"> 1341 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1342 <tr valign="top"> 1343 <td align="left"><span class="table-header">Method Details</span></td> 1344 <td align="right" valign="top" 1345 ><span class="options">[<a href="#section-MethodDetails" 1346 class="privatelink" onclick="toggle_private();" 1347 >hide private</a>]</span></td> 1348 </tr> 1349 </table> 1350 </td> 1351 </tr> 1352 </table> 1353 <a name="__setattr__"></a> 1354 <div> 1355 <table class="details" border="1" cellpadding="3" 1356 cellspacing="0" width="100%" bgcolor="white"> 1357 <tr><td> 1358 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1359 <tr valign="top"><td> 1360 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 1361 <span class="sig-arg">name</span>, 1362 <span class="sig-arg">value</span>)</span> 1363 </h3> 1364 </td><td align="right" valign="top" 1365 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.__setattr__">source code</a></span> 1366 </td> 1367 </tr></table> 1368 1369 <p>x.__setattr__('name', value) <==> x.name = value</p> 1370 <dl class="fields"> 1371 <dt>Overrides: 1372 object.__setattr__ 1373 <dd><em class="note">(inherited documentation)</em></dd> 1374 </dt> 1375 </dl> 1376 </td></tr></table> 1377 </div> 1378 <a name="__repr__"></a> 1379 <div> 1380 <table class="details" border="1" cellpadding="3" 1381 cellspacing="0" width="100%" bgcolor="white"> 1382 <tr><td> 1383 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1384 <tr valign="top"><td> 1385 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 1386 <br /><em class="fname">(Representation operator)</em> 1387 </h3> 1388 </td><td align="right" valign="top" 1389 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 1390 </td> 1391 </tr></table> 1392 1393 <p>repr(x)</p> 1394 <dl class="fields"> 1395 <dt>Overrides: 1396 object.__repr__ 1397 <dd><em class="note">(inherited documentation)</em></dd> 1398 </dt> 1399 </dl> 1400 </td></tr></table> 1401 </div> 1402 <a name="__init__"></a> 1403 <div> 1404 <table class="details" border="1" cellpadding="3" 1405 cellspacing="0" width="100%" bgcolor="white"> 1406 <tr><td> 1407 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1408 <tr valign="top"><td> 1409 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 1410 <span class="sig-arg">*args</span>)</span> 1411 <br /><em class="fname">(Constructor)</em> 1412 </h3> 1413 </td><td align="right" valign="top" 1414 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.__init__">source code</a></span> 1415 </td> 1416 </tr></table> 1417 1418 <p>__init__(lldb::SBModule self) -> SBModule __init__(lldb::SBModule 1419 self, SBModule rhs) -> SBModule __init__(lldb::SBModule self, 1420 SBModuleSpec module_spec) -> SBModule __init__(lldb::SBModule self, 1421 SBProcess process, lldb::addr_t header_addr) -> SBModule</p> 1422 <dl class="fields"> 1423 <dt>Overrides: 1424 object.__init__ 1425 </dt> 1426 </dl> 1427 </td></tr></table> 1428 </div> 1429 <a name="GetFileSpec"></a> 1430 <div> 1431 <table class="details" border="1" cellpadding="3" 1432 cellspacing="0" width="100%" bgcolor="white"> 1433 <tr><td> 1434 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1435 <tr valign="top"><td> 1436 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetFileSpec</span>(<span class="sig-arg">self</span>)</span> 1437 </h3> 1438 </td><td align="right" valign="top" 1439 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.GetFileSpec">source code</a></span> 1440 </td> 1441 </tr></table> 1442 1443 <pre class="literalblock"> 1444 1445 GetFileSpec(SBModule self) -> SBFileSpec 1446 1447 Get const accessor for the module file specification. 1448 1449 This function returns the file for the module on the host system 1450 that is running LLDB. This can differ from the path on the 1451 platform since we might be doing remote debugging. 1452 1453 @return 1454 A const reference to the file specification object. 1455 1456 </pre> 1457 <dl class="fields"> 1458 </dl> 1459 </td></tr></table> 1460 </div> 1461 <a name="GetPlatformFileSpec"></a> 1462 <div> 1463 <table class="details" border="1" cellpadding="3" 1464 cellspacing="0" width="100%" bgcolor="white"> 1465 <tr><td> 1466 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1467 <tr valign="top"><td> 1468 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetPlatformFileSpec</span>(<span class="sig-arg">self</span>)</span> 1469 </h3> 1470 </td><td align="right" valign="top" 1471 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.GetPlatformFileSpec">source code</a></span> 1472 </td> 1473 </tr></table> 1474 1475 <pre class="literalblock"> 1476 1477 GetPlatformFileSpec(SBModule self) -> SBFileSpec 1478 1479 Get accessor for the module platform file specification. 1480 1481 Platform file refers to the path of the module as it is known on 1482 the remote system on which it is being debugged. For local 1483 debugging this is always the same as Module::GetFileSpec(). But 1484 remote debugging might mention a file '/usr/lib/liba.dylib' 1485 which might be locally downloaded and cached. In this case the 1486 platform file could be something like: 1487 '/tmp/lldb/platform-cache/remote.host.computer/usr/lib/liba.dylib' 1488 The file could also be cached in a local developer kit directory. 1489 1490 @return 1491 A const reference to the file specification object. 1492 1493 </pre> 1494 <dl class="fields"> 1495 </dl> 1496 </td></tr></table> 1497 </div> 1498 <a name="GetUUIDString"></a> 1499 <div> 1500 <table class="details" border="1" cellpadding="3" 1501 cellspacing="0" width="100%" bgcolor="white"> 1502 <tr><td> 1503 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1504 <tr valign="top"><td> 1505 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetUUIDString</span>(<span class="sig-arg">self</span>)</span> 1506 </h3> 1507 </td><td align="right" valign="top" 1508 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.GetUUIDString">source code</a></span> 1509 </td> 1510 </tr></table> 1511 1512 <p>GetUUIDString(SBModule self) -> str const *</p> 1513 <p>Returns the UUID of the module as a Python string.</p> 1514 <dl class="fields"> 1515 </dl> 1516 </td></tr></table> 1517 </div> 1518 <a name="FindFunctions"></a> 1519 <div> 1520 <table class="details" border="1" cellpadding="3" 1521 cellspacing="0" width="100%" bgcolor="white"> 1522 <tr><td> 1523 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1524 <tr valign="top"><td> 1525 <h3 class="epydoc"><span class="sig"><span class="sig-name">FindFunctions</span>(<span class="sig-arg">self</span>, 1526 <span class="sig-arg">*args</span>)</span> 1527 </h3> 1528 </td><td align="right" valign="top" 1529 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.FindFunctions">source code</a></span> 1530 </td> 1531 </tr></table> 1532 1533 <pre class="literalblock"> 1534 1535 FindFunctions(SBModule self, str const * name, uint32_t name_type_mask=eFunctionNameTypeAny) -> SBSymbolContextList 1536 FindFunctions(SBModule self, str const * name) -> SBSymbolContextList 1537 1538 Find functions by name. 1539 1540 @param[in] name 1541 The name of the function we are looking for. 1542 1543 @param[in] name_type_mask 1544 A logical OR of one or more FunctionNameType enum bits that 1545 indicate what kind of names should be used when doing the 1546 lookup. Bits include fully qualified names, base names, 1547 C++ methods, or ObjC selectors. 1548 See FunctionNameType for more details. 1549 1550 @return 1551 A symbol context list that gets filled in with all of the 1552 matches. 1553 1554 </pre> 1555 <dl class="fields"> 1556 </dl> 1557 </td></tr></table> 1558 </div> 1559 <a name="GetTypes"></a> 1560 <div> 1561 <table class="details" border="1" cellpadding="3" 1562 cellspacing="0" width="100%" bgcolor="white"> 1563 <tr><td> 1564 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1565 <tr valign="top"><td> 1566 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetTypes</span>(<span class="sig-arg">self</span>, 1567 <span class="sig-arg">*args</span>)</span> 1568 </h3> 1569 </td><td align="right" valign="top" 1570 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.GetTypes">source code</a></span> 1571 </td> 1572 </tr></table> 1573 1574 <pre class="literalblock"> 1575 1576 GetTypes(SBModule self, uint32_t type_mask=eTypeClassAny) -> SBTypeList 1577 GetTypes(SBModule self) -> SBTypeList 1578 1579 Get all types matching type_mask from debug info in this 1580 module. 1581 1582 @param[in] type_mask 1583 A bitfield that consists of one or more bits logically OR'ed 1584 together from the lldb::TypeClass enumeration. This allows 1585 you to request only structure types, or only class, struct 1586 and union types. Passing in lldb::eTypeClassAny will return 1587 all types found in the debug information for this module. 1588 1589 @return 1590 A list of types in this module that match type_mask 1591 1592 </pre> 1593 <dl class="fields"> 1594 </dl> 1595 </td></tr></table> 1596 </div> 1597 <a name="FindGlobalVariables"></a> 1598 <div> 1599 <table class="details" border="1" cellpadding="3" 1600 cellspacing="0" width="100%" bgcolor="white"> 1601 <tr><td> 1602 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1603 <tr valign="top"><td> 1604 <h3 class="epydoc"><span class="sig"><span class="sig-name">FindGlobalVariables</span>(<span class="sig-arg">self</span>, 1605 <span class="sig-arg">*args</span>)</span> 1606 </h3> 1607 </td><td align="right" valign="top" 1608 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.FindGlobalVariables">source code</a></span> 1609 </td> 1610 </tr></table> 1611 1612 <pre class="literalblock"> 1613 1614 FindGlobalVariables(SBModule self, SBTarget target, str const * name, uint32_t max_matches) -> SBValueList 1615 1616 Find global and static variables by name. 1617 1618 @param[in] target 1619 A valid SBTarget instance representing the debuggee. 1620 1621 @param[in] name 1622 The name of the global or static variable we are looking 1623 for. 1624 1625 @param[in] max_matches 1626 Allow the number of matches to be limited to max_matches. 1627 1628 @return 1629 A list of matched variables in an SBValueList. 1630 1631 </pre> 1632 <dl class="fields"> 1633 </dl> 1634 </td></tr></table> 1635 </div> 1636 <a name="FindFirstGlobalVariable"></a> 1637 <div> 1638 <table class="details" border="1" cellpadding="3" 1639 cellspacing="0" width="100%" bgcolor="white"> 1640 <tr><td> 1641 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1642 <tr valign="top"><td> 1643 <h3 class="epydoc"><span class="sig"><span class="sig-name">FindFirstGlobalVariable</span>(<span class="sig-arg">self</span>, 1644 <span class="sig-arg">*args</span>)</span> 1645 </h3> 1646 </td><td align="right" valign="top" 1647 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.FindFirstGlobalVariable">source code</a></span> 1648 </td> 1649 </tr></table> 1650 1651 <pre class="literalblock"> 1652 1653 FindFirstGlobalVariable(SBModule self, SBTarget target, str const * name) -> SBValue 1654 1655 Find the first global (or static) variable by name. 1656 1657 @param[in] target 1658 A valid SBTarget instance representing the debuggee. 1659 1660 @param[in] name 1661 The name of the global or static variable we are looking 1662 for. 1663 1664 @return 1665 An SBValue that gets filled in with the found variable (if any). 1666 1667 </pre> 1668 <dl class="fields"> 1669 </dl> 1670 </td></tr></table> 1671 </div> 1672 <a name="__str__"></a> 1673 <div> 1674 <table class="details" border="1" cellpadding="3" 1675 cellspacing="0" width="100%" bgcolor="white"> 1676 <tr><td> 1677 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1678 <tr valign="top"><td> 1679 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 1680 <br /><em class="fname">(Informal representation operator)</em> 1681 </h3> 1682 </td><td align="right" valign="top" 1683 ><span class="codelink"><a href="lldb-pysrc.html#SBModule.__str__">source code</a></span> 1684 </td> 1685 </tr></table> 1686 1687 <p>__str__(SBModule self) -> PyObject *</p> 1688 <dl class="fields"> 1689 <dt>Overrides: 1690 object.__str__ 1691 </dt> 1692 </dl> 1693 </td></tr></table> 1694 </div> 1695 <br /> 1696 <!-- ==================== PROPERTY DETAILS ==================== --> 1697 <a name="section-PropertyDetails"></a> 1698 <table class="details" border="1" cellpadding="3" 1699 cellspacing="0" width="100%" bgcolor="white"> 1700 <tr bgcolor="#70b0f0" class="table-header"> 1701 <td colspan="2" class="table-header"> 1702 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1703 <tr valign="top"> 1704 <td align="left"><span class="table-header">Property Details</span></td> 1705 <td align="right" valign="top" 1706 ><span class="options">[<a href="#section-PropertyDetails" 1707 class="privatelink" onclick="toggle_private();" 1708 >hide private</a>]</span></td> 1709 </tr> 1710 </table> 1711 </td> 1712 </tr> 1713 </table> 1714 <a name="addr_size"></a> 1715 <div> 1716 <table class="details" border="1" cellpadding="3" 1717 cellspacing="0" width="100%" bgcolor="white"> 1718 <tr><td> 1719 <h3 class="epydoc">addr_size</h3> 1720 <p>A read only property that returns the size in bytes of an address for 1721 this module.</p> 1722 <dl class="fields"> 1723 <dt>Get Method:</dt> 1724 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetAddressByteSize" class="summary-sig-name">GetAddressByteSize</a>(<span class="summary-sig-arg">self</span>)</span> 1725 - GetAddressByteSize(SBModule self) -> uint32_t 1726 </dd> 1727 </dl> 1728 </td></tr></table> 1729 </div> 1730 <a name="byte_order"></a> 1731 <div> 1732 <table class="details" border="1" cellpadding="3" 1733 cellspacing="0" width="100%" bgcolor="white"> 1734 <tr><td> 1735 <h3 class="epydoc">byte_order</h3> 1736 <p>A read only property that returns an lldb enumeration value 1737 (lldb.eByteOrderLittle, lldb.eByteOrderBig, lldb.eByteOrderInvalid) that 1738 represents the byte order for this module.</p> 1739 <dl class="fields"> 1740 <dt>Get Method:</dt> 1741 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetByteOrder" class="summary-sig-name">GetByteOrder</a>(<span class="summary-sig-arg">self</span>)</span> 1742 - GetByteOrder(SBModule self) -> lldb::ByteOrder 1743 </dd> 1744 </dl> 1745 </td></tr></table> 1746 </div> 1747 <a name="compile_units"></a> 1748 <div> 1749 <table class="details" border="1" cellpadding="3" 1750 cellspacing="0" width="100%" bgcolor="white"> 1751 <tr><td> 1752 <h3 class="epydoc">compile_units</h3> 1753 <p>A read only property that returns a list() of lldb.SBCompileUnit 1754 objects contained in this module.</p> 1755 <dl class="fields"> 1756 <dt>Get Method:</dt> 1757 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_compile_units_array" class="summary-sig-name">get_compile_units_array</a>(<span class="summary-sig-arg">self</span>)</span> 1758 - An accessor function that returns an array object that contains all 1759 compile_units in this module object. 1760 </dd> 1761 </dl> 1762 </td></tr></table> 1763 </div> 1764 <a name="file"></a> 1765 <div> 1766 <table class="details" border="1" cellpadding="3" 1767 cellspacing="0" width="100%" bgcolor="white"> 1768 <tr><td> 1769 <h3 class="epydoc">file</h3> 1770 <p>A read only property that returns an lldb object that represents the 1771 file (lldb.SBFileSpec) for this object file for this module as it is 1772 represented where it is being debugged.</p> 1773 <dl class="fields"> 1774 <dt>Get Method:</dt> 1775 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetFileSpec" class="summary-sig-name">GetFileSpec</a>(<span class="summary-sig-arg">self</span>)</span> 1776 - GetFileSpec(SBModule self) -> SBFileSpec 1777 </dd> 1778 </dl> 1779 </td></tr></table> 1780 </div> 1781 <a name="num_sections"></a> 1782 <div> 1783 <table class="details" border="1" cellpadding="3" 1784 cellspacing="0" width="100%" bgcolor="white"> 1785 <tr><td> 1786 <h3 class="epydoc">num_sections</h3> 1787 <p>A read only property that returns number of sections in the module as 1788 an integer.</p> 1789 <dl class="fields"> 1790 <dt>Get Method:</dt> 1791 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetNumSections" class="summary-sig-name">GetNumSections</a>(<span class="summary-sig-arg">self</span>)</span> 1792 - GetNumSections(SBModule self) -> size_t 1793 </dd> 1794 </dl> 1795 </td></tr></table> 1796 </div> 1797 <a name="num_symbols"></a> 1798 <div> 1799 <table class="details" border="1" cellpadding="3" 1800 cellspacing="0" width="100%" bgcolor="white"> 1801 <tr><td> 1802 <h3 class="epydoc">num_symbols</h3> 1803 <p>A read only property that returns number of symbols in the module 1804 symbol table as an integer.</p> 1805 <dl class="fields"> 1806 <dt>Get Method:</dt> 1807 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetNumSymbols" class="summary-sig-name">GetNumSymbols</a>(<span class="summary-sig-arg">self</span>)</span> 1808 - GetNumSymbols(SBModule self) -> size_t 1809 </dd> 1810 </dl> 1811 </td></tr></table> 1812 </div> 1813 <a name="platform_file"></a> 1814 <div> 1815 <table class="details" border="1" cellpadding="3" 1816 cellspacing="0" width="100%" bgcolor="white"> 1817 <tr><td> 1818 <h3 class="epydoc">platform_file</h3> 1819 <p>A read only property that returns an lldb object that represents the 1820 file (lldb.SBFileSpec) for this object file for this module as it is 1821 represented on the current host system.</p> 1822 <dl class="fields"> 1823 <dt>Get Method:</dt> 1824 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetPlatformFileSpec" class="summary-sig-name">GetPlatformFileSpec</a>(<span class="summary-sig-arg">self</span>)</span> 1825 - GetPlatformFileSpec(SBModule self) -> SBFileSpec 1826 </dd> 1827 </dl> 1828 </td></tr></table> 1829 </div> 1830 <a name="section"></a> 1831 <div> 1832 <table class="details" border="1" cellpadding="3" 1833 cellspacing="0" width="100%" bgcolor="white"> 1834 <tr><td> 1835 <h3 class="epydoc">section</h3> 1836 <p>A read only property that can be used to access compile units by index 1837 ("compile_unit = module.compile_unit[0]"), name 1838 ("compile_unit = module.compile_unit['main.cpp']"), or using a 1839 regular expression ("compile_unit = 1840 module.compile_unit[re.compile(...)]"). The return value is a single 1841 lldb.SBCompileUnit object for array access or by full or partial path, 1842 and a list() of lldb.SBCompileUnit objects regular expressions.</p> 1843 <dl class="fields"> 1844 <dt>Get Method:</dt> 1845 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_sections_access_object" class="summary-sig-name">get_sections_access_object</a>(<span class="summary-sig-arg">self</span>)</span> 1846 - An accessor function that returns a sections_access() object which 1847 allows lazy section array access. 1848 </dd> 1849 </dl> 1850 </td></tr></table> 1851 </div> 1852 <a name="sections"></a> 1853 <div> 1854 <table class="details" border="1" cellpadding="3" 1855 cellspacing="0" width="100%" bgcolor="white"> 1856 <tr><td> 1857 <h3 class="epydoc">sections</h3> 1858 <p>A read only property that returns a list() of lldb.SBSection objects 1859 contained in this module.</p> 1860 <dl class="fields"> 1861 <dt>Get Method:</dt> 1862 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_sections_array" class="summary-sig-name">get_sections_array</a>(<span class="summary-sig-arg">self</span>)</span> 1863 - An accessor function that returns an array object that contains all 1864 sections in this module object. 1865 </dd> 1866 </dl> 1867 </td></tr></table> 1868 </div> 1869 <a name="symbol"></a> 1870 <div> 1871 <table class="details" border="1" cellpadding="3" 1872 cellspacing="0" width="100%" bgcolor="white"> 1873 <tr><td> 1874 <h3 class="epydoc">symbol</h3> 1875 <p>A read only property that can be used to access symbols by index 1876 ("symbol = module.symbol[0]"), name ("symbols = 1877 module.symbol['main']"), or using a regular expression 1878 ("symbols = module.symbol[re.compile(...)]"). The return value 1879 is a single lldb.SBSymbol object for array access, and a list() of 1880 lldb.SBSymbol objects for name and regular expression access</p> 1881 <dl class="fields"> 1882 <dt>Get Method:</dt> 1883 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_symbols_access_object" class="summary-sig-name">get_symbols_access_object</a>(<span class="summary-sig-arg">self</span>)</span> 1884 - An accessor function that returns a symbols_access() object which 1885 allows lazy symbol access from a lldb.SBModule object. 1886 </dd> 1887 </dl> 1888 </td></tr></table> 1889 </div> 1890 <a name="symbols"></a> 1891 <div> 1892 <table class="details" border="1" cellpadding="3" 1893 cellspacing="0" width="100%" bgcolor="white"> 1894 <tr><td> 1895 <h3 class="epydoc">symbols</h3> 1896 <p>A read only property that returns a list() of lldb.SBSymbol objects 1897 contained in this module.</p> 1898 <dl class="fields"> 1899 <dt>Get Method:</dt> 1900 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_symbols_array" class="summary-sig-name">get_symbols_array</a>(<span class="summary-sig-arg">self</span>)</span> 1901 - An accessor function that returns a list() that contains all symbols 1902 in a lldb.SBModule object. 1903 </dd> 1904 </dl> 1905 </td></tr></table> 1906 </div> 1907 <a name="triple"></a> 1908 <div> 1909 <table class="details" border="1" cellpadding="3" 1910 cellspacing="0" width="100%" bgcolor="white"> 1911 <tr><td> 1912 <h3 class="epydoc">triple</h3> 1913 <p>A read only property that returns the target triple (arch-vendor-os) 1914 for this module.</p> 1915 <dl class="fields"> 1916 <dt>Get Method:</dt> 1917 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#GetTriple" class="summary-sig-name">GetTriple</a>(<span class="summary-sig-arg">self</span>)</span> 1918 - GetTriple(SBModule self) -> str const * 1919 </dd> 1920 </dl> 1921 </td></tr></table> 1922 </div> 1923 <a name="uuid"></a> 1924 <div> 1925 <table class="details" border="1" cellpadding="3" 1926 cellspacing="0" width="100%" bgcolor="white"> 1927 <tr><td> 1928 <h3 class="epydoc">uuid</h3> 1929 <p>A read only property that returns a standard python uuid.UUID object 1930 that represents the UUID of this module.</p> 1931 <dl class="fields"> 1932 <dt>Get Method:</dt> 1933 <dd class="value"><span class="summary-sig"><a href="lldb.SBModule-class.html#get_uuid" class="summary-sig-name">get_uuid</a>(<span class="summary-sig-arg">self</span>)</span> 1934 </dd> 1935 </dl> 1936 </td></tr></table> 1937 </div> 1938 <br /> 1939 <!-- ==================== NAVIGATION BAR ==================== --> 1940 <table class="navbar" border="0" width="100%" cellpadding="0" 1941 bgcolor="#a0c0ff" cellspacing="0"> 1942 <tr valign="middle"> 1943 1944 <!-- Tree link --> 1945 <th> <a 1946 href="module-tree.html">Trees</a> </th> 1947 1948 <!-- Index link --> 1949 <th> <a 1950 href="identifier-index.html">Indices</a> </th> 1951 1952 <!-- Help link --> 1953 <th> <a 1954 href="help.html">Help</a> </th> 1955 1956 <!-- Project homepage --> 1957 <th class="navbar" align="right" width="100%"> 1958 <table border="0" cellpadding="0" cellspacing="0"> 1959 <tr><th class="navbar" align="center" 1960 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 1961 </tr></table></th> 1962 </tr> 1963 </table> 1964 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 1965 <tr> 1966 <td align="left" class="footer"> 1967 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 1968 </td> 1969 <td align="right" class="footer"> 1970 <a target="mainFrame" href="http://epydoc.sourceforge.net" 1971 >http://epydoc.sourceforge.net</a> 1972 </td> 1973 </tr> 1974 </table> 1975 1976 <script type="text/javascript"> 1977 <!-- 1978 // Private objects are initially displayed (because if 1979 // javascript is turned off then we want them to be 1980 // visible); but by default, we want to hide them. So hide 1981 // them unless we have a cookie that says to show them. 1982 checkCookie(); 1983 // --> 1984 </script> 1985 </body> 1986 </html> 1987