Overview
========

**lddot** prints ELF shared library dependencies in Graphviz_ format.

.. _Graphviz: https://www.graphviz.org/

Security
--------

**lddot** uses ldd_ under the hood,
and therefore might not be secure when used on untrusted input.

.. _ldd: http://man7.org/linux/man-pages/man1/ldd.1.html

Example
-------

.. code:: console

   $ lddot $(command -v bash) | graph-easy --as boxart

                       ┌────────────────────────────────────────────────────┐
                       │                                                    │
                       │                                                    │
     ┌─────────────────┼────────────────────────────┐                       │
     │                 │                            ∨                       ∨
   ┌───────────┐     ┌──────────────────────┐     ┌─────────────────┐     ┌────────────────┐     ┌───────────────┐
   │ /bin/bash │ ──> │ /lib/libncurses.so.5 │ ──> │ /lib/libdl.so.2 │ ──> │ /lib/libc.so.6 │ ──> │ ld-linux.so.2 │
   └───────────┘     └──────────────────────┘     └─────────────────┘     └────────────────┘     └───────────────┘
     │                                              │                       ∧                      ∧
     └──────────────────────────────────────────────┼───────────────────────┘                      │
                                                    │                                              │
                                                    │                                              │
                                                    └──────────────────────────────────────────────┘

Prerequisites
=============

* Python ≥ 3.2
* GNU libc
* GNU binutils

.. vim:ts=3 sts=3 sw=3 et ft=rst
