Crates.io | fts_depends |
lib.rs | fts_depends |
version | 0.0.2 |
source | src |
created_at | 2022-10-15 22:12:38.623681 |
updated_at | 2022-10-22 22:50:44.504187 |
description | CLI to recursively query binary dependencies . |
homepage | https://github.com/forrestthewoods/fts_depends |
repository | https://github.com/forrestthewoods/fts_depends |
max_upload_size | |
id | 689167 |
size | 139,809 |
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
.
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:
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
.
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.