Home | History | Annotate | Download | only in python_reference
      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.SBFunction</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>&nbsp;&nbsp;&nbsp;<a
     20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
     21 
     22   <!-- Index link -->
     23       <th>&nbsp;&nbsp;&nbsp;<a
     24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
     25 
     26   <!-- Help link -->
     27       <th>&nbsp;&nbsp;&nbsp;<a
     28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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&nbsp;lldb</a> ::
     43         Class&nbsp;SBFunction
     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&nbsp;private</a>]</span></td></tr>
     51         <tr><td align="right"><span class="options"
     52             >[<a href="frames.html" target="_top">frames</a
     53             >]&nbsp;|&nbsp;<a href="lldb.SBFunction-class.html"
     54             target="_top">no&nbsp;frames</a>]</span></td></tr>
     55       </table>
     56     </td>
     57   </tr>
     58 </table>
     59 <!-- ==================== CLASS DESCRIPTION ==================== -->
     60 <h1 class="epydoc">Class SBFunction</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBFunction">source&nbsp;code</a></span></p>
     61 <center>
     62 <center>  <map id="uml_class_diagram_for_lldb_sbf_4" name="uml_class_diagram_for_lldb_sbf_4">
     63 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__swig_setmethods__" title="lldb.SBFunction.__swig_setmethods__" alt="" coords="17,31,197,49"/>
     64 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__swig_getmethods__" title="lldb.SBFunction.__swig_getmethods__" alt="" coords="17,49,197,68"/>
     65 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#addr" title="A read only property that returns an lldb object that represents the start &#160;address (lldb.SBAddress) for this function." alt="" coords="17,68,197,87"/>
     66 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#block" title="A read only property that returns an lldb object that represents the top &#160;level lexical block (lldb.SBBlock) for this function." alt="" coords="17,87,197,105"/>
     67 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#end_addr" title="A read only property that returns an lldb object that represents the end &#160;address (lldb.SBAddress) for this function." alt="" coords="17,105,197,124"/>
     68 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#instructions" title="A read only property that returns an lldb object that represents the &#160;instructions (lldb.SBInstructionList) for this function." alt="" coords="17,124,197,143"/>
     69 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#mangled" title="A read only property that returns the mangled (linkage) name for this &#160;function as a string." alt="" coords="17,143,197,161"/>
     70 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#name" title="A read only property that returns the name for this function as a string." alt="" coords="17,161,197,180"/>
     71 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#prologue_size" title="A read only property that returns the size in bytes of the prologue &#160;instructions as an unsigned integer." alt="" coords="17,180,197,199"/>
     72 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#type" title="A read only property that returns an lldb object that represents the return type (lldb.SBType) for this function." alt="" coords="17,199,197,217"/>
     73 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__setattr__" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,220,197,239"/>
     74 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__getattr__" title="lldb.SBFunction.__getattr__" alt="" coords="17,239,197,257"/>
     75 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__repr__" title="repr(x)" alt="" coords="17,257,197,276"/>
     76 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__init__" title="__init__(lldb::SBFunction self) &#45;&gt; SBFunction __init__(lldb::SBFunction &#160;self, SBFunction rhs) &#45;&gt; SBFunction" alt="" coords="17,276,197,295"/>
     77 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__swig_destroy__" title="delete_SBFunction(SBFunction self)" alt="" coords="17,295,197,313"/>
     78 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__del__" title="lldb.SBFunction.__del__" alt="" coords="17,313,197,332"/>
     79 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__nonzero__" title="lldb.SBFunction.__nonzero__" alt="" coords="17,332,197,351"/>
     80 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#IsValid" title="IsValid(SBFunction self) &#45;&gt; bool" alt="" coords="17,351,197,369"/>
     81 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#GetName" title="GetName(SBFunction self) &#45;&gt; str const *" alt="" coords="17,369,197,388"/>
     82 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#GetMangledName" title="GetMangledName(SBFunction self) &#45;&gt; str const *" alt="" coords="17,388,197,407"/>
     83 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#GetInstructions" title="GetInstructions(SBFunction self, SBTarget target) &#45;&gt; SBInstructionList &#160;GetInstructions(SBFunction self, SBTarget target, str const * flavor) &#45;&gt; &#160;SBInstructionList" alt="" coords="17,407,197,425"/>
     84 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#GetStartAddress" title="GetStartAddress(SBFunction self) &#45;&gt; SBAddress" alt="" coords="17,425,197,444"/>
     85 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#GetEndAddress" title="GetEndAddress(SBFunction self) &#45;&gt; SBAddress" alt="" coords="17,444,197,463"/>
     86 <area shape="rect" id="node20" href="lldb.SBFunction-class.html#__ne__" title="lldb.SBFunction.__ne__" alt="" coords="17,481,197,500"/>
     87 <area shape="rect" id="node1" href="lldb.SBFunction-class.html" title="Represents a generic function, which can be inlined or not." alt="" coords="5,6,208,506"/>
     88 </map>
     89   <img src="uml_class_diagram_for_lldb_sbf_4.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbf_4" ismap="ismap" class="graph-without-title" />
     90 </center>
     91 </center>
     92 <hr />
     93 <pre class="literalblock">
     94 
     95 Represents a generic function, which can be inlined or not.
     96 
     97 For example (from test/lldbutil.py, but slightly modified for doc purpose),
     98 
     99         ...
    100 
    101         frame = thread.GetFrameAtIndex(i)
    102         addr = frame.GetPCAddress()
    103         load_addr = addr.GetLoadAddress(target)
    104         function = frame.GetFunction()
    105         mod_name = frame.GetModule().GetFileSpec().GetFilename()
    106 
    107         if not function:
    108             # No debug info for 'function'.
    109             symbol = frame.GetSymbol()
    110             file_addr = addr.GetFileAddress()
    111             start_addr = symbol.GetStartAddress().GetFileAddress()
    112             symbol_name = symbol.GetName()
    113             symbol_offset = file_addr - start_addr
    114             print &gt;&gt; output, '  frame #{num}: {addr:#016x} {mod}`{symbol} + {offset}'.format(
    115                 num=i, addr=load_addr, mod=mod_name, symbol=symbol_name, offset=symbol_offset)
    116         else:
    117             # Debug info is available for 'function'.
    118             func_name = frame.GetFunctionName()
    119             file_name = frame.GetLineEntry().GetFileSpec().GetFilename()
    120             line_num = frame.GetLineEntry().GetLine()
    121             print &gt;&gt; output, '  frame #{num}: {addr:#016x} {mod}`{func} at {file}:{line} {args}'.format(
    122                 num=i, addr=load_addr, mod=mod_name,
    123                 func='%s [inlined]' % func_name] if frame.IsInlined() else func_name,
    124                 file=file_name, line=line_num, args=get_args_as_string(frame, showFuncName=False))
    125 
    126         ...
    127 
    128 </pre>
    129 
    130 <!-- ==================== INSTANCE METHODS ==================== -->
    131 <a name="section-InstanceMethods"></a>
    132 <table class="summary" border="1" cellpadding="3"
    133        cellspacing="0" width="100%" bgcolor="white">
    134 <tr bgcolor="#70b0f0" class="table-header">
    135   <td colspan="2" class="table-header">
    136     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    137       <tr valign="top">
    138         <td align="left"><span class="table-header">Instance Methods</span></td>
    139         <td align="right" valign="top"
    140          ><span class="options">[<a href="#section-InstanceMethods"
    141          class="privatelink" onclick="toggle_private();"
    142          >hide private</a>]</span></td>
    143       </tr>
    144     </table>
    145   </td>
    146 </tr>
    147 <tr>
    148     <td width="15%" align="right" valign="top" class="summary">
    149       <span class="summary-type">&nbsp;</span>
    150     </td><td class="summary">
    151       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    152         <tr>
    153           <td><span class="summary-sig"><a href="lldb.SBFunction-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>,
    154         <span class="summary-sig-arg">name</span>,
    155         <span class="summary-sig-arg">value</span>)</span><br />
    156       x.__setattr__('name', value) &lt;==&gt; x.name = value</td>
    157           <td align="right" valign="top">
    158             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__setattr__">source&nbsp;code</a></span>
    159             
    160           </td>
    161         </tr>
    162       </table>
    163       
    164     </td>
    165   </tr>
    166 <tr>
    167     <td width="15%" align="right" valign="top" class="summary">
    168       <span class="summary-type">&nbsp;</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 name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
    173         <span class="summary-sig-arg">name</span>)</span></td>
    174           <td align="right" valign="top">
    175             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__getattr__">source&nbsp;code</a></span>
    176             
    177           </td>
    178         </tr>
    179       </table>
    180       
    181     </td>
    182   </tr>
    183 <tr>
    184     <td width="15%" align="right" valign="top" class="summary">
    185       <span class="summary-type">&nbsp;</span>
    186     </td><td class="summary">
    187       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    188         <tr>
    189           <td><span class="summary-sig"><a href="lldb.SBFunction-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
    190       repr(x)</td>
    191           <td align="right" valign="top">
    192             <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>
    193             
    194           </td>
    195         </tr>
    196       </table>
    197       
    198     </td>
    199   </tr>
    200 <tr>
    201     <td width="15%" align="right" valign="top" class="summary">
    202       <span class="summary-type">&nbsp;</span>
    203     </td><td class="summary">
    204       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    205         <tr>
    206           <td><span class="summary-sig"><a href="lldb.SBFunction-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
    207         <span class="summary-sig-arg">*args</span>)</span><br />
    208       __init__(lldb::SBFunction self) -&gt; SBFunction 
    209       __init__(lldb::SBFunction self, SBFunction rhs) -&gt; SBFunction</td>
    210           <td align="right" valign="top">
    211             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__init__">source&nbsp;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">&nbsp;</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="__swig_destroy__"></a><span class="summary-sig-name">__swig_destroy__</span>(<span class="summary-sig-arg">...</span>)</span><br />
    226       delete_SBFunction(SBFunction self)</td>
    227           <td align="right" valign="top">
    228             
    229             
    230           </td>
    231         </tr>
    232       </table>
    233       
    234     </td>
    235   </tr>
    236 <tr>
    237     <td width="15%" align="right" valign="top" class="summary">
    238       <span class="summary-type">&nbsp;</span>
    239     </td><td class="summary">
    240       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    241         <tr>
    242           <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td>
    243           <td align="right" valign="top">
    244             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__del__">source&nbsp;code</a></span>
    245             
    246           </td>
    247         </tr>
    248       </table>
    249       
    250     </td>
    251   </tr>
    252 <tr>
    253     <td width="15%" align="right" valign="top" class="summary">
    254       <span class="summary-type">&nbsp;</span>
    255     </td><td class="summary">
    256       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    257         <tr>
    258           <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>
    259           <td align="right" valign="top">
    260             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__nonzero__">source&nbsp;code</a></span>
    261             
    262           </td>
    263         </tr>
    264       </table>
    265       
    266     </td>
    267   </tr>
    268 <tr>
    269     <td width="15%" align="right" valign="top" class="summary">
    270       <span class="summary-type">&nbsp;</span>
    271     </td><td class="summary">
    272       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    273         <tr>
    274           <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 />
    275       IsValid(SBFunction self) -&gt; bool</td>
    276           <td align="right" valign="top">
    277             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.IsValid">source&nbsp;code</a></span>
    278             
    279           </td>
    280         </tr>
    281       </table>
    282       
    283     </td>
    284   </tr>
    285 <tr>
    286     <td width="15%" align="right" valign="top" class="summary">
    287       <span class="summary-type">&nbsp;</span>
    288     </td><td class="summary">
    289       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    290         <tr>
    291           <td><span class="summary-sig"><a name="GetName"></a><span class="summary-sig-name">GetName</span>(<span class="summary-sig-arg">self</span>)</span><br />
    292       GetName(SBFunction self) -&gt; str const *</td>
    293           <td align="right" valign="top">
    294             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetName">source&nbsp;code</a></span>
    295             
    296           </td>
    297         </tr>
    298       </table>
    299       
    300     </td>
    301   </tr>
    302 <tr>
    303     <td width="15%" align="right" valign="top" class="summary">
    304       <span class="summary-type">&nbsp;</span>
    305     </td><td class="summary">
    306       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    307         <tr>
    308           <td><span class="summary-sig"><a name="GetMangledName"></a><span class="summary-sig-name">GetMangledName</span>(<span class="summary-sig-arg">self</span>)</span><br />
    309       GetMangledName(SBFunction self) -&gt; str const *</td>
    310           <td align="right" valign="top">
    311             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetMangledName">source&nbsp;code</a></span>
    312             
    313           </td>
    314         </tr>
    315       </table>
    316       
    317     </td>
    318   </tr>
    319 <tr>
    320     <td width="15%" align="right" valign="top" class="summary">
    321       <span class="summary-type">&nbsp;</span>
    322     </td><td class="summary">
    323       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    324         <tr>
    325           <td><span class="summary-sig"><a name="GetInstructions"></a><span class="summary-sig-name">GetInstructions</span>(<span class="summary-sig-arg">self</span>,
    326         <span class="summary-sig-arg">*args</span>)</span><br />
    327       GetInstructions(SBFunction self, SBTarget target) -&gt; 
    328       SBInstructionList GetInstructions(SBFunction self, SBTarget target, 
    329       str const * flavor) -&gt; SBInstructionList</td>
    330           <td align="right" valign="top">
    331             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetInstructions">source&nbsp;code</a></span>
    332             
    333           </td>
    334         </tr>
    335       </table>
    336       
    337     </td>
    338   </tr>
    339 <tr>
    340     <td width="15%" align="right" valign="top" class="summary">
    341       <span class="summary-type">&nbsp;</span>
    342     </td><td class="summary">
    343       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    344         <tr>
    345           <td><span class="summary-sig"><a name="GetStartAddress"></a><span class="summary-sig-name">GetStartAddress</span>(<span class="summary-sig-arg">self</span>)</span><br />
    346       GetStartAddress(SBFunction self) -&gt; SBAddress</td>
    347           <td align="right" valign="top">
    348             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetStartAddress">source&nbsp;code</a></span>
    349             
    350           </td>
    351         </tr>
    352       </table>
    353       
    354     </td>
    355   </tr>
    356 <tr>
    357     <td width="15%" align="right" valign="top" class="summary">
    358       <span class="summary-type">&nbsp;</span>
    359     </td><td class="summary">
    360       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    361         <tr>
    362           <td><span class="summary-sig"><a name="GetEndAddress"></a><span class="summary-sig-name">GetEndAddress</span>(<span class="summary-sig-arg">self</span>)</span><br />
    363       GetEndAddress(SBFunction self) -&gt; SBAddress</td>
    364           <td align="right" valign="top">
    365             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetEndAddress">source&nbsp;code</a></span>
    366             
    367           </td>
    368         </tr>
    369       </table>
    370       
    371     </td>
    372   </tr>
    373 <tr>
    374     <td width="15%" align="right" valign="top" class="summary">
    375       <span class="summary-type">&nbsp;</span>
    376     </td><td class="summary">
    377       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    378         <tr>
    379           <td><span class="summary-sig"><a name="GetPrologueByteSize"></a><span class="summary-sig-name">GetPrologueByteSize</span>(<span class="summary-sig-arg">self</span>)</span><br />
    380       GetPrologueByteSize(SBFunction self) -&gt; uint32_t</td>
    381           <td align="right" valign="top">
    382             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetPrologueByteSize">source&nbsp;code</a></span>
    383             
    384           </td>
    385         </tr>
    386       </table>
    387       
    388     </td>
    389   </tr>
    390 <tr>
    391     <td width="15%" align="right" valign="top" class="summary">
    392       <span class="summary-type">&nbsp;</span>
    393     </td><td class="summary">
    394       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    395         <tr>
    396           <td><span class="summary-sig"><a name="GetType"></a><span class="summary-sig-name">GetType</span>(<span class="summary-sig-arg">self</span>)</span><br />
    397       GetType(SBFunction self) -&gt; SBType</td>
    398           <td align="right" valign="top">
    399             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetType">source&nbsp;code</a></span>
    400             
    401           </td>
    402         </tr>
    403       </table>
    404       
    405     </td>
    406   </tr>
    407 <tr>
    408     <td width="15%" align="right" valign="top" class="summary">
    409       <span class="summary-type">&nbsp;</span>
    410     </td><td class="summary">
    411       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    412         <tr>
    413           <td><span class="summary-sig"><a name="GetBlock"></a><span class="summary-sig-name">GetBlock</span>(<span class="summary-sig-arg">self</span>)</span><br />
    414       GetBlock(SBFunction self) -&gt; SBBlock</td>
    415           <td align="right" valign="top">
    416             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetBlock">source&nbsp;code</a></span>
    417             
    418           </td>
    419         </tr>
    420       </table>
    421       
    422     </td>
    423   </tr>
    424 <tr>
    425     <td width="15%" align="right" valign="top" class="summary">
    426       <span class="summary-type">&nbsp;</span>
    427     </td><td class="summary">
    428       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    429         <tr>
    430           <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>,
    431         <span class="summary-sig-arg">*args</span>)</span><br />
    432       GetDescription(SBFunction self, SBStream description) -&gt; bool</td>
    433           <td align="right" valign="top">
    434             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.GetDescription">source&nbsp;code</a></span>
    435             
    436           </td>
    437         </tr>
    438       </table>
    439       
    440     </td>
    441   </tr>
    442 <tr>
    443     <td width="15%" align="right" valign="top" class="summary">
    444       <span class="summary-type">&nbsp;</span>
    445     </td><td class="summary">
    446       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    447         <tr>
    448           <td><span class="summary-sig"><a name="get_instructions_from_current_target"></a><span class="summary-sig-name">get_instructions_from_current_target</span>(<span class="summary-sig-arg">self</span>)</span></td>
    449           <td align="right" valign="top">
    450             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.get_instructions_from_current_target">source&nbsp;code</a></span>
    451             
    452           </td>
    453         </tr>
    454       </table>
    455       
    456     </td>
    457   </tr>
    458 <tr>
    459     <td width="15%" align="right" valign="top" class="summary">
    460       <span class="summary-type">&nbsp;</span>
    461     </td><td class="summary">
    462       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    463         <tr>
    464           <td><span class="summary-sig"><a href="lldb.SBFunction-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
    465       __str__(SBFunction self) -&gt; PyObject *</td>
    466           <td align="right" valign="top">
    467             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__str__">source&nbsp;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">&nbsp;</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="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>,
    482         <span class="summary-sig-arg">rhs</span>)</span></td>
    483           <td align="right" valign="top">
    484             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__eq__">source&nbsp;code</a></span>
    485             
    486           </td>
    487         </tr>
    488       </table>
    489       
    490     </td>
    491   </tr>
    492 <tr>
    493     <td width="15%" align="right" valign="top" class="summary">
    494       <span class="summary-type">&nbsp;</span>
    495     </td><td class="summary">
    496       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    497         <tr>
    498           <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>,
    499         <span class="summary-sig-arg">rhs</span>)</span></td>
    500           <td align="right" valign="top">
    501             <span class="codelink"><a href="lldb-pysrc.html#SBFunction.__ne__">source&nbsp;code</a></span>
    502             
    503           </td>
    504         </tr>
    505       </table>
    506       
    507     </td>
    508   </tr>
    509   <tr>
    510     <td colspan="2" class="summary">
    511     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    512       <code>__delattr__</code>,
    513       <code>__format__</code>,
    514       <code>__getattribute__</code>,
    515       <code>__hash__</code>,
    516       <code>__new__</code>,
    517       <code>__reduce__</code>,
    518       <code>__reduce_ex__</code>,
    519       <code>__sizeof__</code>,
    520       <code>__subclasshook__</code>
    521       </p>
    522     </td>
    523   </tr>
    524 </table>
    525 <!-- ==================== CLASS VARIABLES ==================== -->
    526 <a name="section-ClassVariables"></a>
    527 <table class="summary" border="1" cellpadding="3"
    528        cellspacing="0" width="100%" bgcolor="white">
    529 <tr bgcolor="#70b0f0" class="table-header">
    530   <td colspan="2" class="table-header">
    531     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    532       <tr valign="top">
    533         <td align="left"><span class="table-header">Class Variables</span></td>
    534         <td align="right" valign="top"
    535          ><span class="options">[<a href="#section-ClassVariables"
    536          class="privatelink" onclick="toggle_private();"
    537          >hide private</a>]</span></td>
    538       </tr>
    539     </table>
    540   </td>
    541 </tr>
    542 <tr>
    543     <td width="15%" align="right" valign="top" class="summary">
    544       <span class="summary-type">&nbsp;</span>
    545     </td><td class="summary">
    546         <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code>
    547     </td>
    548   </tr>
    549 <tr>
    550     <td width="15%" align="right" valign="top" class="summary">
    551       <span class="summary-type">&nbsp;</span>
    552     </td><td class="summary">
    553         <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code>
    554     </td>
    555   </tr>
    556 </table>
    557 <!-- ==================== PROPERTIES ==================== -->
    558 <a name="section-Properties"></a>
    559 <table class="summary" border="1" cellpadding="3"
    560        cellspacing="0" width="100%" bgcolor="white">
    561 <tr bgcolor="#70b0f0" class="table-header">
    562   <td colspan="2" class="table-header">
    563     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    564       <tr valign="top">
    565         <td align="left"><span class="table-header">Properties</span></td>
    566         <td align="right" valign="top"
    567          ><span class="options">[<a href="#section-Properties"
    568          class="privatelink" onclick="toggle_private();"
    569          >hide private</a>]</span></td>
    570       </tr>
    571     </table>
    572   </td>
    573 </tr>
    574 <tr>
    575     <td width="15%" align="right" valign="top" class="summary">
    576       <span class="summary-type">&nbsp;</span>
    577     </td><td class="summary">
    578         <a href="lldb.SBFunction-class.html#addr" class="summary-name">addr</a><br />
    579       A read only property that returns an lldb object that represents the 
    580       start address (lldb.SBAddress) for this function.
    581     </td>
    582   </tr>
    583 <tr>
    584     <td width="15%" align="right" valign="top" class="summary">
    585       <span class="summary-type">&nbsp;</span>
    586     </td><td class="summary">
    587         <a href="lldb.SBFunction-class.html#block" class="summary-name">block</a><br />
    588       A read only property that returns an lldb object that represents the 
    589       top level lexical block (lldb.SBBlock) for this function.
    590     </td>
    591   </tr>
    592 <tr>
    593     <td width="15%" align="right" valign="top" class="summary">
    594       <span class="summary-type">&nbsp;</span>
    595     </td><td class="summary">
    596         <a href="lldb.SBFunction-class.html#end_addr" class="summary-name">end_addr</a><br />
    597       A read only property that returns an lldb object that represents the 
    598       end address (lldb.SBAddress) for this function.
    599     </td>
    600   </tr>
    601 <tr>
    602     <td width="15%" align="right" valign="top" class="summary">
    603       <span class="summary-type">&nbsp;</span>
    604     </td><td class="summary">
    605         <a href="lldb.SBFunction-class.html#instructions" class="summary-name">instructions</a><br />
    606       A read only property that returns an lldb object that represents the 
    607       instructions (lldb.SBInstructionList) for this function.
    608     </td>
    609   </tr>
    610 <tr>
    611     <td width="15%" align="right" valign="top" class="summary">
    612       <span class="summary-type">&nbsp;</span>
    613     </td><td class="summary">
    614         <a href="lldb.SBFunction-class.html#mangled" class="summary-name">mangled</a><br />
    615       A read only property that returns the mangled (linkage) name for this
    616       function as a string.
    617     </td>
    618   </tr>
    619 <tr>
    620     <td width="15%" align="right" valign="top" class="summary">
    621       <span class="summary-type">&nbsp;</span>
    622     </td><td class="summary">
    623         <a href="lldb.SBFunction-class.html#name" class="summary-name">name</a><br />
    624       A read only property that returns the name for this function as a 
    625       string.
    626     </td>
    627   </tr>
    628 <tr>
    629     <td width="15%" align="right" valign="top" class="summary">
    630       <span class="summary-type">&nbsp;</span>
    631     </td><td class="summary">
    632         <a href="lldb.SBFunction-class.html#prologue_size" class="summary-name">prologue_size</a><br />
    633       A read only property that returns the size in bytes of the prologue 
    634       instructions as an unsigned integer.
    635     </td>
    636   </tr>
    637 <tr>
    638     <td width="15%" align="right" valign="top" class="summary">
    639       <span class="summary-type">&nbsp;</span>
    640     </td><td class="summary">
    641         <a href="lldb.SBFunction-class.html#type" class="summary-name">type</a><br />
    642       A read only property that returns an lldb object that represents the 
    643       return type (lldb.SBType) for this function.
    644     </td>
    645   </tr>
    646   <tr>
    647     <td colspan="2" class="summary">
    648     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    649       <code>__class__</code>
    650       </p>
    651     </td>
    652   </tr>
    653 </table>
    654 <!-- ==================== METHOD DETAILS ==================== -->
    655 <a name="section-MethodDetails"></a>
    656 <table class="details" border="1" cellpadding="3"
    657        cellspacing="0" width="100%" bgcolor="white">
    658 <tr bgcolor="#70b0f0" class="table-header">
    659   <td colspan="2" class="table-header">
    660     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    661       <tr valign="top">
    662         <td align="left"><span class="table-header">Method Details</span></td>
    663         <td align="right" valign="top"
    664          ><span class="options">[<a href="#section-MethodDetails"
    665          class="privatelink" onclick="toggle_private();"
    666          >hide private</a>]</span></td>
    667       </tr>
    668     </table>
    669   </td>
    670 </tr>
    671 </table>
    672 <a name="__setattr__"></a>
    673 <div>
    674 <table class="details" border="1" cellpadding="3"
    675        cellspacing="0" width="100%" bgcolor="white">
    676 <tr><td>
    677   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    678   <tr valign="top"><td>
    679   <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
    680         <span class="sig-arg">name</span>,
    681         <span class="sig-arg">value</span>)</span>
    682   </h3>
    683   </td><td align="right" valign="top"
    684     ><span class="codelink"><a href="lldb-pysrc.html#SBFunction.__setattr__">source&nbsp;code</a></span>&nbsp;
    685     </td>
    686   </tr></table>
    687   
    688   <p>x.__setattr__('name', value) &lt;==&gt; x.name = value</p>
    689   <dl class="fields">
    690     <dt>Overrides:
    691         object.__setattr__
    692         <dd><em class="note">(inherited documentation)</em></dd>
    693     </dt>
    694   </dl>
    695 </td></tr></table>
    696 </div>
    697 <a name="__repr__"></a>
    698 <div>
    699 <table class="details" border="1" cellpadding="3"
    700        cellspacing="0" width="100%" bgcolor="white">
    701 <tr><td>
    702   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    703   <tr valign="top"><td>
    704   <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
    705     <br /><em class="fname">(Representation operator)</em>
    706   </h3>
    707   </td><td align="right" valign="top"
    708     ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>&nbsp;
    709     </td>
    710   </tr></table>
    711   
    712   <p>repr(x)</p>
    713   <dl class="fields">
    714     <dt>Overrides:
    715         object.__repr__
    716         <dd><em class="note">(inherited documentation)</em></dd>
    717     </dt>
    718   </dl>
    719 </td></tr></table>
    720 </div>
    721 <a name="__init__"></a>
    722 <div>
    723 <table class="details" border="1" cellpadding="3"
    724        cellspacing="0" width="100%" bgcolor="white">
    725 <tr><td>
    726   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    727   <tr valign="top"><td>
    728   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
    729         <span class="sig-arg">*args</span>)</span>
    730     <br /><em class="fname">(Constructor)</em>
    731   </h3>
    732   </td><td align="right" valign="top"
    733     ><span class="codelink"><a href="lldb-pysrc.html#SBFunction.__init__">source&nbsp;code</a></span>&nbsp;
    734     </td>
    735   </tr></table>
    736   
    737   <p>__init__(lldb::SBFunction self) -&gt; SBFunction 
    738   __init__(lldb::SBFunction self, SBFunction rhs) -&gt; SBFunction</p>
    739   <dl class="fields">
    740     <dt>Overrides:
    741         object.__init__
    742     </dt>
    743   </dl>
    744 </td></tr></table>
    745 </div>
    746 <a name="__str__"></a>
    747 <div>
    748 <table class="details" border="1" cellpadding="3"
    749        cellspacing="0" width="100%" bgcolor="white">
    750 <tr><td>
    751   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    752   <tr valign="top"><td>
    753   <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
    754     <br /><em class="fname">(Informal representation operator)</em>
    755   </h3>
    756   </td><td align="right" valign="top"
    757     ><span class="codelink"><a href="lldb-pysrc.html#SBFunction.__str__">source&nbsp;code</a></span>&nbsp;
    758     </td>
    759   </tr></table>
    760   
    761   <p>__str__(SBFunction self) -&gt; PyObject *</p>
    762   <dl class="fields">
    763     <dt>Overrides:
    764         object.__str__
    765     </dt>
    766   </dl>
    767 </td></tr></table>
    768 </div>
    769 <br />
    770 <!-- ==================== PROPERTY DETAILS ==================== -->
    771 <a name="section-PropertyDetails"></a>
    772 <table class="details" border="1" cellpadding="3"
    773        cellspacing="0" width="100%" bgcolor="white">
    774 <tr bgcolor="#70b0f0" class="table-header">
    775   <td colspan="2" class="table-header">
    776     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    777       <tr valign="top">
    778         <td align="left"><span class="table-header">Property Details</span></td>
    779         <td align="right" valign="top"
    780          ><span class="options">[<a href="#section-PropertyDetails"
    781          class="privatelink" onclick="toggle_private();"
    782          >hide private</a>]</span></td>
    783       </tr>
    784     </table>
    785   </td>
    786 </tr>
    787 </table>
    788 <a name="addr"></a>
    789 <div>
    790 <table class="details" border="1" cellpadding="3"
    791        cellspacing="0" width="100%" bgcolor="white">
    792 <tr><td>
    793   <h3 class="epydoc">addr</h3>
    794   <p>A read only property that returns an lldb object that represents the 
    795   start address (lldb.SBAddress) for this function.</p>
    796   <dl class="fields">
    797     <dt>Get Method:</dt>
    798     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetStartAddress" class="summary-sig-name">GetStartAddress</a>(<span class="summary-sig-arg">self</span>)</span>
    799         - GetStartAddress(SBFunction self) -&gt; SBAddress
    800     </dd>
    801   </dl>
    802 </td></tr></table>
    803 </div>
    804 <a name="block"></a>
    805 <div>
    806 <table class="details" border="1" cellpadding="3"
    807        cellspacing="0" width="100%" bgcolor="white">
    808 <tr><td>
    809   <h3 class="epydoc">block</h3>
    810   <p>A read only property that returns an lldb object that represents the 
    811   top level lexical block (lldb.SBBlock) for this function.</p>
    812   <dl class="fields">
    813     <dt>Get Method:</dt>
    814     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetBlock" class="summary-sig-name">GetBlock</a>(<span class="summary-sig-arg">self</span>)</span>
    815         - GetBlock(SBFunction self) -&gt; SBBlock
    816     </dd>
    817   </dl>
    818 </td></tr></table>
    819 </div>
    820 <a name="end_addr"></a>
    821 <div>
    822 <table class="details" border="1" cellpadding="3"
    823        cellspacing="0" width="100%" bgcolor="white">
    824 <tr><td>
    825   <h3 class="epydoc">end_addr</h3>
    826   <p>A read only property that returns an lldb object that represents the 
    827   end address (lldb.SBAddress) for this function.</p>
    828   <dl class="fields">
    829     <dt>Get Method:</dt>
    830     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetEndAddress" class="summary-sig-name">GetEndAddress</a>(<span class="summary-sig-arg">self</span>)</span>
    831         - GetEndAddress(SBFunction self) -&gt; SBAddress
    832     </dd>
    833   </dl>
    834 </td></tr></table>
    835 </div>
    836 <a name="instructions"></a>
    837 <div>
    838 <table class="details" border="1" cellpadding="3"
    839        cellspacing="0" width="100%" bgcolor="white">
    840 <tr><td>
    841   <h3 class="epydoc">instructions</h3>
    842   <p>A read only property that returns an lldb object that represents the 
    843   instructions (lldb.SBInstructionList) for this function.</p>
    844   <dl class="fields">
    845     <dt>Get Method:</dt>
    846     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#get_instructions_from_current_target" class="summary-sig-name">get_instructions_from_current_target</a>(<span class="summary-sig-arg">self</span>)</span>
    847     </dd>
    848   </dl>
    849 </td></tr></table>
    850 </div>
    851 <a name="mangled"></a>
    852 <div>
    853 <table class="details" border="1" cellpadding="3"
    854        cellspacing="0" width="100%" bgcolor="white">
    855 <tr><td>
    856   <h3 class="epydoc">mangled</h3>
    857   <p>A read only property that returns the mangled (linkage) name for this 
    858   function as a string.</p>
    859   <dl class="fields">
    860     <dt>Get Method:</dt>
    861     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetMangledName" class="summary-sig-name">GetMangledName</a>(<span class="summary-sig-arg">self</span>)</span>
    862         - GetMangledName(SBFunction self) -&gt; str const *
    863     </dd>
    864   </dl>
    865 </td></tr></table>
    866 </div>
    867 <a name="name"></a>
    868 <div>
    869 <table class="details" border="1" cellpadding="3"
    870        cellspacing="0" width="100%" bgcolor="white">
    871 <tr><td>
    872   <h3 class="epydoc">name</h3>
    873   <p>A read only property that returns the name for this function as a 
    874   string.</p>
    875   <dl class="fields">
    876     <dt>Get Method:</dt>
    877     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetName" class="summary-sig-name">GetName</a>(<span class="summary-sig-arg">self</span>)</span>
    878         - GetName(SBFunction self) -&gt; str const *
    879     </dd>
    880   </dl>
    881 </td></tr></table>
    882 </div>
    883 <a name="prologue_size"></a>
    884 <div>
    885 <table class="details" border="1" cellpadding="3"
    886        cellspacing="0" width="100%" bgcolor="white">
    887 <tr><td>
    888   <h3 class="epydoc">prologue_size</h3>
    889   <p>A read only property that returns the size in bytes of the prologue 
    890   instructions as an unsigned integer.</p>
    891   <dl class="fields">
    892     <dt>Get Method:</dt>
    893     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetPrologueByteSize" class="summary-sig-name">GetPrologueByteSize</a>(<span class="summary-sig-arg">self</span>)</span>
    894         - GetPrologueByteSize(SBFunction self) -&gt; uint32_t
    895     </dd>
    896   </dl>
    897 </td></tr></table>
    898 </div>
    899 <a name="type"></a>
    900 <div>
    901 <table class="details" border="1" cellpadding="3"
    902        cellspacing="0" width="100%" bgcolor="white">
    903 <tr><td>
    904   <h3 class="epydoc">type</h3>
    905   <p>A read only property that returns an lldb object that represents the 
    906   return type (lldb.SBType) for this function.</p>
    907   <dl class="fields">
    908     <dt>Get Method:</dt>
    909     <dd class="value"><span class="summary-sig"><a href="lldb.SBFunction-class.html#GetType" class="summary-sig-name">GetType</a>(<span class="summary-sig-arg">self</span>)</span>
    910         - GetType(SBFunction self) -&gt; SBType
    911     </dd>
    912   </dl>
    913 </td></tr></table>
    914 </div>
    915 <br />
    916 <!-- ==================== NAVIGATION BAR ==================== -->
    917 <table class="navbar" border="0" width="100%" cellpadding="0"
    918        bgcolor="#a0c0ff" cellspacing="0">
    919   <tr valign="middle">
    920 
    921   <!-- Tree link -->
    922       <th>&nbsp;&nbsp;&nbsp;<a
    923         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    924 
    925   <!-- Index link -->
    926       <th>&nbsp;&nbsp;&nbsp;<a
    927         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
    928 
    929   <!-- Help link -->
    930       <th>&nbsp;&nbsp;&nbsp;<a
    931         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    932 
    933   <!-- Project homepage -->
    934       <th class="navbar" align="right" width="100%">
    935         <table border="0" cellpadding="0" cellspacing="0">
    936           <tr><th class="navbar" align="center"
    937             ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
    938           </tr></table></th>
    939   </tr>
    940 </table>
    941 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
    942   <tr>
    943     <td align="left" class="footer">
    944     Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013
    945     </td>
    946     <td align="right" class="footer">
    947       <a target="mainFrame" href="http://epydoc.sourceforge.net"
    948         >http://epydoc.sourceforge.net</a>
    949     </td>
    950   </tr>
    951 </table>
    952 
    953 <script type="text/javascript">
    954   <!--
    955   // Private objects are initially displayed (because if
    956   // javascript is turned off then we want them to be
    957   // visible); but by default, we want to hide them.  So hide
    958   // them unless we have a cookie that says to show them.
    959   checkCookie();
    960   // -->
    961 </script>
    962 </body>
    963 </html>
    964