.. pylibelf documentation master file, created by
   sphinx-quickstart on Thu Mar 18 16:31:29 2010.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

The :mod:`pylibelf` package
===========================

.. toctree::
   :maxdepth: 2

   libelf
   elf
   elf_constants


.. settings:

Settings
--------
You can set settings by importing the :mod:`pylibelf` package
and directly overriding the settings of the ``settings`` object. You can also
replace the settings object with your own object. The ``Settings`` class
contains all the default settings.

Here is an example::
    
    import pylibelf
    from pylibelf import elf
    elf.settings.sanestr = True # don't pretty print by default
    elf.settings.mask = elf.PrettifyMask(classes=(libelf.Section,)) # don't show sections by default when pretty printing

