Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1012 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 1012 Bytes

Plot ELF library dependencies using graphviz.

ELF libraries declare dependencies on other ELF libraries. This tool extracts these dependencies using objdump and writes a dot-based representation of the dependency graph to stdout. This output can then be piped into graphviz's dot tool for conversion to svg or pdf etc.

An example of the output from this tool:

example of output

The same example, but simplified by a transitive reduction from graphviz's tred tool:

example of output piped through tred

For more details on using the tool, run:

bin/elf-dependencies --help

To use this tool, you need to have the following installed:

  • ruby
  • objdump
  • graphviz