Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

Overview

lddot prints ELF shared library dependencies in Graphviz format.

Security

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

Example

$ 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

About

print ELF shared library dependencies in Graphviz format

Resources

License

Packages

No packages published
You can’t perform that action at this time.