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:
The same example, but simplified by a transitive reduction from graphviz's tred tool:
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