lddot prints ELF shared library dependencies in Graphviz format.
lddot uses ldd under the hood, and therefore might not be secure when used on untrusted input.
$ 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 │
└───────────┘ └──────────────────────┘ └─────────────────┘ └────────────────┘ └───────────────┘
│ │ ∧ ∧
└──────────────────────────────────────────────┼───────────────────────┘ │
│ │
│ │
└──────────────────────────────────────────────┘
- Python ≥ 3.7
- GNU libc
- GNU binutils