Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwilk/lddot
print ELF shared library dependencies in Graphviz format
https://github.com/jwilk/lddot
Last synced: about 1 month ago
JSON representation
print ELF shared library dependencies in Graphviz format
- Host: GitHub
- URL: https://github.com/jwilk/lddot
- Owner: jwilk
- License: mit
- Created: 2015-07-02T10:35:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T06:45:08.000Z (8 months ago)
- Last Synced: 2024-08-09T00:22:18.307Z (5 months ago)
- Language: Python
- Homepage: https://jwilk.net/software/lddot
- Size: 82 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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: https://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.7
* GNU libc
* GNU binutils.. vim:ts=3 sts=3 sw=3 et ft=rst