Navigation:

Valid XHTML 1.1
Valid CSS!

Depspec

Useful Links:

a screenshot of depspec with the gtk+2 ui on linux, the dependency tree of gmpc is shown on the left with libcurl.so.3 selected in the tree, on the right the tab bar shows Imported/Exports options with the Imported tab selected, so the list on the right is showing the functions that gmpc uses from libcurl.so.3 a screenshot of depspec with the qt4 ui on linux
a screenshot of depspec with the gtk+2 ui on windows

Depspec is a small program written in Python that allows you to view a Binaries Dependencies (and symbols that it exports/imports from deps), currently it supports ELF (via marienz'es elf.py) and PE (via. diSlib64). also planned is UT package files (using the parser I wrote) and while it's not really a binary format gentoo ebuilds.

Depspec is highly modeled after Dependency Walker, and was initially made as a linux-compatable alternative to it, however currently it doesn't have all the features and doesn't integrate in windows as well as dependency walker (would like to fill out most of the features, but some things (symbol demangling fex.) are a bit hard).

Requirements

depspec's code has gotten pretty old at this point and it can be tricky to pick up the dependencies on modern systems, I'm planning on either rewriting it in in rust or updading to python 3.x and gobject-introspection fairly soon. you might want to wait for that if you're using a modern OS that doesn't have the older packages listed here, hopefully editing this page is the kick in the pants I need to finish up the port

That said though to currently run depspec you'll need Python 2.5-2.7, tfplib (fetching included in the instructions below), and either:

if you're using windows pywin32 is also needed.

Downloading

you'll need subversion (svn) and breezy (brz) to download tfplib + depspec, after you have them you can run the following commands to checkout tfplib and depspec:

svn checkout svn://gpio.ca/tfplib/trunk tfplib
# for the launchpad mirror
brz branch lp:~tfkyle/depspec/multi-frontend
# or directly from my server
brz branch http://bzr.gpio.ca/~kyle/depspec/multi-frontend

Installing

for a premade windows binary see see Packages

if there's no Package or Standalone Binary for your OS/Distro or you want to hack on depspec you'll need to install depspec and tfplib manually.

Both tfplib and depspec use distutils so there's a couple straight-forward ways to install them, you can either:

Packages

There's an older pre-built windows build here, it's fairly old -- from before I added the info tab, but it works for running on older windows systems without having to find a bunch of dependencies.

Contact

feel free to join #init or /query me directly on irc.libera.chat (nick: TFKyle) if you want to ask me any questions, discuss code or anything. Also, you can submit bugs, ask questions, submit feature requests (blueprints) and submit translations at the launchpad project for depspec.

Similar Tools