<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>macholib.SymbolTable — Class to read the symbol table from a Mach-O header — macholib 1.7 documentation</title> <link rel="stylesheet" href="_static/nature.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: './', VERSION: '1.7', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="macholib 1.7 documentation" href="index.html" /> <link rel="next" title="macholib.dyld — Dyld emulation" href="dyld.html" /> <link rel="prev" title="macholib.MachOStandalone — Create standalone application bundles" href="MachoOStandalone.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="dyld.html" title="macholib.dyld — Dyld emulation" accesskey="N">next</a> |</li> <li class="right" > <a href="MachoOStandalone.html" title="macholib.MachOStandalone — Create standalone application bundles" accesskey="P">previous</a> |</li> <li><a href="index.html">macholib 1.7 documentation</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="module-macholib.SymbolTable"> <span id="macholib-symboltable-class-to-read-the-symbol-table-from-a-mach-o-header"></span><h1><a class="reference internal" href="#module-macholib.SymbolTable" title="macholib.SymbolTable: Class to read the symbol table from a Mach-O header"><tt class="xref py py-mod docutils literal"><span class="pre">macholib.SymbolTable</span></tt></a> — Class to read the symbol table from a Mach-O header<a class="headerlink" href="#module-macholib.SymbolTable" title="Permalink to this headline">¶</a></h1> <p>This module is deprecated because it is not by the author and likely contains bugs. It also does not work for 64-bit binaries.</p> <dl class="class"> <dt id="macholib.SymbolTable.SymbolTable"> <em class="property">class </em><tt class="descclassname">macholib.SymbolTable.</tt><tt class="descname">SymbolTable</tt><big>(</big><em>macho</em><span class="optional">[</span>, <em>openfile</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#macholib.SymbolTable.SymbolTable" title="Permalink to this definition">¶</a></dt> <dd><p>Reads the SymbolTable for the given Mach-O object.</p> <p>The option argument <em>openfile</em> specifies the function to use to open the file, defaulting to the builtin <a class="reference external" href="http://docs.python.org/library/functions.html#open" title="(in Python v2.7)"><tt class="xref py py-func docutils literal"><span class="pre">open()</span></tt></a> function.</p> <div class="admonition warning"> <p class="first admonition-title">Warning</p> <p>As far as we know this class is not used by any user of the modulegraph package, and the code has not been updated after the initial implementation.</p> <p class="last">The end result of this is that the code does not support 64-bit code at all and likely doesn’t work properly for 32-bit code as well.</p> </div> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="MachoOStandalone.html" title="previous chapter"><tt class="docutils literal"><span class="pre">macholib.MachOStandalone</span></tt> — Create standalone application bundles</a></p> <h4>Next topic</h4> <p class="topless"><a href="dyld.html" title="next chapter"><tt class="docutils literal"><span class="pre">macholib.dyld</span></tt> — Dyld emulation</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/SymbolTable.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="dyld.html" title="macholib.dyld — Dyld emulation" >next</a> |</li> <li class="right" > <a href="MachoOStandalone.html" title="macholib.MachOStandalone — Create standalone application bundles" >previous</a> |</li> <li><a href="index.html">macholib 1.7 documentation</a> »</li> </ul> </div> <div class="footer"> © Copyright 2010-2011, Ronald Oussoren. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.1. </div> </body> </html>