fts_depends

Crates.iofts_depends
lib.rsfts_depends
version0.0.2
sourcesrc
created_at2022-10-15 22:12:38.623681
updated_at2022-10-22 22:50:44.504187
descriptionCLI to recursively query binary dependencies .
homepagehttps://github.com/forrestthewoods/fts_depends
repositoryhttps://github.com/forrestthewoods/fts_depends
max_upload_size
id689167
size139,809
Forrest Smith (forrestthewoods)

documentation

https://github.com/forrestthewoods/fts_depends

README

fts_depends

fts_depends is a Rust command line tool for printing recursive binary dependencies.

It's similar to Dependency Walker but much faster. Under the hood it recursively calls dumpbin.exe.

Usage

Basic Usage: fts_depends.exe path/to/bin.exe

Tree View: fts_depends.exe path/to/bin.exe --tree-print

If a dependency can't be located then it displays a clear ⚠️ Not Found ⚠️ message like this:

Installation

Download from Releases or run cargo install fts_depends.

fts_depends.exe requires dumpbin.exe, which is typically installed with Visual Studio. If you installed Visual Studio into default location then dumpbin.exe with be discovered automatically. Otherwise its location can be specified via --dumpbin path/to/dumpbin.exe.

Limitations

fts_depends is basically a wrapper around dumpbin.exe. It doesn't actually load any libraries. This makes it fast but less precise. Many programs and launcher scripts do horrible things to their PATH. This tool doesn't know about those runtime paths so it may report a dependency as missing when it would be found.

That said, the primary motivation behind this tool is to debug why a library will fail to load. It serves that purpose well enough.

Commit count: 14

cargo fmt