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.SBProcess</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 SBProcess 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.SBProcess-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 SBProcess</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBProcess">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbp" name="uml_class_diagram_for_lldb_sbp"> 63 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__swig_setmethods__" title="lldb.SBProcess.__swig_setmethods__" alt="" coords="17,31,197,49"/> 64 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__swig_getmethods__" title="lldb.SBProcess.__swig_getmethods__" alt="" coords="17,49,197,68"/> 65 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#eBroadcastBitStateChanged" title="lldb.SBProcess.eBroadcastBitStateChanged" alt="" coords="17,68,197,87"/> 66 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#eBroadcastBitInterrupt" title="lldb.SBProcess.eBroadcastBitInterrupt" alt="" coords="17,87,197,105"/> 67 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#eBroadcastBitSTDOUT" title="lldb.SBProcess.eBroadcastBitSTDOUT" alt="" coords="17,105,197,124"/> 68 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#eBroadcastBitSTDERR" title="lldb.SBProcess.eBroadcastBitSTDERR" alt="" coords="17,124,197,143"/> 69 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#eBroadcastBitProfileData" title="lldb.SBProcess.eBroadcastBitProfileData" alt="" coords="17,143,197,161"/> 70 <area shape="rect" id="node35" href="lldb.SBProcess.threads_access-class.html" title="A helper object that will lazily hand out thread for a process when  supplied an index." alt="" coords="17,161,197,180"/> 71 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#broadcaster" title="A read only property that an lldb object that represents the broadcaster  (lldb.SBBroadcaster) for this process." alt="" coords="17,180,197,199"/> 72 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#exit_description" title="A read only property that returns an exit description as a string of this  process when the process state is lldb.eStateExited." alt="" coords="17,199,197,217"/> 73 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#exit_state" title="A read only property that returns an exit status as an integer of this  process when the process state is lldb.eStateExited." alt="" coords="17,217,197,236"/> 74 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#id" title="A read only property that returns the process ID as an integer." alt="" coords="17,236,197,255"/> 75 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#is_alive" title="A read only property that returns a boolean value that indicates if this  process is currently alive." alt="" coords="17,255,197,273"/> 76 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#threads" title="A read only property that returns a list() of lldb.SBThread objects for  this process." alt="" coords="17,292,197,311"/> 77 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,313,197,332"/> 78 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__getattr__" title="lldb.SBProcess.__getattr__" alt="" coords="17,332,197,351"/> 79 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__repr__" title="repr(x)" alt="" coords="17,351,197,369"/> 80 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__iter__" title="lldb.SBProcess.__iter__" alt="" coords="17,369,197,388"/> 81 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__len__" title="lldb.SBProcess.__len__" alt="" coords="17,388,197,407"/> 82 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__init__" title="__init__(lldb::SBProcess self) -> SBProcess __init__(lldb::SBProcess self,  SBProcess rhs) -> SBProcess" alt="" coords="17,407,197,425"/> 83 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__swig_destroy__" title="delete_SBProcess(SBProcess self)" alt="" coords="17,425,197,444"/> 84 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__del__" title="lldb.SBProcess.__del__" alt="" coords="17,444,197,463"/> 85 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#GetBroadcasterClassName" title="lldb.SBProcess.GetBroadcasterClassName" alt="" coords="17,463,197,481"/> 86 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#GetPluginName" title="GetPluginName(SBProcess self) -> str const *" alt="" coords="17,481,197,500"/> 87 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#GetShortPluginName" title="GetShortPluginName(SBProcess self) -> str const *" alt="" coords="17,500,197,519"/> 88 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#Clear" title="Clear(SBProcess self)" alt="" coords="17,519,197,537"/> 89 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__nonzero__" title="lldb.SBProcess.__nonzero__" alt="" coords="17,537,197,556"/> 90 <area shape="rect" id="node35" href="lldb.SBProcess-class.html#__str__" title="__str__(SBProcess self) -> PyObject *" alt="" coords="17,575,197,593"/> 91 <area shape="rect" id="node1" href="lldb.SBProcess-class.html" title="Represents the process associated with the target program." alt="" coords="5,6,208,599"/> 92 </map> 93 <img src="uml_class_diagram_for_lldb_sbp.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbp" ismap="ismap" class="graph-without-title" /> 94 </center> 95 </center> 96 <hr /> 97 <pre class="literalblock"> 98 99 Represents the process associated with the target program. 100 101 SBProcess supports thread iteration. For example (from test/lldbutil.py), 102 103 # ================================================== 104 # Utility functions related to Threads and Processes 105 # ================================================== 106 107 def get_stopped_threads(process, reason): 108 '''Returns the thread(s) with the specified stop reason in a list. 109 110 The list can be empty if no such thread exists. 111 ''' 112 threads = [] 113 for t in process: 114 if t.GetStopReason() == reason: 115 threads.append(t) 116 return threads 117 118 ... 119 120 </pre> 121 122 <!-- ==================== NESTED CLASSES ==================== --> 123 <a name="section-NestedClasses"></a> 124 <table class="summary" border="1" cellpadding="3" 125 cellspacing="0" width="100%" bgcolor="white"> 126 <tr bgcolor="#70b0f0" class="table-header"> 127 <td colspan="2" class="table-header"> 128 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 129 <tr valign="top"> 130 <td align="left"><span class="table-header">Nested Classes</span></td> 131 <td align="right" valign="top" 132 ><span class="options">[<a href="#section-NestedClasses" 133 class="privatelink" onclick="toggle_private();" 134 >hide private</a>]</span></td> 135 </tr> 136 </table> 137 </td> 138 </tr> 139 <tr> 140 <td width="15%" align="right" valign="top" class="summary"> 141 <span class="summary-type"> </span> 142 </td><td class="summary"> 143 <a href="lldb.SBProcess.threads_access-class.html" class="summary-name">threads_access</a><br /> 144 A helper object that will lazily hand out thread for a process when 145 supplied an index. 146 </td> 147 </tr> 148 </table> 149 <!-- ==================== INSTANCE METHODS ==================== --> 150 <a name="section-InstanceMethods"></a> 151 <table class="summary" border="1" cellpadding="3" 152 cellspacing="0" width="100%" bgcolor="white"> 153 <tr bgcolor="#70b0f0" class="table-header"> 154 <td colspan="2" class="table-header"> 155 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 156 <tr valign="top"> 157 <td align="left"><span class="table-header">Instance Methods</span></td> 158 <td align="right" valign="top" 159 ><span class="options">[<a href="#section-InstanceMethods" 160 class="privatelink" onclick="toggle_private();" 161 >hide private</a>]</span></td> 162 </tr> 163 </table> 164 </td> 165 </tr> 166 <tr> 167 <td width="15%" align="right" valign="top" class="summary"> 168 <span class="summary-type"> </span> 169 </td><td class="summary"> 170 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 171 <tr> 172 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 173 <span class="summary-sig-arg">name</span>, 174 <span class="summary-sig-arg">value</span>)</span><br /> 175 x.__setattr__('name', value) <==> x.name = value</td> 176 <td align="right" valign="top"> 177 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__setattr__">source code</a></span> 178 179 </td> 180 </tr> 181 </table> 182 183 </td> 184 </tr> 185 <tr> 186 <td width="15%" align="right" valign="top" class="summary"> 187 <span class="summary-type"> </span> 188 </td><td class="summary"> 189 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 190 <tr> 191 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 192 <span class="summary-sig-arg">name</span>)</span></td> 193 <td align="right" valign="top"> 194 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__getattr__">source code</a></span> 195 196 </td> 197 </tr> 198 </table> 199 200 </td> 201 </tr> 202 <tr> 203 <td width="15%" align="right" valign="top" class="summary"> 204 <span class="summary-type"> </span> 205 </td><td class="summary"> 206 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 207 <tr> 208 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 209 repr(x)</td> 210 <td align="right" valign="top"> 211 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 212 213 </td> 214 </tr> 215 </table> 216 217 </td> 218 </tr> 219 <tr> 220 <td width="15%" align="right" valign="top" class="summary"> 221 <span class="summary-type"> </span> 222 </td><td class="summary"> 223 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 224 <tr> 225 <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> 226 <td align="right" valign="top"> 227 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__iter__">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 name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td> 242 <td align="right" valign="top"> 243 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__len__">source code</a></span> 244 245 </td> 246 </tr> 247 </table> 248 249 </td> 250 </tr> 251 <tr> 252 <td width="15%" align="right" valign="top" class="summary"> 253 <span class="summary-type"> </span> 254 </td><td class="summary"> 255 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 256 <tr> 257 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 258 <span class="summary-sig-arg">*args</span>)</span><br /> 259 __init__(lldb::SBProcess self) -> SBProcess 260 __init__(lldb::SBProcess self, SBProcess rhs) -> SBProcess</td> 261 <td align="right" valign="top"> 262 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__init__">source code</a></span> 263 264 </td> 265 </tr> 266 </table> 267 268 </td> 269 </tr> 270 <tr> 271 <td width="15%" align="right" valign="top" class="summary"> 272 <span class="summary-type"> </span> 273 </td><td class="summary"> 274 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 275 <tr> 276 <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 /> 277 delete_SBProcess(SBProcess self)</td> 278 <td align="right" valign="top"> 279 280 281 </td> 282 </tr> 283 </table> 284 285 </td> 286 </tr> 287 <tr> 288 <td width="15%" align="right" valign="top" class="summary"> 289 <span class="summary-type"> </span> 290 </td><td class="summary"> 291 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 292 <tr> 293 <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> 294 <td align="right" valign="top"> 295 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__del__">source code</a></span> 296 297 </td> 298 </tr> 299 </table> 300 301 </td> 302 </tr> 303 <tr> 304 <td width="15%" align="right" valign="top" class="summary"> 305 <span class="summary-type"> </span> 306 </td><td class="summary"> 307 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 308 <tr> 309 <td><span class="summary-sig"><a name="GetPluginName"></a><span class="summary-sig-name">GetPluginName</span>(<span class="summary-sig-arg">self</span>)</span><br /> 310 GetPluginName(SBProcess self) -> str const *</td> 311 <td align="right" valign="top"> 312 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetPluginName">source code</a></span> 313 314 </td> 315 </tr> 316 </table> 317 318 </td> 319 </tr> 320 <tr> 321 <td width="15%" align="right" valign="top" class="summary"> 322 <span class="summary-type"> </span> 323 </td><td class="summary"> 324 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 325 <tr> 326 <td><span class="summary-sig"><a name="GetShortPluginName"></a><span class="summary-sig-name">GetShortPluginName</span>(<span class="summary-sig-arg">self</span>)</span><br /> 327 GetShortPluginName(SBProcess self) -> str const *</td> 328 <td align="right" valign="top"> 329 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetShortPluginName">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="Clear"></a><span class="summary-sig-name">Clear</span>(<span class="summary-sig-arg">self</span>)</span><br /> 344 Clear(SBProcess self)</td> 345 <td align="right" valign="top"> 346 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Clear">source code</a></span> 347 348 </td> 349 </tr> 350 </table> 351 352 </td> 353 </tr> 354 <tr> 355 <td width="15%" align="right" valign="top" class="summary"> 356 <span class="summary-type"> </span> 357 </td><td class="summary"> 358 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 359 <tr> 360 <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> 361 <td align="right" valign="top"> 362 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__nonzero__">source code</a></span> 363 364 </td> 365 </tr> 366 </table> 367 368 </td> 369 </tr> 370 <tr> 371 <td width="15%" align="right" valign="top" class="summary"> 372 <span class="summary-type"> </span> 373 </td><td class="summary"> 374 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 375 <tr> 376 <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 /> 377 IsValid(SBProcess self) -> bool</td> 378 <td align="right" valign="top"> 379 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.IsValid">source code</a></span> 380 381 </td> 382 </tr> 383 </table> 384 385 </td> 386 </tr> 387 <tr> 388 <td width="15%" align="right" valign="top" class="summary"> 389 <span class="summary-type"> </span> 390 </td><td class="summary"> 391 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 392 <tr> 393 <td><span class="summary-sig"><a name="GetTarget"></a><span class="summary-sig-name">GetTarget</span>(<span class="summary-sig-arg">self</span>)</span><br /> 394 GetTarget(SBProcess self) -> SBTarget</td> 395 <td align="right" valign="top"> 396 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetTarget">source code</a></span> 397 398 </td> 399 </tr> 400 </table> 401 402 </td> 403 </tr> 404 <tr> 405 <td width="15%" align="right" valign="top" class="summary"> 406 <span class="summary-type"> </span> 407 </td><td class="summary"> 408 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 409 <tr> 410 <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 /> 411 GetByteOrder(SBProcess self) -> lldb::ByteOrder</td> 412 <td align="right" valign="top"> 413 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetByteOrder">source code</a></span> 414 415 </td> 416 </tr> 417 </table> 418 419 </td> 420 </tr> 421 <tr> 422 <td width="15%" align="right" valign="top" class="summary"> 423 <span class="summary-type"> </span> 424 </td><td class="summary"> 425 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 426 <tr> 427 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#PutSTDIN" class="summary-sig-name">PutSTDIN</a>(<span class="summary-sig-arg">self</span>, 428 <span class="summary-sig-arg">*args</span>)</span><br /> 429 Writes data into the current process's stdin.</td> 430 <td align="right" valign="top"> 431 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.PutSTDIN">source code</a></span> 432 433 </td> 434 </tr> 435 </table> 436 437 </td> 438 </tr> 439 <tr> 440 <td width="15%" align="right" valign="top" class="summary"> 441 <span class="summary-type"> </span> 442 </td><td class="summary"> 443 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 444 <tr> 445 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetSTDOUT" class="summary-sig-name">GetSTDOUT</a>(<span class="summary-sig-arg">self</span>, 446 <span class="summary-sig-arg">*args</span>)</span><br /> 447 Reads data from the current process's stdout stream.</td> 448 <td align="right" valign="top"> 449 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetSTDOUT">source code</a></span> 450 451 </td> 452 </tr> 453 </table> 454 455 </td> 456 </tr> 457 <tr> 458 <td width="15%" align="right" valign="top" class="summary"> 459 <span class="summary-type"> </span> 460 </td><td class="summary"> 461 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 462 <tr> 463 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetSTDERR" class="summary-sig-name">GetSTDERR</a>(<span class="summary-sig-arg">self</span>, 464 <span class="summary-sig-arg">*args</span>)</span><br /> 465 Reads data from the current process's stderr stream.</td> 466 <td align="right" valign="top"> 467 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetSTDERR">source code</a></span> 468 469 </td> 470 </tr> 471 </table> 472 473 </td> 474 </tr> 475 <tr> 476 <td width="15%" align="right" valign="top" class="summary"> 477 <span class="summary-type"> </span> 478 </td><td class="summary"> 479 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 480 <tr> 481 <td><span class="summary-sig"><a name="GetAsyncProfileData"></a><span class="summary-sig-name">GetAsyncProfileData</span>(<span class="summary-sig-arg">self</span>, 482 <span class="summary-sig-arg">*args</span>)</span><br /> 483 GetAsyncProfileData(SBProcess self, str * dst) -> size_t</td> 484 <td align="right" valign="top"> 485 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetAsyncProfileData">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 name="ReportEventState"></a><span class="summary-sig-name">ReportEventState</span>(<span class="summary-sig-arg">self</span>, 500 <span class="summary-sig-arg">*args</span>)</span><br /> 501 ReportEventState(SBProcess self, SBEvent event, FILE * out)</td> 502 <td align="right" valign="top"> 503 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReportEventState">source code</a></span> 504 505 </td> 506 </tr> 507 </table> 508 509 </td> 510 </tr> 511 <tr> 512 <td width="15%" align="right" valign="top" class="summary"> 513 <span class="summary-type"> </span> 514 </td><td class="summary"> 515 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 516 <tr> 517 <td><span class="summary-sig"><a name="AppendEventStateReport"></a><span class="summary-sig-name">AppendEventStateReport</span>(<span class="summary-sig-arg">self</span>, 518 <span class="summary-sig-arg">*args</span>)</span><br /> 519 AppendEventStateReport(SBProcess self, SBEvent event, 520 SBCommandReturnObject result)</td> 521 <td align="right" valign="top"> 522 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.AppendEventStateReport">source code</a></span> 523 524 </td> 525 </tr> 526 </table> 527 528 </td> 529 </tr> 530 <tr> 531 <td width="15%" align="right" valign="top" class="summary"> 532 <span class="summary-type"> </span> 533 </td><td class="summary"> 534 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 535 <tr> 536 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#RemoteAttachToProcessWithID" class="summary-sig-name">RemoteAttachToProcessWithID</a>(<span class="summary-sig-arg">self</span>, 537 <span class="summary-sig-arg">*args</span>)</span><br /> 538 RemoteAttachToProcessWithID(SBProcess self, lldb::pid_t pid, SBError 539 error) -> bool</td> 540 <td align="right" valign="top"> 541 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.RemoteAttachToProcessWithID">source code</a></span> 542 543 </td> 544 </tr> 545 </table> 546 547 </td> 548 </tr> 549 <tr> 550 <td width="15%" align="right" valign="top" class="summary"> 551 <span class="summary-type"> </span> 552 </td><td class="summary"> 553 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 554 <tr> 555 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#RemoteLaunch" class="summary-sig-name">RemoteLaunch</a>(<span class="summary-sig-arg">self</span>, 556 <span class="summary-sig-arg">*args</span>)</span><br /> 557 RemoteLaunch(SBProcess self, str const ** argv, str const ** envp, str const * stdin_path, str const * stdout_path, 558 str const * stderr_path, str const * working_directory, uint32_t launch_flags, 559 bool stop_at_entry, SBError error) -> bool</td> 560 <td align="right" valign="top"> 561 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.RemoteLaunch">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="GetNumThreads"></a><span class="summary-sig-name">GetNumThreads</span>(<span class="summary-sig-arg">self</span>)</span><br /> 576 GetNumThreads(SBProcess self) -> uint32_t</td> 577 <td align="right" valign="top"> 578 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetNumThreads">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 href="lldb.SBProcess-class.html#GetThreadAtIndex" class="summary-sig-name">GetThreadAtIndex</a>(<span class="summary-sig-arg">self</span>, 593 <span class="summary-sig-arg">*args</span>)</span><br /> 594 Returns the INDEX'th thread from the list of current threads.</td> 595 <td align="right" valign="top"> 596 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetThreadAtIndex">source code</a></span> 597 598 </td> 599 </tr> 600 </table> 601 602 </td> 603 </tr> 604 <tr> 605 <td width="15%" align="right" valign="top" class="summary"> 606 <span class="summary-type"> </span> 607 </td><td class="summary"> 608 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 609 <tr> 610 <td><span class="summary-sig"><a name="GetThreadByID"></a><span class="summary-sig-name">GetThreadByID</span>(<span class="summary-sig-arg">self</span>, 611 <span class="summary-sig-arg">*args</span>)</span><br /> 612 Returns the thread with the given thread ID.</td> 613 <td align="right" valign="top"> 614 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetThreadByID">source code</a></span> 615 616 </td> 617 </tr> 618 </table> 619 620 </td> 621 </tr> 622 <tr> 623 <td width="15%" align="right" valign="top" class="summary"> 624 <span class="summary-type"> </span> 625 </td><td class="summary"> 626 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 627 <tr> 628 <td><span class="summary-sig"><a name="GetThreadByIndexID"></a><span class="summary-sig-name">GetThreadByIndexID</span>(<span class="summary-sig-arg">self</span>, 629 <span class="summary-sig-arg">*args</span>)</span><br /> 630 Returns the thread with the given thread IndexID.</td> 631 <td align="right" valign="top"> 632 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetThreadByIndexID">source code</a></span> 633 634 </td> 635 </tr> 636 </table> 637 638 </td> 639 </tr> 640 <tr> 641 <td width="15%" align="right" valign="top" class="summary"> 642 <span class="summary-type"> </span> 643 </td><td class="summary"> 644 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 645 <tr> 646 <td><span class="summary-sig"><a name="GetSelectedThread"></a><span class="summary-sig-name">GetSelectedThread</span>(<span class="summary-sig-arg">self</span>)</span><br /> 647 Returns the currently selected thread.</td> 648 <td align="right" valign="top"> 649 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetSelectedThread">source code</a></span> 650 651 </td> 652 </tr> 653 </table> 654 655 </td> 656 </tr> 657 <tr> 658 <td width="15%" align="right" valign="top" class="summary"> 659 <span class="summary-type"> </span> 660 </td><td class="summary"> 661 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 662 <tr> 663 <td><span class="summary-sig"><a name="CreateOSPluginThread"></a><span class="summary-sig-name">CreateOSPluginThread</span>(<span class="summary-sig-arg">self</span>, 664 <span class="summary-sig-arg">*args</span>)</span><br /> 665 Lazily create a thread on demand through the current OperatingSystem 666 plug-in, if the current OperatingSystem plug-in supports it.</td> 667 <td align="right" valign="top"> 668 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.CreateOSPluginThread">source code</a></span> 669 670 </td> 671 </tr> 672 </table> 673 674 </td> 675 </tr> 676 <tr> 677 <td width="15%" align="right" valign="top" class="summary"> 678 <span class="summary-type"> </span> 679 </td><td class="summary"> 680 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 681 <tr> 682 <td><span class="summary-sig"><a name="SetSelectedThread"></a><span class="summary-sig-name">SetSelectedThread</span>(<span class="summary-sig-arg">self</span>, 683 <span class="summary-sig-arg">*args</span>)</span><br /> 684 SetSelectedThread(SBProcess self, SBThread thread) -> bool</td> 685 <td align="right" valign="top"> 686 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.SetSelectedThread">source code</a></span> 687 688 </td> 689 </tr> 690 </table> 691 692 </td> 693 </tr> 694 <tr> 695 <td width="15%" align="right" valign="top" class="summary"> 696 <span class="summary-type"> </span> 697 </td><td class="summary"> 698 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 699 <tr> 700 <td><span class="summary-sig"><a name="SetSelectedThreadByID"></a><span class="summary-sig-name">SetSelectedThreadByID</span>(<span class="summary-sig-arg">self</span>, 701 <span class="summary-sig-arg">*args</span>)</span><br /> 702 SetSelectedThreadByID(SBProcess self, lldb::tid_t tid) -> bool</td> 703 <td align="right" valign="top"> 704 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.SetSelectedThreadByID">source code</a></span> 705 706 </td> 707 </tr> 708 </table> 709 710 </td> 711 </tr> 712 <tr> 713 <td width="15%" align="right" valign="top" class="summary"> 714 <span class="summary-type"> </span> 715 </td><td class="summary"> 716 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 717 <tr> 718 <td><span class="summary-sig"><a name="SetSelectedThreadByIndexID"></a><span class="summary-sig-name">SetSelectedThreadByIndexID</span>(<span class="summary-sig-arg">self</span>, 719 <span class="summary-sig-arg">*args</span>)</span><br /> 720 SetSelectedThreadByIndexID(SBProcess self, uint32_t index_id) -> 721 bool</td> 722 <td align="right" valign="top"> 723 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.SetSelectedThreadByIndexID">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="GetState"></a><span class="summary-sig-name">GetState</span>(<span class="summary-sig-arg">self</span>)</span><br /> 738 GetState(SBProcess self) -> lldb::StateType</td> 739 <td align="right" valign="top"> 740 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetState">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="GetExitStatus"></a><span class="summary-sig-name">GetExitStatus</span>(<span class="summary-sig-arg">self</span>)</span><br /> 755 GetExitStatus(SBProcess self) -> int</td> 756 <td align="right" valign="top"> 757 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetExitStatus">source code</a></span> 758 759 </td> 760 </tr> 761 </table> 762 763 </td> 764 </tr> 765 <tr> 766 <td width="15%" align="right" valign="top" class="summary"> 767 <span class="summary-type"> </span> 768 </td><td class="summary"> 769 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 770 <tr> 771 <td><span class="summary-sig"><a name="GetExitDescription"></a><span class="summary-sig-name">GetExitDescription</span>(<span class="summary-sig-arg">self</span>)</span><br /> 772 GetExitDescription(SBProcess self) -> str const *</td> 773 <td align="right" valign="top"> 774 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetExitDescription">source code</a></span> 775 776 </td> 777 </tr> 778 </table> 779 780 </td> 781 </tr> 782 <tr> 783 <td width="15%" align="right" valign="top" class="summary"> 784 <span class="summary-type"> </span> 785 </td><td class="summary"> 786 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 787 <tr> 788 <td><span class="summary-sig"><a name="GetProcessID"></a><span class="summary-sig-name">GetProcessID</span>(<span class="summary-sig-arg">self</span>)</span><br /> 789 Returns the process ID of the process.</td> 790 <td align="right" valign="top"> 791 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetProcessID">source code</a></span> 792 793 </td> 794 </tr> 795 </table> 796 797 </td> 798 </tr> 799 <tr> 800 <td width="15%" align="right" valign="top" class="summary"> 801 <span class="summary-type"> </span> 802 </td><td class="summary"> 803 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 804 <tr> 805 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetUniqueID" class="summary-sig-name">GetUniqueID</a>(<span class="summary-sig-arg">self</span>)</span><br /> 806 Returns an integer ID that is guaranteed to be unique across all 807 process instances.</td> 808 <td align="right" valign="top"> 809 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetUniqueID">source code</a></span> 810 811 </td> 812 </tr> 813 </table> 814 815 </td> 816 </tr> 817 <tr> 818 <td width="15%" align="right" valign="top" class="summary"> 819 <span class="summary-type"> </span> 820 </td><td class="summary"> 821 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 822 <tr> 823 <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 /> 824 GetAddressByteSize(SBProcess self) -> uint32_t</td> 825 <td align="right" valign="top"> 826 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetAddressByteSize">source code</a></span> 827 828 </td> 829 </tr> 830 </table> 831 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 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 839 <tr> 840 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#Destroy" class="summary-sig-name">Destroy</a>(<span class="summary-sig-arg">self</span>)</span><br /> 841 Destroy(SBProcess self) -> SBError</td> 842 <td align="right" valign="top"> 843 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Destroy">source code</a></span> 844 845 </td> 846 </tr> 847 </table> 848 849 </td> 850 </tr> 851 <tr> 852 <td width="15%" align="right" valign="top" class="summary"> 853 <span class="summary-type"> </span> 854 </td><td class="summary"> 855 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 856 <tr> 857 <td><span class="summary-sig"><a name="Continue"></a><span class="summary-sig-name">Continue</span>(<span class="summary-sig-arg">self</span>)</span><br /> 858 Continue(SBProcess self) -> SBError</td> 859 <td align="right" valign="top"> 860 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Continue">source code</a></span> 861 862 </td> 863 </tr> 864 </table> 865 866 </td> 867 </tr> 868 <tr> 869 <td width="15%" align="right" valign="top" class="summary"> 870 <span class="summary-type"> </span> 871 </td><td class="summary"> 872 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 873 <tr> 874 <td><span class="summary-sig"><a name="Stop"></a><span class="summary-sig-name">Stop</span>(<span class="summary-sig-arg">self</span>)</span><br /> 875 Stop(SBProcess self) -> SBError</td> 876 <td align="right" valign="top"> 877 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Stop">source code</a></span> 878 879 </td> 880 </tr> 881 </table> 882 883 </td> 884 </tr> 885 <tr> 886 <td width="15%" align="right" valign="top" class="summary"> 887 <span class="summary-type"> </span> 888 </td><td class="summary"> 889 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 890 <tr> 891 <td><span class="summary-sig"><a name="Kill"></a><span class="summary-sig-name">Kill</span>(<span class="summary-sig-arg">self</span>)</span><br /> 892 Kill(SBProcess self) -> SBError</td> 893 <td align="right" valign="top"> 894 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Kill">source code</a></span> 895 896 </td> 897 </tr> 898 </table> 899 900 </td> 901 </tr> 902 <tr> 903 <td width="15%" align="right" valign="top" class="summary"> 904 <span class="summary-type"> </span> 905 </td><td class="summary"> 906 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 907 <tr> 908 <td><span class="summary-sig"><a name="Detach"></a><span class="summary-sig-name">Detach</span>(<span class="summary-sig-arg">self</span>)</span><br /> 909 Detach(SBProcess self) -> SBError</td> 910 <td align="right" valign="top"> 911 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Detach">source code</a></span> 912 913 </td> 914 </tr> 915 </table> 916 917 </td> 918 </tr> 919 <tr> 920 <td width="15%" align="right" valign="top" class="summary"> 921 <span class="summary-type"> </span> 922 </td><td class="summary"> 923 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 924 <tr> 925 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#Signal" class="summary-sig-name">Signal</a>(<span class="summary-sig-arg">self</span>, 926 <span class="summary-sig-arg">*args</span>)</span><br /> 927 Signal(SBProcess self, int signal) -> SBError</td> 928 <td align="right" valign="top"> 929 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.Signal">source code</a></span> 930 931 </td> 932 </tr> 933 </table> 934 935 </td> 936 </tr> 937 <tr> 938 <td width="15%" align="right" valign="top" class="summary"> 939 <span class="summary-type"> </span> 940 </td><td class="summary"> 941 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 942 <tr> 943 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetStopID" class="summary-sig-name">GetStopID</a>(<span class="summary-sig-arg">self</span>, 944 <span class="summary-sig-arg">include_expression_stops</span>=<span class="summary-sig-default">False</span>)</span><br /> 945 GetStopID(SBProcess self, bool include_expression_stops=False) -> 946 uint32_t GetStopID(SBProcess self) -> uint32_t</td> 947 <td align="right" valign="top"> 948 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetStopID">source code</a></span> 949 950 </td> 951 </tr> 952 </table> 953 954 </td> 955 </tr> 956 <tr> 957 <td width="15%" align="right" valign="top" class="summary"> 958 <span class="summary-type"> </span> 959 </td><td class="summary"> 960 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 961 <tr> 962 <td><span class="summary-sig"><a name="SendAsyncInterrupt"></a><span class="summary-sig-name">SendAsyncInterrupt</span>(<span class="summary-sig-arg">self</span>)</span><br /> 963 SendAsyncInterrupt(SBProcess self)</td> 964 <td align="right" valign="top"> 965 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.SendAsyncInterrupt">source code</a></span> 966 967 </td> 968 </tr> 969 </table> 970 971 </td> 972 </tr> 973 <tr> 974 <td width="15%" align="right" valign="top" class="summary"> 975 <span class="summary-type"> </span> 976 </td><td class="summary"> 977 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 978 <tr> 979 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#ReadMemory" class="summary-sig-name">ReadMemory</a>(<span class="summary-sig-arg">self</span>, 980 <span class="summary-sig-arg">*args</span>)</span><br /> 981 Reads memory from the current process's address space and removes any 982 traps that may have been inserted into the memory.</td> 983 <td align="right" valign="top"> 984 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadMemory">source code</a></span> 985 986 </td> 987 </tr> 988 </table> 989 990 </td> 991 </tr> 992 <tr> 993 <td width="15%" align="right" valign="top" class="summary"> 994 <span class="summary-type"> </span> 995 </td><td class="summary"> 996 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 997 <tr> 998 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#WriteMemory" class="summary-sig-name">WriteMemory</a>(<span class="summary-sig-arg">self</span>, 999 <span class="summary-sig-arg">*args</span>)</span><br /> 1000 Writes memory to the current process's address space and maintains any 1001 traps that might be present due to software breakpoints.</td> 1002 <td align="right" valign="top"> 1003 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.WriteMemory">source code</a></span> 1004 1005 </td> 1006 </tr> 1007 </table> 1008 1009 </td> 1010 </tr> 1011 <tr> 1012 <td width="15%" align="right" valign="top" class="summary"> 1013 <span class="summary-type"> </span> 1014 </td><td class="summary"> 1015 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1016 <tr> 1017 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#ReadCStringFromMemory" class="summary-sig-name">ReadCStringFromMemory</a>(<span class="summary-sig-arg">self</span>, 1018 <span class="summary-sig-arg">*args</span>)</span><br /> 1019 Reads a NULL terminated C string from the current process's address space.</td> 1020 <td align="right" valign="top"> 1021 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadCStringFromMemory">source code</a></span> 1022 1023 </td> 1024 </tr> 1025 </table> 1026 1027 </td> 1028 </tr> 1029 <tr> 1030 <td width="15%" align="right" valign="top" class="summary"> 1031 <span class="summary-type"> </span> 1032 </td><td class="summary"> 1033 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1034 <tr> 1035 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#ReadUnsignedFromMemory" class="summary-sig-name">ReadUnsignedFromMemory</a>(<span class="summary-sig-arg">self</span>, 1036 <span class="summary-sig-arg">*args</span>)</span><br /> 1037 Reads an unsigned integer from memory given a byte size and an address.</td> 1038 <td align="right" valign="top"> 1039 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadUnsignedFromMemory">source code</a></span> 1040 1041 </td> 1042 </tr> 1043 </table> 1044 1045 </td> 1046 </tr> 1047 <tr> 1048 <td width="15%" align="right" valign="top" class="summary"> 1049 <span class="summary-type"> </span> 1050 </td><td class="summary"> 1051 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1052 <tr> 1053 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#ReadPointerFromMemory" class="summary-sig-name">ReadPointerFromMemory</a>(<span class="summary-sig-arg">self</span>, 1054 <span class="summary-sig-arg">*args</span>)</span><br /> 1055 Reads a pointer from memory from an address and returns the value.</td> 1056 <td align="right" valign="top"> 1057 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadPointerFromMemory">source code</a></span> 1058 1059 </td> 1060 </tr> 1061 </table> 1062 1063 </td> 1064 </tr> 1065 <tr> 1066 <td width="15%" align="right" valign="top" class="summary"> 1067 <span class="summary-type"> </span> 1068 </td><td class="summary"> 1069 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1070 <tr> 1071 <td><span class="summary-sig"><a name="GetBroadcaster"></a><span class="summary-sig-name">GetBroadcaster</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1072 GetBroadcaster(SBProcess self) -> SBBroadcaster</td> 1073 <td align="right" valign="top"> 1074 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetBroadcaster">source code</a></span> 1075 1076 </td> 1077 </tr> 1078 </table> 1079 1080 </td> 1081 </tr> 1082 <tr> 1083 <td width="15%" align="right" valign="top" class="summary"> 1084 <span class="summary-type"> </span> 1085 </td><td class="summary"> 1086 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1087 <tr> 1088 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 1089 <span class="summary-sig-arg">*args</span>)</span><br /> 1090 GetDescription(SBProcess self, SBStream description) -> bool</td> 1091 <td align="right" valign="top"> 1092 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetDescription">source code</a></span> 1093 1094 </td> 1095 </tr> 1096 </table> 1097 1098 </td> 1099 </tr> 1100 <tr> 1101 <td width="15%" align="right" valign="top" class="summary"> 1102 <span class="summary-type"> </span> 1103 </td><td class="summary"> 1104 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1105 <tr> 1106 <td><span class="summary-sig"><a name="GetNumSupportedHardwareWatchpoints"></a><span class="summary-sig-name">GetNumSupportedHardwareWatchpoints</span>(<span class="summary-sig-arg">self</span>, 1107 <span class="summary-sig-arg">*args</span>)</span><br /> 1108 GetNumSupportedHardwareWatchpoints(SBProcess self, SBError error) 1109 -> uint32_t</td> 1110 <td align="right" valign="top"> 1111 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetNumSupportedHardwareWatchpoints">source code</a></span> 1112 1113 </td> 1114 </tr> 1115 </table> 1116 1117 </td> 1118 </tr> 1119 <tr> 1120 <td width="15%" align="right" valign="top" class="summary"> 1121 <span class="summary-type"> </span> 1122 </td><td class="summary"> 1123 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1124 <tr> 1125 <td><span class="summary-sig"><a name="LoadImage"></a><span class="summary-sig-name">LoadImage</span>(<span class="summary-sig-arg">self</span>, 1126 <span class="summary-sig-arg">*args</span>)</span><br /> 1127 LoadImage(SBProcess self, SBFileSpec image_spec, SBError error) -> 1128 uint32_t</td> 1129 <td align="right" valign="top"> 1130 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.LoadImage">source code</a></span> 1131 1132 </td> 1133 </tr> 1134 </table> 1135 1136 </td> 1137 </tr> 1138 <tr> 1139 <td width="15%" align="right" valign="top" class="summary"> 1140 <span class="summary-type"> </span> 1141 </td><td class="summary"> 1142 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1143 <tr> 1144 <td><span class="summary-sig"><a name="UnloadImage"></a><span class="summary-sig-name">UnloadImage</span>(<span class="summary-sig-arg">self</span>, 1145 <span class="summary-sig-arg">*args</span>)</span><br /> 1146 UnloadImage(SBProcess self, uint32_t image_token) -> SBError</td> 1147 <td align="right" valign="top"> 1148 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.UnloadImage">source code</a></span> 1149 1150 </td> 1151 </tr> 1152 </table> 1153 1154 </td> 1155 </tr> 1156 <tr> 1157 <td width="15%" align="right" valign="top" class="summary"> 1158 <span class="summary-type"> </span> 1159 </td><td class="summary"> 1160 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1161 <tr> 1162 <td><span class="summary-sig"><a name="__get_is_alive__"></a><span class="summary-sig-name">__get_is_alive__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1163 Returns "True" if the process is currently alive, 1164 "False" otherwise</td> 1165 <td align="right" valign="top"> 1166 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__get_is_alive__">source code</a></span> 1167 1168 </td> 1169 </tr> 1170 </table> 1171 1172 </td> 1173 </tr> 1174 <tr> 1175 <td width="15%" align="right" valign="top" class="summary"> 1176 <span class="summary-type"> </span> 1177 </td><td class="summary"> 1178 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1179 <tr> 1180 <td><span class="summary-sig"><a name="__get_is_running__"></a><span class="summary-sig-name">__get_is_running__</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1181 Returns "True" if the process is currently stopped, 1182 "False" otherwise</td> 1183 <td align="right" valign="top"> 1184 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__get_is_running__">source code</a></span> 1185 1186 </td> 1187 </tr> 1188 </table> 1189 1190 </td> 1191 </tr> 1192 <tr> 1193 <td width="15%" align="right" valign="top" class="summary"> 1194 <span class="summary-type"> </span> 1195 </td><td class="summary"> 1196 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1197 <tr> 1198 <td><span class="summary-sig"><a name="get_threads_access_object"></a><span class="summary-sig-name">get_threads_access_object</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1199 An accessor function that returns a modules_access() object which 1200 allows lazy thread access from a lldb.SBProcess object.</td> 1201 <td align="right" valign="top"> 1202 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.get_threads_access_object">source code</a></span> 1203 1204 </td> 1205 </tr> 1206 </table> 1207 1208 </td> 1209 </tr> 1210 <tr> 1211 <td width="15%" align="right" valign="top" class="summary"> 1212 <span class="summary-type"> </span> 1213 </td><td class="summary"> 1214 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1215 <tr> 1216 <td><span class="summary-sig"><a name="get_process_thread_list"></a><span class="summary-sig-name">get_process_thread_list</span>(<span class="summary-sig-arg">self</span>)</span><br /> 1217 An accessor function that returns a list() that contains all threads 1218 in a lldb.SBProcess object.</td> 1219 <td align="right" valign="top"> 1220 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.get_process_thread_list">source code</a></span> 1221 1222 </td> 1223 </tr> 1224 </table> 1225 1226 </td> 1227 </tr> 1228 <tr> 1229 <td width="15%" align="right" valign="top" class="summary"> 1230 <span class="summary-type"> </span> 1231 </td><td class="summary"> 1232 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1233 <tr> 1234 <td><span class="summary-sig"><a href="lldb.SBProcess-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 1235 __str__(SBProcess self) -> PyObject *</td> 1236 <td align="right" valign="top"> 1237 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.__str__">source code</a></span> 1238 1239 </td> 1240 </tr> 1241 </table> 1242 1243 </td> 1244 </tr> 1245 <tr> 1246 <td colspan="2" class="summary"> 1247 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 1248 <code>__delattr__</code>, 1249 <code>__format__</code>, 1250 <code>__getattribute__</code>, 1251 <code>__hash__</code>, 1252 <code>__new__</code>, 1253 <code>__reduce__</code>, 1254 <code>__reduce_ex__</code>, 1255 <code>__sizeof__</code>, 1256 <code>__subclasshook__</code> 1257 </p> 1258 </td> 1259 </tr> 1260 </table> 1261 <!-- ==================== STATIC METHODS ==================== --> 1262 <a name="section-StaticMethods"></a> 1263 <table class="summary" border="1" cellpadding="3" 1264 cellspacing="0" width="100%" bgcolor="white"> 1265 <tr bgcolor="#70b0f0" class="table-header"> 1266 <td colspan="2" class="table-header"> 1267 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1268 <tr valign="top"> 1269 <td align="left"><span class="table-header">Static Methods</span></td> 1270 <td align="right" valign="top" 1271 ><span class="options">[<a href="#section-StaticMethods" 1272 class="privatelink" onclick="toggle_private();" 1273 >hide private</a>]</span></td> 1274 </tr> 1275 </table> 1276 </td> 1277 </tr> 1278 <tr> 1279 <td width="15%" align="right" valign="top" class="summary"> 1280 <span class="summary-type">str const *</span> 1281 </td><td class="summary"> 1282 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1283 <tr> 1284 <td><span class="summary-sig"><a name="GetBroadcasterClassName"></a><span class="summary-sig-name">GetBroadcasterClassName</span>()</span></td> 1285 <td align="right" valign="top"> 1286 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetBroadcasterClassName">source code</a></span> 1287 1288 </td> 1289 </tr> 1290 </table> 1291 1292 </td> 1293 </tr> 1294 <tr> 1295 <td width="15%" align="right" valign="top" class="summary"> 1296 <span class="summary-type"> </span> 1297 </td><td class="summary"> 1298 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1299 <tr> 1300 <td><span class="summary-sig"><a name="GetStateFromEvent"></a><span class="summary-sig-name">GetStateFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1301 GetStateFromEvent(SBEvent event) -> lldb::StateType</td> 1302 <td align="right" valign="top"> 1303 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetStateFromEvent">source code</a></span> 1304 1305 </td> 1306 </tr> 1307 </table> 1308 1309 </td> 1310 </tr> 1311 <tr> 1312 <td width="15%" align="right" valign="top" class="summary"> 1313 <span class="summary-type"> </span> 1314 </td><td class="summary"> 1315 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1316 <tr> 1317 <td><span class="summary-sig"><a name="GetRestartedFromEvent"></a><span class="summary-sig-name">GetRestartedFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1318 GetRestartedFromEvent(SBEvent event) -> bool</td> 1319 <td align="right" valign="top"> 1320 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetRestartedFromEvent">source code</a></span> 1321 1322 </td> 1323 </tr> 1324 </table> 1325 1326 </td> 1327 </tr> 1328 <tr> 1329 <td width="15%" align="right" valign="top" class="summary"> 1330 <span class="summary-type"> </span> 1331 </td><td class="summary"> 1332 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1333 <tr> 1334 <td><span class="summary-sig"><a name="GetNumRestartedReasonsFromEvent"></a><span class="summary-sig-name">GetNumRestartedReasonsFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1335 GetNumRestartedReasonsFromEvent(SBEvent event) -> size_t</td> 1336 <td align="right" valign="top"> 1337 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetNumRestartedReasonsFromEvent">source code</a></span> 1338 1339 </td> 1340 </tr> 1341 </table> 1342 1343 </td> 1344 </tr> 1345 <tr> 1346 <td width="15%" align="right" valign="top" class="summary"> 1347 <span class="summary-type"> </span> 1348 </td><td class="summary"> 1349 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1350 <tr> 1351 <td><span class="summary-sig"><a name="GetRestartedReasonAtIndexFromEvent"></a><span class="summary-sig-name">GetRestartedReasonAtIndexFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1352 GetRestartedReasonAtIndexFromEvent(SBEvent event, size_t idx) -> 1353 str const *</td> 1354 <td align="right" valign="top"> 1355 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetRestartedReasonAtIndexFromEvent">source code</a></span> 1356 1357 </td> 1358 </tr> 1359 </table> 1360 1361 </td> 1362 </tr> 1363 <tr> 1364 <td width="15%" align="right" valign="top" class="summary"> 1365 <span class="summary-type"> </span> 1366 </td><td class="summary"> 1367 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1368 <tr> 1369 <td><span class="summary-sig"><a name="GetProcessFromEvent"></a><span class="summary-sig-name">GetProcessFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1370 GetProcessFromEvent(SBEvent event) -> SBProcess</td> 1371 <td align="right" valign="top"> 1372 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetProcessFromEvent">source code</a></span> 1373 1374 </td> 1375 </tr> 1376 </table> 1377 1378 </td> 1379 </tr> 1380 <tr> 1381 <td width="15%" align="right" valign="top" class="summary"> 1382 <span class="summary-type"> </span> 1383 </td><td class="summary"> 1384 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1385 <tr> 1386 <td><span class="summary-sig"><a name="EventIsProcessEvent"></a><span class="summary-sig-name">EventIsProcessEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 1387 EventIsProcessEvent(SBEvent event) -> bool</td> 1388 <td align="right" valign="top"> 1389 <span class="codelink"><a href="lldb-pysrc.html#SBProcess.EventIsProcessEvent">source code</a></span> 1390 1391 </td> 1392 </tr> 1393 </table> 1394 1395 </td> 1396 </tr> 1397 </table> 1398 <!-- ==================== CLASS VARIABLES ==================== --> 1399 <a name="section-ClassVariables"></a> 1400 <table class="summary" border="1" cellpadding="3" 1401 cellspacing="0" width="100%" bgcolor="white"> 1402 <tr bgcolor="#70b0f0" class="table-header"> 1403 <td colspan="2" class="table-header"> 1404 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1405 <tr valign="top"> 1406 <td align="left"><span class="table-header">Class Variables</span></td> 1407 <td align="right" valign="top" 1408 ><span class="options">[<a href="#section-ClassVariables" 1409 class="privatelink" onclick="toggle_private();" 1410 >hide private</a>]</span></td> 1411 </tr> 1412 </table> 1413 </td> 1414 </tr> 1415 <tr> 1416 <td width="15%" align="right" valign="top" class="summary"> 1417 <span class="summary-type"> </span> 1418 </td><td class="summary"> 1419 <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}">{}</code> 1420 </td> 1421 </tr> 1422 <tr> 1423 <td width="15%" align="right" valign="top" class="summary"> 1424 <span class="summary-type"> </span> 1425 </td><td class="summary"> 1426 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 1427 </td> 1428 </tr> 1429 <tr> 1430 <td width="15%" align="right" valign="top" class="summary"> 1431 <span class="summary-type"> </span> 1432 </td><td class="summary"> 1433 <a name="eBroadcastBitStateChanged"></a><span class="summary-name">eBroadcastBitStateChanged</span> = <code title="1">1</code> 1434 </td> 1435 </tr> 1436 <tr> 1437 <td width="15%" align="right" valign="top" class="summary"> 1438 <span class="summary-type"> </span> 1439 </td><td class="summary"> 1440 <a name="eBroadcastBitInterrupt"></a><span class="summary-name">eBroadcastBitInterrupt</span> = <code title="2">2</code> 1441 </td> 1442 </tr> 1443 <tr> 1444 <td width="15%" align="right" valign="top" class="summary"> 1445 <span class="summary-type"> </span> 1446 </td><td class="summary"> 1447 <a name="eBroadcastBitSTDOUT"></a><span class="summary-name">eBroadcastBitSTDOUT</span> = <code title="4">4</code> 1448 </td> 1449 </tr> 1450 <tr> 1451 <td width="15%" align="right" valign="top" class="summary"> 1452 <span class="summary-type"> </span> 1453 </td><td class="summary"> 1454 <a name="eBroadcastBitSTDERR"></a><span class="summary-name">eBroadcastBitSTDERR</span> = <code title="8">8</code> 1455 </td> 1456 </tr> 1457 <tr> 1458 <td width="15%" align="right" valign="top" class="summary"> 1459 <span class="summary-type"> </span> 1460 </td><td class="summary"> 1461 <a name="eBroadcastBitProfileData"></a><span class="summary-name">eBroadcastBitProfileData</span> = <code title="16">16</code> 1462 </td> 1463 </tr> 1464 </table> 1465 <!-- ==================== PROPERTIES ==================== --> 1466 <a name="section-Properties"></a> 1467 <table class="summary" border="1" cellpadding="3" 1468 cellspacing="0" width="100%" bgcolor="white"> 1469 <tr bgcolor="#70b0f0" class="table-header"> 1470 <td colspan="2" class="table-header"> 1471 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1472 <tr valign="top"> 1473 <td align="left"><span class="table-header">Properties</span></td> 1474 <td align="right" valign="top" 1475 ><span class="options">[<a href="#section-Properties" 1476 class="privatelink" onclick="toggle_private();" 1477 >hide private</a>]</span></td> 1478 </tr> 1479 </table> 1480 </td> 1481 </tr> 1482 <tr> 1483 <td width="15%" align="right" valign="top" class="summary"> 1484 <span class="summary-type"> </span> 1485 </td><td class="summary"> 1486 <a href="lldb.SBProcess-class.html#broadcaster" class="summary-name">broadcaster</a><br /> 1487 A read only property that an lldb object that represents the 1488 broadcaster (lldb.SBBroadcaster) for this process. 1489 </td> 1490 </tr> 1491 <tr> 1492 <td width="15%" align="right" valign="top" class="summary"> 1493 <span class="summary-type"> </span> 1494 </td><td class="summary"> 1495 <a href="lldb.SBProcess-class.html#exit_description" class="summary-name">exit_description</a><br /> 1496 A read only property that returns an exit description as a string of 1497 this process when the process state is lldb.eStateExited. 1498 </td> 1499 </tr> 1500 <tr> 1501 <td width="15%" align="right" valign="top" class="summary"> 1502 <span class="summary-type"> </span> 1503 </td><td class="summary"> 1504 <a href="lldb.SBProcess-class.html#exit_state" class="summary-name">exit_state</a><br /> 1505 A read only property that returns an exit status as an integer of 1506 this process when the process state is lldb.eStateExited. 1507 </td> 1508 </tr> 1509 <tr> 1510 <td width="15%" align="right" valign="top" class="summary"> 1511 <span class="summary-type"> </span> 1512 </td><td class="summary"> 1513 <a href="lldb.SBProcess-class.html#id" class="summary-name">id</a><br /> 1514 A read only property that returns the process ID as an integer. 1515 </td> 1516 </tr> 1517 <tr> 1518 <td width="15%" align="right" valign="top" class="summary"> 1519 <span class="summary-type"> </span> 1520 </td><td class="summary"> 1521 <a href="lldb.SBProcess-class.html#is_alive" class="summary-name">is_alive</a><br /> 1522 A read only property that returns a boolean value that indicates if 1523 this process is currently alive. 1524 </td> 1525 </tr> 1526 <tr> 1527 <td width="15%" align="right" valign="top" class="summary"> 1528 <span class="summary-type"> </span> 1529 </td><td class="summary"> 1530 <a href="lldb.SBProcess-class.html#is_running" class="summary-name">is_running</a><br /> 1531 A read only property that returns a boolean value that indicates if 1532 this process is currently running. 1533 </td> 1534 </tr> 1535 <tr> 1536 <td width="15%" align="right" valign="top" class="summary"> 1537 <span class="summary-type"> </span> 1538 </td><td class="summary"> 1539 <a href="lldb.SBProcess-class.html#is_stopped" class="summary-name">is_stopped</a><br /> 1540 A read only property that returns a boolean value that indicates if 1541 this process is currently stopped. 1542 </td> 1543 </tr> 1544 <tr> 1545 <td width="15%" align="right" valign="top" class="summary"> 1546 <span class="summary-type"> </span> 1547 </td><td class="summary"> 1548 <a href="lldb.SBProcess-class.html#num_threads" class="summary-name">num_threads</a><br /> 1549 A read only property that returns the number of threads in this 1550 process as an integer. 1551 </td> 1552 </tr> 1553 <tr> 1554 <td width="15%" align="right" valign="top" class="summary"> 1555 <span class="summary-type"> </span> 1556 </td><td class="summary"> 1557 <a href="lldb.SBProcess-class.html#selected_thread" class="summary-name">selected_thread</a><br /> 1558 A read/write property that gets/sets the currently selected thread in 1559 this process. 1560 </td> 1561 </tr> 1562 <tr> 1563 <td width="15%" align="right" valign="top" class="summary"> 1564 <span class="summary-type"> </span> 1565 </td><td class="summary"> 1566 <a href="lldb.SBProcess-class.html#state" class="summary-name">state</a><br /> 1567 A read only property that returns an lldb enumeration value (see 1568 enumerations that start with "lldb.eState") that represents 1569 the current state of this process (running, stopped, exited, etc.). 1570 </td> 1571 </tr> 1572 <tr> 1573 <td width="15%" align="right" valign="top" class="summary"> 1574 <span class="summary-type"> </span> 1575 </td><td class="summary"> 1576 <a href="lldb.SBProcess-class.html#target" class="summary-name">target</a><br /> 1577 A read only property that an lldb object that represents the target 1578 (lldb.SBTarget) that owns this process. 1579 </td> 1580 </tr> 1581 <tr> 1582 <td width="15%" align="right" valign="top" class="summary"> 1583 <span class="summary-type"> </span> 1584 </td><td class="summary"> 1585 <a href="lldb.SBProcess-class.html#thread" class="summary-name">thread</a><br /> 1586 A read only property that returns an object that can access threads 1587 by thread index (thread = lldb.process.thread[12]). 1588 </td> 1589 </tr> 1590 <tr> 1591 <td width="15%" align="right" valign="top" class="summary"> 1592 <span class="summary-type"> </span> 1593 </td><td class="summary"> 1594 <a href="lldb.SBProcess-class.html#threads" class="summary-name">threads</a><br /> 1595 A read only property that returns a list() of lldb.SBThread objects 1596 for this process. 1597 </td> 1598 </tr> 1599 <tr> 1600 <td colspan="2" class="summary"> 1601 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 1602 <code>__class__</code> 1603 </p> 1604 </td> 1605 </tr> 1606 </table> 1607 <!-- ==================== METHOD DETAILS ==================== --> 1608 <a name="section-MethodDetails"></a> 1609 <table class="details" border="1" cellpadding="3" 1610 cellspacing="0" width="100%" bgcolor="white"> 1611 <tr bgcolor="#70b0f0" class="table-header"> 1612 <td colspan="2" class="table-header"> 1613 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1614 <tr valign="top"> 1615 <td align="left"><span class="table-header">Method Details</span></td> 1616 <td align="right" valign="top" 1617 ><span class="options">[<a href="#section-MethodDetails" 1618 class="privatelink" onclick="toggle_private();" 1619 >hide private</a>]</span></td> 1620 </tr> 1621 </table> 1622 </td> 1623 </tr> 1624 </table> 1625 <a name="__setattr__"></a> 1626 <div> 1627 <table class="details" border="1" cellpadding="3" 1628 cellspacing="0" width="100%" bgcolor="white"> 1629 <tr><td> 1630 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1631 <tr valign="top"><td> 1632 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 1633 <span class="sig-arg">name</span>, 1634 <span class="sig-arg">value</span>)</span> 1635 </h3> 1636 </td><td align="right" valign="top" 1637 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.__setattr__">source code</a></span> 1638 </td> 1639 </tr></table> 1640 1641 <p>x.__setattr__('name', value) <==> x.name = value</p> 1642 <dl class="fields"> 1643 <dt>Overrides: 1644 object.__setattr__ 1645 <dd><em class="note">(inherited documentation)</em></dd> 1646 </dt> 1647 </dl> 1648 </td></tr></table> 1649 </div> 1650 <a name="__repr__"></a> 1651 <div> 1652 <table class="details" border="1" cellpadding="3" 1653 cellspacing="0" width="100%" bgcolor="white"> 1654 <tr><td> 1655 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1656 <tr valign="top"><td> 1657 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 1658 <br /><em class="fname">(Representation operator)</em> 1659 </h3> 1660 </td><td align="right" valign="top" 1661 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 1662 </td> 1663 </tr></table> 1664 1665 <p>repr(x)</p> 1666 <dl class="fields"> 1667 <dt>Overrides: 1668 object.__repr__ 1669 <dd><em class="note">(inherited documentation)</em></dd> 1670 </dt> 1671 </dl> 1672 </td></tr></table> 1673 </div> 1674 <a name="__init__"></a> 1675 <div> 1676 <table class="details" border="1" cellpadding="3" 1677 cellspacing="0" width="100%" bgcolor="white"> 1678 <tr><td> 1679 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1680 <tr valign="top"><td> 1681 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 1682 <span class="sig-arg">*args</span>)</span> 1683 <br /><em class="fname">(Constructor)</em> 1684 </h3> 1685 </td><td align="right" valign="top" 1686 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.__init__">source code</a></span> 1687 </td> 1688 </tr></table> 1689 1690 <p>__init__(lldb::SBProcess self) -> SBProcess 1691 __init__(lldb::SBProcess self, SBProcess rhs) -> SBProcess</p> 1692 <dl class="fields"> 1693 <dt>Overrides: 1694 object.__init__ 1695 </dt> 1696 </dl> 1697 </td></tr></table> 1698 </div> 1699 <a name="PutSTDIN"></a> 1700 <div> 1701 <table class="details" border="1" cellpadding="3" 1702 cellspacing="0" width="100%" bgcolor="white"> 1703 <tr><td> 1704 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1705 <tr valign="top"><td> 1706 <h3 class="epydoc"><span class="sig"><span class="sig-name">PutSTDIN</span>(<span class="sig-arg">self</span>, 1707 <span class="sig-arg">*args</span>)</span> 1708 </h3> 1709 </td><td align="right" valign="top" 1710 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.PutSTDIN">source code</a></span> 1711 </td> 1712 </tr></table> 1713 1714 <p>Writes data into the current process's stdin. API client specifies a 1715 Python string as the only argument.</p> 1716 <dl class="fields"> 1717 </dl> 1718 </td></tr></table> 1719 </div> 1720 <a name="GetSTDOUT"></a> 1721 <div> 1722 <table class="details" border="1" cellpadding="3" 1723 cellspacing="0" width="100%" bgcolor="white"> 1724 <tr><td> 1725 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1726 <tr valign="top"><td> 1727 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetSTDOUT</span>(<span class="sig-arg">self</span>, 1728 <span class="sig-arg">*args</span>)</span> 1729 </h3> 1730 </td><td align="right" valign="top" 1731 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetSTDOUT">source code</a></span> 1732 </td> 1733 </tr></table> 1734 1735 <p>Reads data from the current process's stdout stream. API client 1736 specifies the size of the buffer to read data into. It returns the byte 1737 buffer in a Python string.</p> 1738 <dl class="fields"> 1739 </dl> 1740 </td></tr></table> 1741 </div> 1742 <a name="GetSTDERR"></a> 1743 <div> 1744 <table class="details" border="1" cellpadding="3" 1745 cellspacing="0" width="100%" bgcolor="white"> 1746 <tr><td> 1747 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1748 <tr valign="top"><td> 1749 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetSTDERR</span>(<span class="sig-arg">self</span>, 1750 <span class="sig-arg">*args</span>)</span> 1751 </h3> 1752 </td><td align="right" valign="top" 1753 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetSTDERR">source code</a></span> 1754 </td> 1755 </tr></table> 1756 1757 <p>Reads data from the current process's stderr stream. API client 1758 specifies the size of the buffer to read data into. It returns the byte 1759 buffer in a Python string.</p> 1760 <dl class="fields"> 1761 </dl> 1762 </td></tr></table> 1763 </div> 1764 <a name="RemoteAttachToProcessWithID"></a> 1765 <div> 1766 <table class="details" border="1" cellpadding="3" 1767 cellspacing="0" width="100%" bgcolor="white"> 1768 <tr><td> 1769 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1770 <tr valign="top"><td> 1771 <h3 class="epydoc"><span class="sig"><span class="sig-name">RemoteAttachToProcessWithID</span>(<span class="sig-arg">self</span>, 1772 <span class="sig-arg">*args</span>)</span> 1773 </h3> 1774 </td><td align="right" valign="top" 1775 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.RemoteAttachToProcessWithID">source code</a></span> 1776 </td> 1777 </tr></table> 1778 1779 <p>RemoteAttachToProcessWithID(SBProcess self, lldb::pid_t pid, SBError 1780 error) -> bool</p> 1781 <p>Remote connection related functions. These will fail if the process is 1782 not in eStateConnected. They are intended for use when connecting to an 1783 externally managed debugserver instance.</p> 1784 <dl class="fields"> 1785 </dl> 1786 </td></tr></table> 1787 </div> 1788 <a name="RemoteLaunch"></a> 1789 <div> 1790 <table class="details" border="1" cellpadding="3" 1791 cellspacing="0" width="100%" bgcolor="white"> 1792 <tr><td> 1793 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1794 <tr valign="top"><td> 1795 <h3 class="epydoc"><span class="sig"><span class="sig-name">RemoteLaunch</span>(<span class="sig-arg">self</span>, 1796 <span class="sig-arg">*args</span>)</span> 1797 </h3> 1798 </td><td align="right" valign="top" 1799 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.RemoteLaunch">source code</a></span> 1800 </td> 1801 </tr></table> 1802 1803 <pre class="literalblock"> 1804 1805 RemoteLaunch(SBProcess self, str const ** argv, str const ** envp, str const * stdin_path, str const * stdout_path, 1806 str const * stderr_path, str const * working_directory, uint32_t launch_flags, 1807 bool stop_at_entry, SBError error) -> bool 1808 1809 See SBTarget.Launch for argument description and usage. 1810 1811 </pre> 1812 <dl class="fields"> 1813 </dl> 1814 </td></tr></table> 1815 </div> 1816 <a name="GetThreadAtIndex"></a> 1817 <div> 1818 <table class="details" border="1" cellpadding="3" 1819 cellspacing="0" width="100%" bgcolor="white"> 1820 <tr><td> 1821 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1822 <tr valign="top"><td> 1823 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetThreadAtIndex</span>(<span class="sig-arg">self</span>, 1824 <span class="sig-arg">*args</span>)</span> 1825 </h3> 1826 </td><td align="right" valign="top" 1827 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetThreadAtIndex">source code</a></span> 1828 </td> 1829 </tr></table> 1830 1831 <p>Returns the INDEX'th thread from the list of current threads. The 1832 index of a thread is only valid for the current stop. For a persistent 1833 thread identifier use either the thread ID or the IndexID. See help on 1834 SBThread for more details.</p> 1835 <dl class="fields"> 1836 </dl> 1837 </td></tr></table> 1838 </div> 1839 <a name="GetUniqueID"></a> 1840 <div> 1841 <table class="details" border="1" cellpadding="3" 1842 cellspacing="0" width="100%" bgcolor="white"> 1843 <tr><td> 1844 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1845 <tr valign="top"><td> 1846 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetUniqueID</span>(<span class="sig-arg">self</span>)</span> 1847 </h3> 1848 </td><td align="right" valign="top" 1849 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetUniqueID">source code</a></span> 1850 </td> 1851 </tr></table> 1852 1853 <p>Returns an integer ID that is guaranteed to be unique across all 1854 process instances. This is not the process ID, just a unique integer for 1855 comparison and caching purposes.</p> 1856 <dl class="fields"> 1857 </dl> 1858 </td></tr></table> 1859 </div> 1860 <a name="Destroy"></a> 1861 <div> 1862 <table class="details" border="1" cellpadding="3" 1863 cellspacing="0" width="100%" bgcolor="white"> 1864 <tr><td> 1865 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1866 <tr valign="top"><td> 1867 <h3 class="epydoc"><span class="sig"><span class="sig-name">Destroy</span>(<span class="sig-arg">self</span>)</span> 1868 </h3> 1869 </td><td align="right" valign="top" 1870 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.Destroy">source code</a></span> 1871 </td> 1872 </tr></table> 1873 1874 <p>Destroy(SBProcess self) -> SBError</p> 1875 <p>Kills the process and shuts down all threads that were spawned to 1876 track and monitor process.</p> 1877 <dl class="fields"> 1878 </dl> 1879 </td></tr></table> 1880 </div> 1881 <a name="Signal"></a> 1882 <div> 1883 <table class="details" border="1" cellpadding="3" 1884 cellspacing="0" width="100%" bgcolor="white"> 1885 <tr><td> 1886 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1887 <tr valign="top"><td> 1888 <h3 class="epydoc"><span class="sig"><span class="sig-name">Signal</span>(<span class="sig-arg">self</span>, 1889 <span class="sig-arg">*args</span>)</span> 1890 </h3> 1891 </td><td align="right" valign="top" 1892 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.Signal">source code</a></span> 1893 </td> 1894 </tr></table> 1895 1896 <p>Signal(SBProcess self, int signal) -> SBError</p> 1897 <p>Sends the process a unix signal.</p> 1898 <dl class="fields"> 1899 </dl> 1900 </td></tr></table> 1901 </div> 1902 <a name="GetStopID"></a> 1903 <div> 1904 <table class="details" border="1" cellpadding="3" 1905 cellspacing="0" width="100%" bgcolor="white"> 1906 <tr><td> 1907 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1908 <tr valign="top"><td> 1909 <h3 class="epydoc"><span class="sig"><span class="sig-name">GetStopID</span>(<span class="sig-arg">self</span>, 1910 <span class="sig-arg">include_expression_stops</span>=<span class="sig-default">False</span>)</span> 1911 </h3> 1912 </td><td align="right" valign="top" 1913 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.GetStopID">source code</a></span> 1914 </td> 1915 </tr></table> 1916 1917 <p>GetStopID(SBProcess self, bool include_expression_stops=False) -> 1918 uint32_t GetStopID(SBProcess self) -> uint32_t</p> 1919 <p>Returns a stop id that will increase every time the process executes. 1920 If include_expression_stops is true, then stops caused by expression 1921 evaluation will cause the returned value to increase, otherwise the 1922 counter returned will only increase when execution is continued 1923 explicitly by the user. Note, the value will always increase, but may 1924 increase by more than one per stop.</p> 1925 <dl class="fields"> 1926 </dl> 1927 </td></tr></table> 1928 </div> 1929 <a name="ReadMemory"></a> 1930 <div> 1931 <table class="details" border="1" cellpadding="3" 1932 cellspacing="0" width="100%" bgcolor="white"> 1933 <tr><td> 1934 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1935 <tr valign="top"><td> 1936 <h3 class="epydoc"><span class="sig"><span class="sig-name">ReadMemory</span>(<span class="sig-arg">self</span>, 1937 <span class="sig-arg">*args</span>)</span> 1938 </h3> 1939 </td><td align="right" valign="top" 1940 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadMemory">source code</a></span> 1941 </td> 1942 </tr></table> 1943 1944 <p>Reads memory from the current process's address space and removes any 1945 traps that may have been inserted into the memory. It returns the byte 1946 buffer in a Python string. Example:</p> 1947 <p># Read 4 bytes from address 'addr' and assume error.Success() is True. 1948 content = process.ReadMemory(addr, 4, error) # Use 'ascii' encoding as 1949 each byte of 'content' is within [0..255]. new_bytes = bytearray(content, 1950 'ascii')</p> 1951 <dl class="fields"> 1952 </dl> 1953 </td></tr></table> 1954 </div> 1955 <a name="WriteMemory"></a> 1956 <div> 1957 <table class="details" border="1" cellpadding="3" 1958 cellspacing="0" width="100%" bgcolor="white"> 1959 <tr><td> 1960 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1961 <tr valign="top"><td> 1962 <h3 class="epydoc"><span class="sig"><span class="sig-name">WriteMemory</span>(<span class="sig-arg">self</span>, 1963 <span class="sig-arg">*args</span>)</span> 1964 </h3> 1965 </td><td align="right" valign="top" 1966 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.WriteMemory">source code</a></span> 1967 </td> 1968 </tr></table> 1969 1970 <pre class="literalblock"> 1971 1972 Writes memory to the current process's address space and maintains any 1973 traps that might be present due to software breakpoints. Example: 1974 1975 # Create a Python string from the byte array. 1976 new_value = str(bytes) 1977 result = process.WriteMemory(addr, new_value, error) 1978 if not error.Success() or result != len(bytes): 1979 print 'SBProcess.WriteMemory() failed!' 1980 1981 </pre> 1982 <dl class="fields"> 1983 </dl> 1984 </td></tr></table> 1985 </div> 1986 <a name="ReadCStringFromMemory"></a> 1987 <div> 1988 <table class="details" border="1" cellpadding="3" 1989 cellspacing="0" width="100%" bgcolor="white"> 1990 <tr><td> 1991 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1992 <tr valign="top"><td> 1993 <h3 class="epydoc"><span class="sig"><span class="sig-name">ReadCStringFromMemory</span>(<span class="sig-arg">self</span>, 1994 <span class="sig-arg">*args</span>)</span> 1995 </h3> 1996 </td><td align="right" valign="top" 1997 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadCStringFromMemory">source code</a></span> 1998 </td> 1999 </tr></table> 2000 2001 <pre class="literalblock"> 2002 2003 Reads a NULL terminated C string from the current process's address space. 2004 It returns a python string of the exact length, or truncates the string if 2005 the maximum stracter limit is reached. Example: 2006 2007 # Read a C string of at most 256 bytes from address '0x1000' 2008 error = lldb.SBError() 2009 cstring = process.ReadCStringFromMemory(0x1000, 256, error) 2010 if error.Success(): 2011 print 'cstring: ', cstring 2012 else 2013 print 'error: ', error 2014 2015 </pre> 2016 <dl class="fields"> 2017 </dl> 2018 </td></tr></table> 2019 </div> 2020 <a name="ReadUnsignedFromMemory"></a> 2021 <div> 2022 <table class="details" border="1" cellpadding="3" 2023 cellspacing="0" width="100%" bgcolor="white"> 2024 <tr><td> 2025 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 2026 <tr valign="top"><td> 2027 <h3 class="epydoc"><span class="sig"><span class="sig-name">ReadUnsignedFromMemory</span>(<span class="sig-arg">self</span>, 2028 <span class="sig-arg">*args</span>)</span> 2029 </h3> 2030 </td><td align="right" valign="top" 2031 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadUnsignedFromMemory">source code</a></span> 2032 </td> 2033 </tr></table> 2034 2035 <pre class="literalblock"> 2036 2037 Reads an unsigned integer from memory given a byte size and an address. 2038 Returns the unsigned integer that was read. Example: 2039 2040 # Read a 4 byte unsigned integer from address 0x1000 2041 error = lldb.SBError() 2042 uint = ReadUnsignedFromMemory(0x1000, 4, error) 2043 if error.Success(): 2044 print 'integer: %u' % uint 2045 else 2046 print 'error: ', error 2047 2048 </pre> 2049 <dl class="fields"> 2050 </dl> 2051 </td></tr></table> 2052 </div> 2053 <a name="ReadPointerFromMemory"></a> 2054 <div> 2055 <table class="details" border="1" cellpadding="3" 2056 cellspacing="0" width="100%" bgcolor="white"> 2057 <tr><td> 2058 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 2059 <tr valign="top"><td> 2060 <h3 class="epydoc"><span class="sig"><span class="sig-name">ReadPointerFromMemory</span>(<span class="sig-arg">self</span>, 2061 <span class="sig-arg">*args</span>)</span> 2062 </h3> 2063 </td><td align="right" valign="top" 2064 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.ReadPointerFromMemory">source code</a></span> 2065 </td> 2066 </tr></table> 2067 2068 <pre class="literalblock"> 2069 2070 Reads a pointer from memory from an address and returns the value. Example: 2071 2072 # Read a pointer from address 0x1000 2073 error = lldb.SBError() 2074 ptr = ReadPointerFromMemory(0x1000, error) 2075 if error.Success(): 2076 print 'pointer: 0x%x' % ptr 2077 else 2078 print 'error: ', error 2079 2080 </pre> 2081 <dl class="fields"> 2082 </dl> 2083 </td></tr></table> 2084 </div> 2085 <a name="__str__"></a> 2086 <div> 2087 <table class="details" border="1" cellpadding="3" 2088 cellspacing="0" width="100%" bgcolor="white"> 2089 <tr><td> 2090 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 2091 <tr valign="top"><td> 2092 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 2093 <br /><em class="fname">(Informal representation operator)</em> 2094 </h3> 2095 </td><td align="right" valign="top" 2096 ><span class="codelink"><a href="lldb-pysrc.html#SBProcess.__str__">source code</a></span> 2097 </td> 2098 </tr></table> 2099 2100 <p>__str__(SBProcess self) -> PyObject *</p> 2101 <dl class="fields"> 2102 <dt>Overrides: 2103 object.__str__ 2104 </dt> 2105 </dl> 2106 </td></tr></table> 2107 </div> 2108 <br /> 2109 <!-- ==================== PROPERTY DETAILS ==================== --> 2110 <a name="section-PropertyDetails"></a> 2111 <table class="details" border="1" cellpadding="3" 2112 cellspacing="0" width="100%" bgcolor="white"> 2113 <tr bgcolor="#70b0f0" class="table-header"> 2114 <td colspan="2" class="table-header"> 2115 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 2116 <tr valign="top"> 2117 <td align="left"><span class="table-header">Property Details</span></td> 2118 <td align="right" valign="top" 2119 ><span class="options">[<a href="#section-PropertyDetails" 2120 class="privatelink" onclick="toggle_private();" 2121 >hide private</a>]</span></td> 2122 </tr> 2123 </table> 2124 </td> 2125 </tr> 2126 </table> 2127 <a name="broadcaster"></a> 2128 <div> 2129 <table class="details" border="1" cellpadding="3" 2130 cellspacing="0" width="100%" bgcolor="white"> 2131 <tr><td> 2132 <h3 class="epydoc">broadcaster</h3> 2133 <p>A read only property that an lldb object that represents the 2134 broadcaster (lldb.SBBroadcaster) for this process.</p> 2135 <dl class="fields"> 2136 <dt>Get Method:</dt> 2137 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetBroadcaster" class="summary-sig-name">GetBroadcaster</a>(<span class="summary-sig-arg">self</span>)</span> 2138 - GetBroadcaster(SBProcess self) -> SBBroadcaster 2139 </dd> 2140 </dl> 2141 </td></tr></table> 2142 </div> 2143 <a name="exit_description"></a> 2144 <div> 2145 <table class="details" border="1" cellpadding="3" 2146 cellspacing="0" width="100%" bgcolor="white"> 2147 <tr><td> 2148 <h3 class="epydoc">exit_description</h3> 2149 <p>A read only property that returns an exit description as a string of 2150 this process when the process state is lldb.eStateExited.</p> 2151 <dl class="fields"> 2152 <dt>Get Method:</dt> 2153 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetExitDescription" class="summary-sig-name">GetExitDescription</a>(<span class="summary-sig-arg">self</span>)</span> 2154 - GetExitDescription(SBProcess self) -> str const * 2155 </dd> 2156 </dl> 2157 </td></tr></table> 2158 </div> 2159 <a name="exit_state"></a> 2160 <div> 2161 <table class="details" border="1" cellpadding="3" 2162 cellspacing="0" width="100%" bgcolor="white"> 2163 <tr><td> 2164 <h3 class="epydoc">exit_state</h3> 2165 <p>A read only property that returns an exit status as an integer of this 2166 process when the process state is lldb.eStateExited.</p> 2167 <dl class="fields"> 2168 <dt>Get Method:</dt> 2169 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetExitStatus" class="summary-sig-name">GetExitStatus</a>(<span class="summary-sig-arg">self</span>)</span> 2170 - GetExitStatus(SBProcess self) -> int 2171 </dd> 2172 </dl> 2173 </td></tr></table> 2174 </div> 2175 <a name="id"></a> 2176 <div> 2177 <table class="details" border="1" cellpadding="3" 2178 cellspacing="0" width="100%" bgcolor="white"> 2179 <tr><td> 2180 <h3 class="epydoc">id</h3> 2181 <p>A read only property that returns the process ID as an integer.</p> 2182 <dl class="fields"> 2183 <dt>Get Method:</dt> 2184 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetProcessID" class="summary-sig-name">GetProcessID</a>(<span class="summary-sig-arg">self</span>)</span> 2185 - Returns the process ID of the process. 2186 </dd> 2187 </dl> 2188 </td></tr></table> 2189 </div> 2190 <a name="is_alive"></a> 2191 <div> 2192 <table class="details" border="1" cellpadding="3" 2193 cellspacing="0" width="100%" bgcolor="white"> 2194 <tr><td> 2195 <h3 class="epydoc">is_alive</h3> 2196 <p>A read only property that returns a boolean value that indicates if 2197 this process is currently alive.</p> 2198 <dl class="fields"> 2199 <dt>Get Method:</dt> 2200 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#__get_is_alive__" class="summary-sig-name">__get_is_alive__</a>(<span class="summary-sig-arg">self</span>)</span> 2201 - Returns "True" if the process is currently alive, 2202 "False" otherwise 2203 </dd> 2204 </dl> 2205 </td></tr></table> 2206 </div> 2207 <a name="is_running"></a> 2208 <div> 2209 <table class="details" border="1" cellpadding="3" 2210 cellspacing="0" width="100%" bgcolor="white"> 2211 <tr><td> 2212 <h3 class="epydoc">is_running</h3> 2213 <p>A read only property that returns a boolean value that indicates if 2214 this process is currently running.</p> 2215 <dl class="fields"> 2216 <dt>Get Method:</dt> 2217 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#__get_is_running__" class="summary-sig-name">__get_is_running__</a>(<span class="summary-sig-arg">self</span>)</span> 2218 - Returns "True" if the process is currently stopped, 2219 "False" otherwise 2220 </dd> 2221 </dl> 2222 </td></tr></table> 2223 </div> 2224 <a name="is_stopped"></a> 2225 <div> 2226 <table class="details" border="1" cellpadding="3" 2227 cellspacing="0" width="100%" bgcolor="white"> 2228 <tr><td> 2229 <h3 class="epydoc">is_stopped</h3> 2230 <p>A read only property that returns a boolean value that indicates if 2231 this process is currently stopped.</p> 2232 <dl class="fields"> 2233 <dt>Get Method:</dt> 2234 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#__get_is_running__" class="summary-sig-name">__get_is_running__</a>(<span class="summary-sig-arg">self</span>)</span> 2235 - Returns "True" if the process is currently stopped, 2236 "False" otherwise 2237 </dd> 2238 </dl> 2239 </td></tr></table> 2240 </div> 2241 <a name="num_threads"></a> 2242 <div> 2243 <table class="details" border="1" cellpadding="3" 2244 cellspacing="0" width="100%" bgcolor="white"> 2245 <tr><td> 2246 <h3 class="epydoc">num_threads</h3> 2247 <p>A read only property that returns the number of threads in this 2248 process as an integer.</p> 2249 <dl class="fields"> 2250 <dt>Get Method:</dt> 2251 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetNumThreads" class="summary-sig-name">GetNumThreads</a>(<span class="summary-sig-arg">self</span>)</span> 2252 - GetNumThreads(SBProcess self) -> uint32_t 2253 </dd> 2254 </dl> 2255 </td></tr></table> 2256 </div> 2257 <a name="selected_thread"></a> 2258 <div> 2259 <table class="details" border="1" cellpadding="3" 2260 cellspacing="0" width="100%" bgcolor="white"> 2261 <tr><td> 2262 <h3 class="epydoc">selected_thread</h3> 2263 <p>A read/write property that gets/sets the currently selected thread in 2264 this process. The getter returns a lldb.SBThread object and the setter 2265 takes an lldb.SBThread object.</p> 2266 <dl class="fields"> 2267 <dt>Get Method:</dt> 2268 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetSelectedThread" class="summary-sig-name">GetSelectedThread</a>(<span class="summary-sig-arg">self</span>)</span> 2269 - Returns the currently selected thread. 2270 </dd> 2271 <dt>Set Method:</dt> 2272 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#SetSelectedThread" class="summary-sig-name">SetSelectedThread</a>(<span class="summary-sig-arg">self</span>, 2273 <span class="summary-sig-arg">*args</span>)</span> 2274 - SetSelectedThread(SBProcess self, SBThread thread) -> bool 2275 </dd> 2276 </dl> 2277 </td></tr></table> 2278 </div> 2279 <a name="state"></a> 2280 <div> 2281 <table class="details" border="1" cellpadding="3" 2282 cellspacing="0" width="100%" bgcolor="white"> 2283 <tr><td> 2284 <h3 class="epydoc">state</h3> 2285 <p>A read only property that returns an lldb enumeration value (see 2286 enumerations that start with "lldb.eState") that represents the 2287 current state of this process (running, stopped, exited, etc.).</p> 2288 <dl class="fields"> 2289 <dt>Get Method:</dt> 2290 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetState" class="summary-sig-name">GetState</a>(<span class="summary-sig-arg">self</span>)</span> 2291 - GetState(SBProcess self) -> lldb::StateType 2292 </dd> 2293 </dl> 2294 </td></tr></table> 2295 </div> 2296 <a name="target"></a> 2297 <div> 2298 <table class="details" border="1" cellpadding="3" 2299 cellspacing="0" width="100%" bgcolor="white"> 2300 <tr><td> 2301 <h3 class="epydoc">target</h3> 2302 <p>A read only property that an lldb object that represents the target 2303 (lldb.SBTarget) that owns this process.</p> 2304 <dl class="fields"> 2305 <dt>Get Method:</dt> 2306 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#GetTarget" class="summary-sig-name">GetTarget</a>(<span class="summary-sig-arg">self</span>)</span> 2307 - GetTarget(SBProcess self) -> SBTarget 2308 </dd> 2309 </dl> 2310 </td></tr></table> 2311 </div> 2312 <a name="thread"></a> 2313 <div> 2314 <table class="details" border="1" cellpadding="3" 2315 cellspacing="0" width="100%" bgcolor="white"> 2316 <tr><td> 2317 <h3 class="epydoc">thread</h3> 2318 <p>A read only property that returns an object that can access threads by 2319 thread index (thread = lldb.process.thread[12]).</p> 2320 <dl class="fields"> 2321 <dt>Get Method:</dt> 2322 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#get_threads_access_object" class="summary-sig-name">get_threads_access_object</a>(<span class="summary-sig-arg">self</span>)</span> 2323 - An accessor function that returns a modules_access() object which 2324 allows lazy thread access from a lldb.SBProcess object. 2325 </dd> 2326 </dl> 2327 </td></tr></table> 2328 </div> 2329 <a name="threads"></a> 2330 <div> 2331 <table class="details" border="1" cellpadding="3" 2332 cellspacing="0" width="100%" bgcolor="white"> 2333 <tr><td> 2334 <h3 class="epydoc">threads</h3> 2335 <p>A read only property that returns a list() of lldb.SBThread objects 2336 for this process.</p> 2337 <dl class="fields"> 2338 <dt>Get Method:</dt> 2339 <dd class="value"><span class="summary-sig"><a href="lldb.SBProcess-class.html#get_process_thread_list" class="summary-sig-name">get_process_thread_list</a>(<span class="summary-sig-arg">self</span>)</span> 2340 - An accessor function that returns a list() that contains all threads 2341 in a lldb.SBProcess object. 2342 </dd> 2343 </dl> 2344 </td></tr></table> 2345 </div> 2346 <br /> 2347 <!-- ==================== NAVIGATION BAR ==================== --> 2348 <table class="navbar" border="0" width="100%" cellpadding="0" 2349 bgcolor="#a0c0ff" cellspacing="0"> 2350 <tr valign="middle"> 2351 2352 <!-- Tree link --> 2353 <th> <a 2354 href="module-tree.html">Trees</a> </th> 2355 2356 <!-- Index link --> 2357 <th> <a 2358 href="identifier-index.html">Indices</a> </th> 2359 2360 <!-- Help link --> 2361 <th> <a 2362 href="help.html">Help</a> </th> 2363 2364 <!-- Project homepage --> 2365 <th class="navbar" align="right" width="100%"> 2366 <table border="0" cellpadding="0" cellspacing="0"> 2367 <tr><th class="navbar" align="center" 2368 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 2369 </tr></table></th> 2370 </tr> 2371 </table> 2372 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 2373 <tr> 2374 <td align="left" class="footer"> 2375 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 2376 </td> 2377 <td align="right" class="footer"> 2378 <a target="mainFrame" href="http://epydoc.sourceforge.net" 2379 >http://epydoc.sourceforge.net</a> 2380 </td> 2381 </tr> 2382 </table> 2383 2384 <script type="text/javascript"> 2385 <!-- 2386 // Private objects are initially displayed (because if 2387 // javascript is turned off then we want them to be 2388 // visible); but by default, we want to hide them. So hide 2389 // them unless we have a cookie that says to show them. 2390 checkCookie(); 2391 // --> 2392 </script> 2393 </body> 2394 </html> 2395